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

asked 2014-10-06 04:58:54 -0600

Dushyant Gupta gravatar image

updated 2014-10-06 06:57:06 -0600

Hi, I have recently setup openstack icehouse with a few services. I have following yaml heat template to create a stack.

test.yaml :--

heat_template_version: 2013-05-23


 type: OS::Glance::Image
  disk_format: qcow2
  container_format: bare
  id: file1

But whenever I am creating the stack using:

heat stack-create -f test.yaml mystack

the stack creation fails with the following error:--

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

What's going wrong and how can I solve this problem?

PS: Earlier, when i ran the command "heat stack-create" , I was getting the error

unknown resource type OS::Glance::Image

as the resource type OS::Glance::Image was not listed in the command "heat resource-type-list",
which I resolved by uncommenting the "plugin_dirs" attribute in /etc/heat/heat.conf file and pasting the "" file in the /usr/lib/heat directory which I created and defined in the heat.conf file.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-06 08:24:03 -0600

zaneb gravatar image

It looks like a problem with the python-glanceclient version. If you have the latest version of it installed on the box where heat-engine is running, then please raise a bug against Heat.

edit flag offensive delete link more


Thanks for answer. I have installed glance using this documentation, and I am also able to create image using the example given in it. So, should the glance be a problem?

Dushyant Gupta gravatar imageDushyant Gupta ( 2014-10-07 00:39:43 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-10-06 04:58:54 -0600

Seen: 727 times

Last updated: Oct 06 '14