Image queued and not created

asked 2018-05-20 05:20:25 -0500

anonymous user

Anonymous

updated 2018-05-20 05:51:52 -0500

Hi We installed Openstack newton and when download an image , go to queued state and not created. then can not upload locally image. and no any log. tnx

edit retag flag offensive close merge delete

Comments

What commands did you issue?

The location of logs depends on how the cloud is configured. A typical location would be /var/log/glance, but if you use DevStack, all logs are probably under /opt/stack/logs.

Bernd Bausch gravatar imageBernd Bausch ( 2018-05-20 09:20:34 -0500 )edit

in /var/log/glance every things is ok. but when use url to download an image by qcow2 format, i faced by below error in horizon: TypeError: Cannot read property 'data' of undefined

hamed gravatar imagehamed ( 2018-05-21 00:15:51 -0500 )edit

and when use a wget for download an image (for example cirros) , it`s done, but by executed bellow command, image go to active state but image size =0 byte show.

openstack image create "cirros" \
  --file cirros-0.3.5-x86_64-disk.img \
  --disk-format qcow2 --container-format bare \
  --public
hamed gravatar imagehamed ( 2018-05-21 00:17:18 -0500 )edit

i install openstack by instruction in below link: https://docs.openstack.org/newton/install-guide-ubuntu/glance-install.html (link)

hamed gravatar imagehamed ( 2018-05-21 00:18:43 -0500 )edit

You say everything is ok in /var/log/glance, but if the cirros image is not copied to /var/lib/glance/images, there should be a log message that explains why. Is there a typo in the [glance_store] section in glance-api.conf? Does this directory exist and is it writable? Is there enough space?

Bernd Bausch gravatar imageBernd Bausch ( 2018-05-21 03:23:32 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-05-24 02:39:27 -0500

eusanka gravatar image

I have hade had this problem in Pike when creating images from Horizon (GUI). It worked by using openstack/glance CLI. To get it to work with Horizon, I implemented the remedy described here: https://bugs.launchpad.net/openstack-ansible/+bug/1730722 (Pike Horizon Image Create Fails).

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-05-20 05:20:25 -0500

Seen: 2,228 times

Last updated: May 20 '18