Flavor extra spec and image properties validation
Validate the combination of the flavor extra-specs and image properties as early as possible once they're both known (since you can specify mutually-
Blueprint information
- Status:
- Complete
- Approver:
- Sylvain Bauza
- Priority:
- Low
- Drafter:
- Jack Ding
- Direction:
- Approved
- Assignee:
- Jack Ding
- Definition:
- Approved
- Series goal:
- Accepted for stein
- Implementation:
- Implemented
- Milestone target:
- stein-3
- Started by
- melanie witt
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Notes from the Stein PTG discussion about this:
https:/
Flavor extra spec and image properties validation
- ensure that the combination of flavor extra-specs and image properties makes sense, if not then synchronously return error to user
- StarlingX just validated the flavor extra-specs, but there was previously talk of validating the combo of flavor/image a bit further down the stack once we know both of them.
- would need to validate any time either the flavor or image changed-
--There's a related issue wrt how we determine which of image extra specs/flavor metadata take priority. It's all over the shop right now
- Caveat: this does depend on the virt driver to be maximally robust. But there are things that don't require driver-specific knowledge that we could do without calling down to the driver.
- Wouldn't it be simplest to start by having flavor extra spec schema validation in the API for *known* extra specs, but with additionalPrope
- AGREE: validate what we can that is not driver-specific
Gerrit topic: https:/
Addressed by: https:/
Flavor Extra Spec and Image Properties Validation
Addressed by: https:/
Fix format flavor-
Addressed by: https:/
Flavor extra spec and image properties validation
Related topics:
This bug deals with similar issues:
https:/
Spec merged on 2019-01-08, approved for Stein. -- melwitt 20190109
Addressed by: https:/
Add 'flavor-
Addressed by: https:/
WIP: Add initial version of metadata configuration
Addressed by: https:/
Improve existing flavor and image metadata validation
Addressed by: https:/
Validate PCI aliases early in resize
Gerrit topic: https:/
Gerrit topic: https:/
Addressed by: https:/
Add 'flavor-