[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

2017-07-05 Thread Corey Bryant
Gurol, If you're installing from Pypi then you need to use the following constraints: https://github.com/openstack/requirements/blob/stable/ocata/upper-constraints.txt Otherwise if you're installing from Debian packages, something is wrong. 'apt policy python-webob' may give a hint. Corey -- Y

[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

2017-07-04 Thread Gurol
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

[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

2017-03-29 Thread OpenStack Infra
Reviewed: https://review.openstack.org/423366 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=7a843f7e1fb1bab504fea0b2c59bf7c22121da71 Submitter: Jenkins Branch:master commit 7a843f7e1fb1bab504fea0b2c59bf7c22121da71 Author: Ian Cordasco Date: Fri Jan 20 16:38:10 2017

[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

2017-02-01 Thread Ian Cordasco
Phil, if you want to test/review the fix you can find it here: https://review.openstack.org/423366 -- 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 wi

[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

2017-02-01 Thread Ian Cordasco
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 p

[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

2017-02-01 Thread Corey Bryant
Hi Phil, I lowered the glance (Ubuntu) package importance to low, which makes sense since we're locked into a single version for ocata in ubuntu (webob 1.6.2). However for the upstream bug I think your're right. I can't change the importance of the upstream bug, but likely it should be updated. -

[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

2017-02-01 Thread Phil Hopkins
Corey, I think lowering this to low is a mistake, if one does a source install, the way the requirements file is currently set, pip will pull the latest version of WebOb ( a 1.7.?? version) and glance will not upload images (they are all 0 bytes). The requirements file should be set to block vers

[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

2017-01-20 Thread Corey Bryant
I've lowered the importance from critical to low for Ubuntu. Debian just uploaded python-webob 1:1.6.2-2 to replace 1.7.0-1, which I didn't realize was an option. We'll get 1:1.6.2-2 synced over to zesty and that should solve our webob problems in Ocata. ** Changed in: glance (Ubuntu) Importa

[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

2017-01-19 Thread Corey Bryant
Alright, in that case I'll copy your comments over to the other bug. :) Thanks for working on this. Very much appreciate it. -- 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

[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

2017-01-19 Thread Ian Cordasco
Another facet of this for Glance seems to be related to the PR in WebOb that broke other projects: http://paste.openstack.org/show/595699/ I suspect this is due to us returning `webob.exc.HTTPNoContent()`. It looks like our gzip middleware expects there to be a content-type but that's no longer aut

[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

2017-01-19 Thread Ian Cordasco
I don't think it's appropriate to merge them all into one as the impacts are very different as well as the remediation. -- 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 requ

[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

2017-01-19 Thread Corey Bryant
Ian, would you mind if I mark this as a dup of https://bugs.launchpad.net/nova/+bug/1657452 since we're tracking multiple projects there? -- 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:

[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

2017-01-19 Thread Ian Cordasco
I filed https://github.com/Pylons/webob/issues/307 although I doubt anything will come of it upstream. If anything, that might help others. ** Bug watch added: github.com/Pylons/webob/issues #307 https://github.com/Pylons/webob/issues/307 -- You received this bug notification because you are

[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

2017-01-19 Thread Ian Cordasco
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 com

[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

2017-01-19 Thread Ian Cordasco
** Changed in: glance Assignee: (unassigned) => Ian Cordasco (icordasc) -- 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 ba

[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

2017-01-18 Thread Corey Bryant
This is related to issues we're hitting in ubuntu which is at webob 1.7.0 now: https://bugs.launchpad.net/nova/+bug/1657452 ** Also affects: glance (Ubuntu) Importance: Undecided Status: New ** Changed in: glance (Ubuntu) Status: New => Triaged ** Changed in: glance (Ubuntu)

[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

2017-01-18 Thread Corey Bryant
Unfortunately this is blocking us from releasing B2 at the moment. -- 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 im