nova/releasenotes/notes/project_id_validation-568d31c13c3ef735.yaml
Sean Dague 1f120b5649 Verify project id for flavor access calls
This includes project id verification for flavor access calls.

Closes-Bug: #1544989

Implements bp:validate-project-with-keystone

Change-Id: I2620c3ebc2a6dc131946602f8aa36ec0b6e782e0
2017-05-04 18:23:17 -04:00

12 lines
534 B
YAML

---
fixes:
- |
API calls to ``/os-quota-sets`` and flavor access will now attempt
to validate the project_id being operated on with Keystone. If
the user token has enough permissions to perform
``GET /v3/projects/{project_id}``, and the Keystone project
does not exist, a 400 BadRequest will be returned to prevent invalid
project data from being put in the Nova database. This fixes an effective
silent error where the project_id would be stored even if it was not a
valid project_id in the system.