[Bug 1657459] Re: 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
Ian Cordasco
sigmavirus24 at gmail.com
Thu Jan 19 18:51:59 UTC 2017
So the fundamental part of this is that there's a subtle change in webob
1.7.0 in how webob.request.Request.is_body_readable is implemented.
On 1.7.0, it tells Glance that the body is not readable so it prevents
it from reaching certain checks that would produce the appropriate
responses. This commit is the root cause of several of Glance's test
failures:
https://github.com/Pylons/webob/commit/0e6fcbfbc58af6fdd4e125543bf8f5fb91b984c6
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to glance in Ubuntu.
https://bugs.launchpad.net/bugs/1657459
Title:
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
Status in Glance:
Triaged
Status in glance package in Ubuntu:
Triaged
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1657459/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list