Revision history [back]

click to hide/show revision 1
initial version

Heat OS::Image::Glance copy option?

We are using Heat to deploy a multi-instance application which includes a Glance image. At the time the application stack is launched, the image exists in a separate instance deployed to install the application. This installer instance will disappear after the application is successfully installed. However, the Image needs to remain for future use. Unfortunately, there appears to be no way to use the Heat OS::Image::Glance resource to copy the image into the Glance image store, it only stores the URL (as in using --location instead of --copy-from on the CLI). Naturally, once the installer instance is gone, the URL stored in Glance is no longer valid, so access to the Image is lost.

Is there a workaround for this? Is there another Glance image resource definition available that includes the copy option?

I'm curious, why was the copy option omitted from the resource definition in the first place?

We're on Kilo, working with both RDO and OSP.