Git Product home page Git Product logo

cluster's Introduction

This repo is no longer supported. It relies on deprecated modules (AzureRM) and has been superceded by newer technologies, like Azure Deployment Manager.

cluster's People

Contributors

chriskuech avatar microsoftopensource avatar msftgits avatar zachchilders avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cluster's Issues

Resource deletion should acquire lock with helper function

To avoid accidental deletion of parent nodes, [ClusterResourceGroup]::Create() should lock a resource group when it is created. Cluster should also implement [ClusterResourceGroup]::Delete() that deletes a resource group and all its descendants in parallel, abstracting away all locks.

No good error message if no config is found

Either some pre-deployment validation is required in Cluster::PublishConfiguration or Publish-ClusterConfiguration should remove the default value for DefinitionsContainer parameter

ATM

Azure Traffic Manager integration should be supported out of the box

Errors that occur after submission to ARM will never bubble up

It's possible for a deployment to succeed in the console, then fail validation immediately in the Azure RM system.

Repro: Choose a VM size not available in a region and attempt to deploy it. As internal users, this is any VM in West US 2.

Perhaps some prevalidation can occur?

Intuitive naming

Right now, storage accounts and key vault names are completely random at all levels. It would be nice if it would reflect at what level of the topology hierarchy it exists at, and make it much easier to find in azure portal.

PropagateBlobs runs O(N) instead of O(1)

ClusterResourceGroup::PropagateBlobs(...) should use ClusterResourceGroup::GetDescendants() to propagate all blobs in parallel instead of iterating across each child after the parallel copy

Types.ps1 needs comments

Much of the code is uncommented and it is not immediately apparent what it's function is.
Example:

 [Cluster] NewChildCluster() {
        $indexes = ($this.GetChildren() | % {[Cluster]::new($_)}).Index
        for ($index = 0; $index -in $indexes; $index++) {}
        $cluster = [Cluster]::new("$this-$index")
        $cluster.Create()
        return $cluster
    }

Error message reasons are hidden

New-AzureRmResoureGroupDeployment throws multiple errors in an ArrayList that serialize to Conflict, losing the underlying messages of each error. No iterables should be thrown--they should all be unwrapped into an AggregateException

Multiple error occurred: Conflict,Conflict,Conflict,Conflict,Conflict. Please see details.
At C:\Program Files\WindowsPowerShell\Modules\CLuster\0.1.3\Types.ps1:483 char:13
+             throw $deploymentErrors
+             ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (System.Collections.ArrayList:ArrayList) [], RuntimeException
    + FullyQualifiedErrorId : Multiple error occurred: Conflict,Conflict,Conflict,Conflict,Conflict. Please see details.

Cmdlet for asserting valid Cluster Service Azure resource structure

Proposed function:

Test-ClusterTopology [-ClusterSet] <ClusterResourceGroup>

Determines whether all required resource groups under/including a ClusterSet exist with the correct resources.

This should catch all cases where a resource group was created but not correctly populated, as well as cases where a parent resource group was deleted while a child exists.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.