disparsion-reports fails by HTTP_Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Kazuhiro MIYAHARA |
Bug Description
swift-dispersio
Reproduce procedure is as follows:
(at clean environment)
swift-dispartio
For the command, we should expect a message, 'No objects to query. Has swift-dispersio
Traceback (most recent call last):
File "/usr/local/
options.
File "/usr/local/
container, prefix=
File "/usr/local/
return self.retry_
File "/usr/local/
return self.base_
File "/usr/local/
conn = urllib2.
File "/usr/lib/
return _opener.open(url, data, timeout)
File "/usr/lib/
response = meth(req, response)
File "/usr/lib/
'http', request, response, code, msg, hdrs)
File "/usr/lib/
return self._call_
File "/usr/lib/
result = func(*args)
File "/usr/lib/
raise HTTPError(
urllib2.HTTPError: HTTP Error 404: Not Found
This issue seems to come from exception handling failure. (dispertion report expects ClientException but HTTPError raised)
I confirmed this newest master based on 2.3.0
CVE References
Changed in swift: | |
status: | New → Confirmed |
Changed in swift: | |
assignee: | nobody → Kazuhiro MIYAHARA (miyahara-kazuhiro) |
Changed in swift: | |
status: | Confirmed → In Progress |
Changed in swift: | |
milestone: | none → 2.5.0 |
status: | Fix Committed → Fix Released |
Fix proposed at https:/ /review. openstack. org/#/c/ 213697/