cinderclient stacktrace when 404 from cinder get_snapshot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Christopher Yeoh |
Bug Description
During a the tempest test tempest.
2013-04-17 08:58:47 INFO [requests.
2013-04-17 08:58:47 DEBUG [requests.
2013-04-17 08:58:47 ERROR [nova.api.ec2] Unexpected error raised: The resource could not be found. (HTTP 404) (Request-ID: req-6d441c5b-
Traceback (most recent call last):
File "/srv/compile/
result = api_request.
File "/srv/compile/
result = method(context, **args)
File "/srv/compile/
snapshot_
File "/srv/compile/
item = cinderclient(
File "/usr/local/
return self._get(
File "/usr/local/
resp, body = self.api.
File "/usr/local/
return self._cs_
File "/usr/local/
**kwargs)
File "/usr/local/
raise exceptions.
NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-6d441c5b-
2013-04-17 08:58:47 ERROR [nova.api.ec2] Environment: {"CONTENT_TYPE": "application/
We should catch the exception so the traceback does not occur, but otherwise preserve the current API behavior
Changed in nova: | |
assignee: | nobody → Christopher Yeoh (cyeoh-0) |
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/27027
Review: https:/