Hello,

We started to experience this very problem under Ocata running on Ubuntu
17.0.4. At the time of original Ocata installation, all was working fine
but then along the way somehow WebOb release has been bumped to 1.7.2
and this problem started to happen.

As a quick-and-dirty workaround, if do the following:

$ pip install WebOb==1.6.0
$ service glance-registry restart
$ service glance-api restart

We can create images properly (i.e., with non-zero size). Note however
openstack CLI commands will then start failing as follows:

$ openstack image list
Failed to discover available identity versions when contacting 
http://controller:35357/v3. Attempting to parse version from URL.
Internal Server Error (HTTP 500)

So, an attempt to switch from WebOb 1.7.2 to 1.6.0 would fix one problem
but create another one.

If we want to stay w/ Ocata (which apparently contains glance 14.0.0),
what will be the proper steps to fix this problem w/o any side effects
similar to the one I tried to describe above.

Many thanks in advance.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1657459/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to