test_create_server_with_unauthorized_image is failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Medium
|
Joe Gordon |
Bug Description
This is now returning NotFound but the test is expecting BadRequest. This is probably a change in nova behavior.
=======
ERROR: Server creation with another user's image should fail
-------
Traceback (most recent call last):
File "/usr/lib/
func(*arg, **kw)
File "/opt/stack/
self.
File "/opt/stack/
resp, body = self.post(
File "/opt/stack/
return self.request(
File "/opt/stack/
raise exceptions.
NotFound: Object not found
Details: Object not found
Details: {"itemNotFound": {"message": "The resource could not be found.", "code": 404}}
-------
tempest.
tempest.
tempest.
tempest.
-------
Changed in tempest: | |
status: | Fix Committed → Fix Released |
NotFound is the correct return code, not BadRequest. It's likely that Nova changed its behaviour to the correct NotFound return and we need to update Tempest to reflect this. In the future, however, there should be a skip in Tempest indicating a tracking bug, instead of simply having Tempest check for the wrong return code like BadRequest :)