[openstack-dev] Glance hang uploading images

McHale, Therese therese.mchale at hp.com
Mon Jan 14 15:33:16 UTC 2013


Hi Daniel,

We've had this in production for sometime (slight different patch on diablo )  and on folsom code base
without issues. (Ubuntu natty and precise)
Is this specific to Fedora 18? (i.e. do you know if it is reproducible on Fedora 16 for
Example?)
The code change reverts a previous change to use multiple wsgi apps for glance (which was a fix for an 
Issue with multiple worker threads) 
Instead it uses one wsgi app but uses one database engine per worker process so that
Database sessions do not become muddled.

Are you saying all uploading fails on Fedora 18 i.e. Glance does not work on Fedora1 17
or that after a certain period it fails.
How many registry, glance api processes are you using and if you set debugging (sql also)
Whats in the logs?

I will be happy to help debug if I can reproduce.

Thanks,

therese


-----Original Message-----
From: Daniel P. Berrange [mailto:berrange at redhat.com] 
Sent: 14 January 2013 14:29
To: openstack-dev at lists.openstack.org
Cc: McHale, Therese
Subject: Glance hang uploading images

Ever since this change went into Glance:

  commit 0e9111ca59ee5e487f23f5db91c6f8c33036410b
  Author: Therese McHale <therese.mchale at hp.com>
  Date:   Thu Dec 13 13:34:19 2012 +0000

    Use one wsgi app, one dbengine worker.

    Return to using one wsgi application but use one database engine
    per worker process.

    Fixes Bug #1089916

    Change-Id: Iea4b1b925208317c3c6ee3c9461b6723f3168405

Devstack will get stuck at uploading images into glance. Debugging shows that the glance services themselves have hung. Even after killing the devstack 'glance' client process, further calls to glance all hang, until the glance services are restarted.

I'm guessing this is not happening to everyone, otherwise this would have been fixed by now. So does anyone have any ideas why this might be happening ?

I'm using Fedora 18 and devstack setup fresh from GIT.

Regards,
Daniel
-- 
|: 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 mailing list