[Openstack] How to add vms to heat stack?

Richard Raseley richard at raseley.com
Thu Mar 5 14:57:03 UTC 2015


jupiter wrote:
> Is there anyway to force heat to use existing VMs name, or to add
> existing VMs to heat stack?
Jupiter,

As far as I know, there is no way to make Heat 'aware' of instances
created via an out-of-band (from it's perspective) operation. To be
managed by Heat, all resources must be defined in the stack. Of course,
once you have those resources in the stack you can use 'stack-update' to
modify / add to them.

If you're looking for a way to get existing instances into a Heat stack,
then you could create an image from a running instance and then specify
that as the source image for new VMs being provisioned within the stack.
That may or may not work for your purposes, but just an idea.

Regards,

Richard Raseley

SysOps Engineer
Puppet Labs

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 560 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150305/a08b141d/attachment.sig>


More information about the Openstack mailing list