[openstack-dev] Glance hang uploading images
Daniel P. Berrange
berrange at redhat.com
Wed Jan 16 15:19:18 UTC 2013
On Tue, Jan 15, 2013 at 11:53:19AM +0000, McHale, Therese wrote:
> Api log shows:
> >>2013-01-14 18:42:56.18 DEBUG glance.registry.client [ab1e07b0-97fa-4508-96ac-1d6375282271 1947906b9e9f42e7bdfd29c9219fcda0 1e80f28a9dd1425bb905c1192317cfb2]
> >>Registry request PUT /images/f5a9f8c4-b82b-4192-8379-cb4619bff1d6 HTTP 200 request id req-81b04d9c-0672-4b50-b450-9eb3a764bcdc do_request >>/home/berrange/src/cloud/glance/glance/registry/client.py:95
> Looks like the put of the image worked.
> But there is this:
> >>No handlers could be found for logger "qpid.messaging"
> Registry log shows:
> >>2013-01-14 18:42:56.16 INFO glance.registry.api.v1.images [81b04d9c-0672-4b50-b450-9eb3a764bcdc 1947906b9e9f42e7bdfd29c9219fcda0 1e80f28a9dd1425bb905c1192317cfb2] >>Updating metadata for image f5a9f8c4-b82b-4192-8379-cb4619bff1d6
> Looks ok. If you set this in default_log_levels: eventlet.wsgi.server=DEBUG,sqlalchemy.DEBUG I would see more debug, i.e. see the full
> Sql resultset to confirm everything returned ok from sql/see more wsgi output. (This is what was changed in the patch)
> On the qpid/messaging error...were you getting this before the problem?
> I'm not using qpid messaging/just using the defaults in the example conf
> file (e.g. qpid_host=localhost for me as this is what is in the
> Example glance-api.conf, whereas you use - I think correctly based on
> the code - qpid_hostname=localhost, you also have qpid_notificaton_topic=notifications
> Whereas this is set to 'glance_notifications' on my system.)
In anycase the change I bisected to doesn't seem to touch anything
related to messaging.
> If you log a bug for this and add the extra debug there I can look at it there.
That has the glance registry log level increased
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the OpenStack-dev