[openstack-dev] Fw: [Heat] Enhancement on addition to heat template with glance

Steven Hardy shardy at redhat.com
Tue Jan 13 11:30:31 UTC 2015


On Tue, Jan 13, 2015 at 03:33:09PM +0530, Anusha Rayani wrote:
>    Hello All,
> 
>    I would like to implement glance image upload based on the path given from
>    the HOT template.

You may need to provide more details - heat already accepts a location
property?

https://github.com/openstack/heat/blob/master/heat/engine/resources/glance_image.py#L97

If you have an image locally, you probably need to either make it available
via a web server or upload it to swift, then pass the URL to heat.

It doesn't really make sense to upload the entire image via heat from a
local path, if that's what you mean?

Steve



More information about the OpenStack-dev mailing list