Welcome to Cloudbreak Shell. For command and param completion press TAB, for assistance type 'hint'.
cloudbreak-shell>recipe list
ID INFO
90182 gcs-recipe
cloudbreak-shell>hint
Hint: Create a new credential with the 'credential create' command or select an existing one with 'credential select'
cloudbreak-shell>credential select --id 1035420
Credential selected, id: 1035420
cloudbreak-shell>hint
Hint: Add a blueprint with the 'blueprint add' command or select an existing one with 'blueprint select'
cloudbreak-shell>blueprint select --id 3215
Blueprint has been selected, id: 3215
cloudbreak-shell>hint
Hint: Configure instancegroups with the 'instancegroup configure' command
cloudbreak-shell>instancegroup configure --instanceGroup host_group_master_1 --nodecount 1 --templateId 4863
instanceGroup templateId nodeCount type
cloudbreak-shell>hint
Hint: Configure hostgroups with the 'hostgroup configure' command
cloudbreak-shell>network select --id 1950
Network is selected with id: 1950
cloudbreak-shell>security group select --id 3809
Security group has been selected with id: 3809
cloudbreak-shell>hint
Hint: Create a stack based on a template with the 'stack create' command
cloudbreak-shell>stack create --name mystack
Command 'stack create --name mystack' was found but is not currently available (type 'help' then ENTER to learn about this command)
cloudbreak-shell>stack create --name mystack --region us-central-1a
Command 'stack create --name mystack --region us-central-1a' was found but is not currently available (type 'help' then ENTER to learn about this command)
I was able to get past this by adding cbgateway instancegroup and hostname.
However the cbshell is hard to use specially the order in which commands need to be executed is not clear.
Below is what I am doing but it is not working. What am I doing wrong ?
/ || | | || | | | **/ | | | __ | || | | | | | / \ | | | | / ` || ' \ | '| / \ / ` || |/ /_ \ | ' \ / | || | | |__ | || () || || || (| || |_) || | | /| (_| || < ) || | | || /| || | **||| / ,| ,||./ || | ,|||_|__/ || || __||||_|
Welcome to Cloudbreak Shell. For command and param completion press TAB, for assistance type 'hint'. cloudbreak-shell>recipe list ID INFO
90182 gcs-recipe
cloudbreak-shell>hint Hint: Create a new credential with the 'credential create' command or select an existing one with 'credential select' cloudbreak-shell>credential select --id 1035420 Credential selected, id: 1035420 cloudbreak-shell>hint Hint: Add a blueprint with the 'blueprint add' command or select an existing one with 'blueprint select' cloudbreak-shell>blueprint select --id 3215 Blueprint has been selected, id: 3215 cloudbreak-shell>hint Hint: Configure instancegroups with the 'instancegroup configure' command cloudbreak-shell>instancegroup configure --instanceGroup host_group_master_1 --nodecount 1 --templateId 4863 instanceGroup templateId nodeCount type
host_group_master_1 4863 1 CORE
cloudbreak-shell>instancegroup configure --instanceGroup host_group_master_2 --nodecount 1 --templateId 4863 instanceGroup templateId nodeCount type
host_group_master_1 4863 1 CORE host_group_master_2 4863 1 CORE
cloudbreak-shell>instancegroup configure --instanceGroup host_group_master_3 --nodecount 1 --templateId 4863 instanceGroup templateId nodeCount type
host_group_master_1 4863 1 CORE host_group_master_2 4863 1 CORE host_group_master_3 4863 1 CORE
cloudbreak-shell>instancegroup configure --instanceGroup host_group_client_1 --nodecount 1 --templateId 4863 instanceGroup templateId nodeCount type
host_group_master_1 4863 1 CORE host_group_master_2 4863 1 CORE host_group_master_3 4863 1 CORE host_group_client_1 4863 1 CORE
cloudbreak-shell>instancegroup configure --instanceGroup host_group_slave_1 --nodecount 1 --templateId 4863 instanceGroup templateId nodeCount type
host_group_master_1 4863 1 CORE host_group_master_2 4863 1 CORE host_group_master_3 4863 1 CORE host_group_client_1 4863 1 CORE host_group_slave_1 4863 1 CORE
cloudbreak-shell>hint Hint: Configure hostgroups with the 'hostgroup configure' command cloudbreak-shell>hostgroup configure --hostgroup host_group_master_1 --recipeNames gcs-recip Recipe [gcs-recip]: {message=Recipe 'gcs-recip' not found.} cloudbreak-shell>hostgroup configure --hostgroup host_group_master_1 --recipeNames gcs-recipe hostgroup instanceGroupName recipeIds
host_group_master_1 host_group_master_1 [90182] host_group_master_2 host_group_master_2 [] host_group_master_3 host_group_master_3 [] host_group_client_1 host_group_client_1 [] host_group_slave_1 host_group_slave_1 []
cloudbreak-shell>hostgroup configure --hostgroup host_group_master_2 --recipeNames gcs-recipe hostgroup instanceGroupName recipeIds
host_group_master_1 host_group_master_1 [90182] host_group_master_2 host_group_master_2 [90182] host_group_master_3 host_group_master_3 [] host_group_client_1 host_group_client_1 [] host_group_slave_1 host_group_slave_1 []
cloudbreak-shell>hostgroup configure --hostgroup host_group_master_3 --recipeNames gcs-recipe hostgroup instanceGroupName recipeIds
host_group_master_1 host_group_master_1 [90182] host_group_master_2 host_group_master_2 [90182] host_group_master_3 host_group_master_3 [90182] host_group_client_1 host_group_client_1 [] host_group_slave_1 host_group_slave_1 []
cloudbreak-shell>hostgroup configure --hostgroup host_group_client_1 --recipeNames gcs-recipe hostgroup instanceGroupName recipeIds
host_group_master_1 host_group_master_1 [90182] host_group_master_2 host_group_master_2 [90182] host_group_master_3 host_group_master_3 [90182] host_group_client_1 host_group_client_1 [90182] host_group_slave_1 host_group_slave_1 []
cloudbreak-shell>hostgroup configure --hostgroup host_group_slave_1 --recipeNames gcs-recipe hostgroup instanceGroupName recipeIds
host_group_master_1 host_group_master_1 [90182] host_group_master_2 host_group_master_2 [90182] host_group_master_3 host_group_master_3 [90182] host_group_client_1 host_group_client_1 [90182] host_group_slave_1 host_group_slave_1 [90182]
cloudbreak-shell>hint Hint: Configure hostgroups with the 'hostgroup configure' command cloudbreak-shell>network select --id 1950 Network is selected with id: 1950 cloudbreak-shell>security group select --id 3809 Security group has been selected with id: 3809 cloudbreak-shell>hint Hint: Create a stack based on a template with the 'stack create' command cloudbreak-shell>stack create --name mystack Command 'stack create --name mystack' was found but is not currently available (type 'help' then ENTER to learn about this command) cloudbreak-shell>stack create --name mystack --region us-central-1a Command 'stack create --name mystack --region us-central-1a' was found but is not currently available (type 'help' then ENTER to learn about this command)