Ask Your Question

heat stack instance names

asked 2015-11-19 12:06:05 -0500

tictoc gravatar image

updated 2016-02-01 11:12:48 -0500

zaneb gravatar image

Where does Openstack get the heat stack instance names from? In the past I have used the

type: OS::Nova::Server
  name: vm-name #<——— set it here
  image: image-name

Is there another way to do this for multiple servers?

edit retag flag offensive close merge delete


I'd like to know about this too..

rpga95 gravatar imagerpga95 ( 2015-12-14 08:39:47 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2016-02-01 11:13:55 -0500

zaneb gravatar image

You can set the server name with the "name" property as you've demonstrated; if it's not supplied then Heat will generate a random unique name based on the stack name.

edit flag offensive delete link more


parameters: port-name: <== type: string

resources: port-details: properties: name: { get_param: port-name } <=== network: { get_param: network-name }

How we can make "port-name" as optional. If user dont provide "port-name" then take any random name ?

pbandark gravatar imagepbandark ( 2017-03-05 05:03:35 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-11-19 12:06:05 -0500

Seen: 1,589 times

Last updated: Feb 01 '16