Hi folks,
I am trying to test out Glance configured with Swift backend on 2026.1 prior to the release, and facing some issues. As we are super close to the release, I have decided to pop up with the ML, to ensure it's a "me" problem, and not a generic bug somewhere.
So I am using:
- Glance installed from SHA 07dd0a203b6883efa66486035c436b92c83da0f3
- glance-store
5.4.0 (according to U-C)
- Swift installed from SHA 51b068309a626d2228ab69b5158ee857e96d101d
Image upload works quite well [1], image is appearing in Glance and in Swift quite correctly.
But whenever I attempt to create an instance from the image, or, basically, just download image with `openstack image save a024ca39-42bc-4a0c-bd34-26209bda4008`,I get Glance WSGI crashing, resulting in 502:
root@aio1-utility-container-20f6bf88:/# openstack image save a024ca39-42bc-4a0c-bd34-26209bda4008
Unable to download image: checksum mismatch (sha512): 9a9bce0083a00939ec17c11febbfc767aa211aaa54f51e75c5a8b271a9b5637c77205a518b7a2007cb391d23cceb01e0e4e8d64832317151bc85b734b92a7be0 != a3b1ae48ab757e1e074c33c3159cb3bc749d0119677446b442
c5568eeaf2a4d741d794ca9750e13c3352b7db073d0f9101670f3cbede942df3f5fdb12024aaca
<html><body><h1>502 Bad Gateway</h1>
The server returned an invalid or incomplete response.
</body></html>
root@aio1-utility-container-20f6bf88:/#
The actual crash and stack trace can be seen here [2]. With that, I can download the image with Swift client without any issues [3], and checksum matches.
This result is pretty much reproducible, and I get it constantly in OpenStack-Ansible's CI jobs, for example [4]
With that, I have the impression that something goes terribly wrong on the Glance side of things in combination with Swift, as CI jobs using Ceph or File backends are working normally.
Given where we are release-wise, I'd love to ask for some help investigating this problem...