docs: image schema customization restrictions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Khuong Luu |
Bug Description
An operator can modify /etc/schema-
The type is enforced by image create/update but an end-user making a call that sets a value on one of these gets a 500. This is because everything in the image_properties table must be a string in the database. The API, however, won't accept a string value when the schema says it's boolean or some other non-string JSON data type). We should document:
(1) these things *must* be strings
(2) recommend that operators not delete items from the default schema-image.json file, because this will affect interoperability
(3) maybe recommend using metadefs instead of modifying the image schema?
Changed in glance: | |
assignee: | nobody → Khuong Luu (organic-doge) |
Fix proposed to branch: master /review. opendev. org/717889
Review: https:/