Ask Your Question
0

Heat OS::Image::Glance copy option?

asked 2015-11-09 10:51:16 -0500

abrian gravatar image

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-02-01 11:48:04 -0500

zaneb gravatar image

What makes the installer server disappear? Presumably something external to Heat? Why can't that thing also create the image using the Glance API directly?

There aren't any other versions of the resource AFAIK.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-11-09 10:51:16 -0500

Seen: 439 times

Last updated: Feb 01 '16