Thanks Brian. It's great to get an email from Mr. Glance. I managed to patch Devstack, and a first test was successful. Perfect! A bit late, I then found numerous warnings in release notes and other documents that UWSGI should not be used when deploying Glance. My earlier web searches flew by these documents without noticing them. Bernd On 11/12/2018 11:27 PM, Brian Rosmaita wrote: > On 11/12/18 5:07 AM, Bernd Bausch wrote: >> Trying Glance's new import process, my images are all stuck in status >> uploading (both methods glance-direct and web-download). >> >> I can see that there are tasks for those images; they are pending. The >> Glance API log doesn't contain anything that clues me in (debug logging >> is enabled). >> >> The source code is too involved for my feeble Python and OpenStack >> Internals skills. >> >> *How can I find out what blocks the tasks? * >> >> This is a stable Rocky Devstack without any customization of the Glance >> config. >> > The tasks engine Glance uses to facilitate the "new" (experimental in > Pike, current in Queens) image import process does not work when Glance > is deployed as a WSGI application using uWSGI [0]; as you observed, the > tasks remain stuck in 'pending'. You can apply this patch [1] to your > devstack Glance and restart devstack at g-api and image import should work > without additional glance api-changes (the patch applied cleanly last > time I checked, which was a Stein-1 milestone devstack; it should apply > cleanly to your stable Rocky devstack). You may also want to take a > look at the Glance admin guide [2] to see what configuration options are > available. > > [0] > https://docs.openstack.org/releasenotes/glance/queens.html#relnotes-16-0-0-stable-queens-known-issues > [1] https://review.openstack.org/#/c/545483/ > [2] > https://docs.openstack.org/glance/latest/admin/interoperable-image-import.html > >> _______________________________________________ >> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : openstack at lists.openstack.org >> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack at lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3609 bytes Desc: S/MIME Cryptographic Signature URL: <http://lists.openstack.org/pipermail/openstack/attachments/20181113/ed502b1c/attachment.bin>