Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Solved Go to solution
Highlighted

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

Accepted Solutions

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

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

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

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

Highlighted

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

Expert Contributor

3 host groups
cbd-shell --> version 1.6.13

Highlighted

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

Expert Contributor

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

Highlighted

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

Expert Contributor

Thank you that was totally it.

Don't have an account?
Coming from Hortonworks? Activate your account here