gates broken by WebOb 1.5 release
Bug #1505153 reported by
Victor Stinner
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Critical
|
Victor Stinner | ||
Kilo |
Fix Released
|
Critical
|
John Griffith | ||
OpenStack Compute (nova) |
Fix Released
|
Critical
|
Davanum Srinivas (DIMS) | ||
Kilo |
Fix Released
|
Critical
|
Matt Riedemann | ||
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Critical
|
Valeriy Ponomaryov | ||
OpenStack-Ansible |
Fix Released
|
High
|
Jesse Pretorius |
Bug Description
Hi,
WebOb 1.5 was released yesterday. test_misc of Cinder starts failing with this release. I wrote this simple fix which should be enough to repair it:
https:/
"Fix test_misc for WebOb 1.5"
class ConvertedExcept
- def __init__(self, code=0, title="", explanation=""):
+ def __init__(self, code=500, title="", explanation=""):
Victor
Changed in cinder: | |
assignee: | nobody → Victor Stinner (victor-stinner) |
status: | New → In Progress |
Changed in manila: | |
importance: | Undecided → Critical |
milestone: | none → mitaka-1 |
Changed in manila: | |
assignee: | nobody → Gaurang Tapase (gaurang-tapase) |
status: | New → In Progress |
Changed in nova: | |
importance: | Undecided → Critical |
Changed in cinder: | |
importance: | Undecided → Critical |
tags: | added: liberty-backport-potential liberty-rc-potential |
tags: | added: kilo-backport-potential |
Changed in openstack-ansible: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Jesse Pretorius (jesse-pretorius) |
milestone: | none → 12.0.0 |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Davanum Srinivas (DIMS) (dims-v) |
Changed in manila: | |
assignee: | Gaurang Tapase (gaurang-tapase) → Valeriy Ponomaryov (vponomaryov) |
Changed in nova: | |
milestone: | none → liberty-rc3 |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
milestone: | none → liberty-rc3 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in manila: | |
milestone: | mitaka-1 → liberty-rc3 |
Changed in manila: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-rc3 → 12.0.0 |
Changed in cinder: | |
milestone: | liberty-rc3 → 7.0.0 |
Changed in manila: | |
milestone: | liberty-rc3 → 1.0.0 |
Changed in openstack-ansible: | |
status: | Fix Committed → Fix Released |
tags: | removed: kilo-backport-potential liberty-backport-potential liberty-rc-potential |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/233528 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=867fccf833f fc597aa986cb6ff 1b3b5c1101b9ba
Committed: https:/
Submitter: Jenkins
Branch: master
commit 867fccf833ffc59 7aa986cb6ff1b3b 5c1101b9ba
Author: Victor Stinner <email address hidden>
Date: Mon Oct 12 10:35:25 2015 +0200
Fix test_misc for WebOb 1.5
WebOb 1.5 was released at 2015-10-11. With this new version, exc.WSGIHTTPExc eption( ) constructor now fails with a KeyError
webob.
when the HTTP status code is 0.
test_ exceptions_ raise() of test_misc tries to instanciate all ception uses a default HTTP status code of 0.
exceptions of cinder.exception. The problem is that
ConvertedEx
Modify the default HTTP status code of ConvertedException to 400 to api/openstack/ wsgi.py copies an existing HTTP code:
fix the unit test. The bug is only in the test,
cinder/
Closes-Bug: #1505153 d48da4b0e831b39 0e33243809a
Change-Id: I1aec8038774828