- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How do i find the blueprint used for a stack from cloudbreak shell?
- Labels:
-
Hortonworks Cloudbreak
Created 03-13-2017 07:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does this answer your question?
Created 03-16-2017 09:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks @bbihari. this works!
