Inconsistent return code for "Feature not implemented' API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Ghanshyam Mann |
Bug Description
There is inconsistency on return code nova API return for "Feature not implemented'. Current return code are 400, 409, and 403.
- 400 case: Example: Multiattach Swap Volume Not Supported:
https:/
https:/
- 403 case: Cyborg integration.
https:/
https:/
- 409 case: Example: Operation Not Supported For SEV , Operation Not Supported For VTPM
https:/
In xena PTG, we agreed to fix this by returning 400 in all cases and backport the fix. L446: https:/
Changed in nova: | |
status: | New → Triaged |
assignee: | nobody → Ghanshyam Mann (ghanshyammann) |
tags: | added: api |
Changed in nova: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /806294
Review: https:/