Tuesday, 15 June 2010

yaml - Create_Failed: Resource CREATE failed: AttributeError: 'GlanceImage' object has no attribute 'glance' -



yaml - Create_Failed: Resource CREATE failed: AttributeError: 'GlanceImage' object has no attribute 'glance' -

i have setup openstack icehouse few services. have next yaml heat template create stack.

test.yaml :--

heat_template_version: 2013-05-23 resources: file1: type: os::glance::image properties: disk_format: qcow2 container_format: bare id: file1 location: http://cdn.download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img

but whenever creating stack using:

heat create-stack -f test.yaml mystack

the stack creation fails next error:--

create_failed: resource create failed: attributeerror: 'glanceimage' object has no attribute 'glance'

what's going wrong , how can solve problem?

you referring attribute don't exists.

follow link , check properties , attributes used in heat stack objects:

http://pocentek.net/~gauvain/heat-template-guide/content/

hope help you.

yaml openstack openstack-heat

No comments:

Post a Comment