heat: WikiDatabase: ImageId "" does not validate glance.image

asked 2014-03-16 16:37:17 -0500

diegolopez gravatar image

I tried to launch a stack with heat, like this:

heat stack-create teststac -u https://raw.github.com/openstack/heat-templates/master/cfn/F17/WordPress_Single_Instance.template (https://raw.github.com/openstack/heat...) -P "DBUsername=wp;DBPassword=verybadpassword;KeyName=heat_key;LinuxDistribution=F17"

ERROR: Property error : WikiDatabase: ImageId "F17-x86_64-cfntools" does not validate glance.image

But when I saw the images, it seemed to be OK:

glance image-list +--------------------------------------+---------------------+-------------+------------------+-----------+----------------------------+ | ID | Name | Disk Format | Container Format | Size | Status | +--------------------------------------+---------------------+-------------+------------------+-----------+----------------------------+ | e8a3f8a7-1a5e-49b1-a5fa-3a7a7dd10894 | F17-x86_64-cfntools | qcow2 | bare | 476704768 | active | +--------------------------------------+---------------------+-------------+------------------+-----------+-----------------------------+

I tried to change F17-x86_64-cfntools for the ID e8a3f8a7-1a5e-49b1-a5fa-3a7a7dd10894 in the template, but the error persists.

I'm using Devstack, and I follow this doc: http://docs.openstack.org/developer/heat/getting_started/on_devstack.html#preparing-nova-for-running-stacks (http://docs.openstack.org/developer/h...)

Any idea?

edit retag flag offensive close merge delete


Can you please do a git pull on the heat repository, then restart devstack and confirm whether you still have this issue?

Steve Baker gravatar imageSteve Baker ( 2014-04-13 23:14:21 -0500 )edit

I built my Openstack today using latest git repo. I am still getting the same error while creating a HEAT STack.

DatabaseServer: ImageId "F17-x86_64-cfntools" does not validate glance.image

Anil17 gravatar imageAnil17 ( 2014-04-17 23:29:06 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-04-18 00:14:45 -0500

Anil17 gravatar image

glance image-create --name F17-x86_64-cfntools --disk-format qcow2 --container-format bare --is-public True --copy-from http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F17-x86_64-cfntools.qcow2 (http://fedorapeople.org/groups/heat/p...)

This step will fix the above issue.

edit flag offensive delete link more


So, this one fixed it?

alexandru.bujor gravatar imagealexandru.bujor ( 2014-06-08 17:26:45 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-03-16 16:37:17 -0500

Seen: 650 times

Last updated: Apr 18 '14