[Openstack-operators] Fwd: RE: Glance Image Upload error

Tzach Shefi tshefi at redhat.com
Thu Sep 18 15:01:30 UTC 2014


Enable Glance debug :) 
1. vim /etc/glance/glance-api.conf   -> debug=True   (by default its #remarked and set to false)
2. Save file
3. Restart glance and try to upload image again 
4. Check log (/var/log/glance/api.log) look for error or trace, if you wish email the log output. 

Other general points to check:
1. Did you try to upload other images (sizes/formats)?
2. Try something simple:  glance image-create --disk-format qcow2 --container-format bare --file cirros-0.3.2-x86_64-disk.img 
3. Adding debug switch ->    glance --debug image-create --disk-format qcow2 --container-format bare --file cirros-0.3.2-x86_64-disk.img     (don't worry will return lots of "stuff" but might help)
4. Can you access the source image do you have proper permissions to access to path/file?
5. What happens if you try to upload from Horizon?  

Like Ohad before me asked which backend is Glance using?
Does backend have free space/permissions , it's probably OK but still check it any way.

If possible share your glance-api.conf maybe we can spot a config error. 

BTW which Openstack/Glance version are you using? 

Best of luck 

----- Original Message -----
From: mohib at qmail.com.bd
To: openstack-operators at lists.openstack.org
Sent: Thursday, September 18, 2014 10:58:30 AM
Subject: [Openstack-operators] Fwd: RE:  Glance Image Upload error


I am facing glance image upload problem on open stack installation in OpenSuse 13.1. When i run ontroller:/tmp/images # glance image-create --name "cirros-0.3.2-x86_64" --disk-format qcow2 \ 
> --container-format bare --is-public True --progress < cirros-0.3.2-x86_64-disk.img 
[==> ] 8%Error communicating with http://controller:9292 timed out 

Please help me . How can i solve this problem 

Thanks All 

OpenStack-operators mailing list
OpenStack-operators at lists.openstack.org

More information about the OpenStack-operators mailing list