[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
Wed Feb 1 20:56:09 UTC 2017


Phil, there is a fix for this. The requirements for Ocata are frozen and
will not change, and OpenStack also publishes 'upper-constraints.txt'
which you can provide to pip using `-c`. For example

   curl -O https://raw.githubusercontent.com/openstack/requirements/master/upper-constraints.txt
   pip install . -c upper-constraints.txt

WebOb 1.7.x is not in upper-constraints and thus this should solve your
problem. It should also ensure your software is more stable as these are
the versions OpenStack *actually* tests against.

-- 
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