Support Questions

Find answers, ask questions, and share your expertise

Cloudbreak Azure, Can't create stack via CLI following documentation...

avatar
Expert Contributor

I can create everything without issue in the UI but I need to script this...

Here's what I did:

cloudbreak-shell>credential select --id 1
Credential selected, id: 1
cloudbreak-shell>blueprint select --id 10
Blueprint has been selected, id: 10
cloudbreak-shell>instancegroup configure --AZURE --instanceGroup master --nodecount 1 --ambariServer true --securityGroupName internalports --templateName mincanadianeast 
  instanceGroup  templateId  nodeCount  type     securityGroupId  attributes
  -------------  ----------  ---------  -------  ---------------  ----------
  master         4           1          GATEWAY  5                {}

cloudbreak-shell>instancegroup configure --AZURE --instanceGroup worker --nodecount 9 --ambariServer false --securityGroupName internalports --templateName mincanadianeast 
  instanceGroup  templateId  nodeCount  type     securityGroupId  attributes
  -------------  ----------  ---------  -------  ---------------  ----------
  worker         4           9          CORE     5                {}
  master         4           1          GATEWAY  5                {}

cloudbreak-shell>network select --name default-azure-network
Network is selected with name: default-azure-network
cloudbreak-shell>stack create --AZURE --name pilot-2nd-cluster --region "Canada East" --wait true

Command 'stack create --AZURE --name pilot-2nd-cluster --region "Canada East" --wait true' was found but is not currently available (type 'help' then ENTER to learn about this command)

I'm following the documentation pretty closely on the site. Happy to provide any log that may be helpful. Why can't I create a stack?

1 ACCEPTED SOLUTION

avatar
Super Collaborator

@Matt Andruff

How many hostgroup do you have in your blueprint?

Which version of cbd shell are you using ?

Br

R

View solution in original post

4 REPLIES 4

avatar
Super Collaborator

@Matt Andruff

How many hostgroup do you have in your blueprint?

Which version of cbd shell are you using ?

Br

R

avatar
Expert Contributor

3 host groups
cbd-shell --> version 1.6.13

avatar
Super Collaborator

If you have 3 hostgroup then you have to configure 3 instancegroup as well

avatar
Expert Contributor

Thank you that was totally it.