schema: add jsonschema definition to cc_power_state_change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Low
|
Unassigned |
Bug Description
Add initial jsonschema definition for validation of cloud-config
user data to cloudinit/
Add a schema dictionary to the cc_*.py module which describes allowed
cloud-config properties which are honored by the module.
jsonschema support for a cloud-config module should entail:
- module-level schema dict definition in cc_*py
- schema should contain the keys:
id, name, title, description, distros, examples, frequency, type,
properties
- handler should call validate_
top-level config module keys are provided
Good examples are:
- cloudinit/
- cloudinit/
- cloudinit/
- cloudinit/
Changed in cloud-init: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in cloud-init: | |
status: | Triaged → Fix Committed |
This bug is believed to be fixed in cloud-init in version 22.2. If this is still a problem for you, please make a comment and set the state back to New
Thank you.