Created 03-13-2017 07:24 PM
I installed cloud controller and created a stack by choosing a Cluster Type from HDC UI. I do see the blueprint name on HDC UI whichever I selected. How can I find the same info via cloudbreak shell?
Created 03-16-2017 09:42 AM
hi @dbalasundaran,
stack list stack select --id ... cluster show # This will give you a blueprintId blueprint show --id ...
Created 03-13-2017 07:40 PM
As per the below cloudbreak documentation, you can use below commands in shell to see the blueprint information.
To see the available blueprints and use one of them:
blueprint list
then select one of the created blueprints
blueprint select --id <ID of the blueprint>
or
blueprint select --name <Name of the blueprint>
references:
Created 03-13-2017 07:43 PM
Thanks @Ayub Khan. This helps me get the list of all blueprints and choosing a blueprint for deployment. But if a deployment is completed how can I see the blueprint name used to deploy that stack?
Created 03-13-2017 08:42 PM
As you have mentioned in your question, that you can see the blueprint name used from the HDC UI. You can check for the blueprint name in the above list command output or use name in the blueprint show command. Hope this helps.
Created 03-16-2017 09:51 AM
Does this answer your question?
Created 03-16-2017 09:27 PM
i can see it from HDC UI. but i wanted to get the same from cloudbreak shell too. I want to select a stack from shell and see which is the blueprint used by that stack. I will bring up a cluster and try the steps mentioned by @bbihari below and respond.
Created 03-16-2017 09:42 AM
hi @dbalasundaran,
stack list stack select --id ... cluster show # This will give you a blueprintId blueprint show --id ...
Created 03-16-2017 11:36 PM
thanks @bbihari. this works!