Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

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

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

Expert Contributor

@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

Expert Contributor

@Matt Andruff

How many hostgroup do you have in your blueprint?

Which version of cbd shell are you using ?

Br

R

Expert Contributor

3 host groups
cbd-shell --> version 1.6.13

Expert Contributor

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

Expert Contributor

Thank you that was totally it.