WebOb>=1.2.3 requirement for Glance will lead to 0 bytes backing image files on OpenStack Newton, although the image file sent to the python client does not have 0 bytes
Bug #1657459 reported by
Adrian Vladu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Ian Cordasco | ||
glance (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
On CentOS 7 AIO Newton OpenStack deployed with packstack, the default WebOb glance requirement was >= 1.2.3 and pip installed the 1.7.0 version.
When I created a glance image from the cli, using the filesystem backend as default, with a raw file of 1GB, the glance image-create command showed that a image was created, but with the size of 0 bytes.
After forcing with pip the WebOb==1.2.3 version, the issue was not longer there.
I have tried with python 2.7 and 3.4 and to upload the image via horizon or with different python-glance client versions => when WebOb version was 1.7.0 the outcome was wrong, as I ended up with a 0 bytes image in the backing store.
Changed in glance: | |
assignee: | nobody → Ian Cordasco (icordasc) |
To post a comment you must log in.
Hi Adrian,
This isn't specifically a bug in Glance but in the newest release of WebOb (1.7.0). If you were to install the release just prior to that, everything should work fine. There's no need to install 1.2.3.
This issue has been raised on the mailing list already. It's likely that OpenStack as a whole will blacklist 1.7.0 and 1.7.1 until WebOb can release fixes or until OpenStack has the time to retrofit the APIs on to these new versions.
I'm going to prioritize this with that information in mind.