List servers having non-existent flavor returns 422 Unprocessable Entity instead of empty list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Davanum Srinivas (DIMS) |
Bug Description
Discovered running Tempest:
07:17:00 =======
07:17:00 ERROR: test_list_
07:17:00 -------
07:17:00 Traceback (most recent call last):
07:17:00 File "/opt/stack/
07:17:00 resp, body = self.client.
07:17:00 File "/opt/stack/
07:17:00 resp, body = self.get(url)
07:17:00 File "/opt/stack/
07:17:00 return self.request('GET', url, headers, wait=wait)
07:17:00 File "/opt/stack/
07:17:00 raise exceptions.
07:17:00 TempestException: An unknown exception occurred
07:17:00 Details: An unknown exception occurred
07:17:00 Details: 422
07:17:00 -------
07:17:00 tempest.
07:17:00 tempest.
07:17:00 tempest.
07:17:00 tempest.
07:17:00 -------
The source of the issue is plain:
https:/
compute_
Since this is list operation, shouldn't the result of GET /servers that finds no matches be an empty list?
Changed in nova: | |
milestone: | none → grizzly-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-3 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/20198
Review: https:/