We add two extra properties for images:
- cinder_encryption_key_id, which stores the encryption key id;
- cinder_encryption_key_deletion_policy, which states whether the secret
key should be deleted on image deletion.
This feature uses the Castellan key manager, and will therefore work
with all its supported backends.
Implements: blueprint barbican-secret-deletion-support
DocImpact
Change-Id: Iacd0b3785ad4cdd06961e6d11967775806e009ff
Add the 'description' attribute to common image properties to allow
users to record the purpose of the image in a human-readable format
in an interoperable way.
Co-authored-by: zhangbailin <zhangbailin@inspur.com>
Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
Change-Id: Id0b148190cfa5fb9851ad2085a6b1ac1e0e7e352
Blueprint: add-description-field-to-image
Current description of instance-uuid may confuse users because
they may think that instance-uuid can serve as basis for image
but it just stores instance-uuid as image-metadata. So we need
to enhance the description in glanceclient.
Change-Id: I534709bdce588806178912fdd57fdf25bcca0449
Closes-Bug: #1496822
Since is possible to create images with no
ramdisk_id, kernel_id parameters on glance v1,
then the schema-image.json needs to be modified to
allow null, string values for both attributes
and prevent LP #1447193 to happen with a glance v2
client.
APIImpact
Closes-Bug: #1447215
Related-Bug: #1447193
Change-Id: I645c797553ccaa84062f9ad28f2349ae738a0c96
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@canonical.com>
Nova depends on a few properties to be able to interact with
images in Glance effectively. The three added in this patch
are kernel_id, ramdisk_id and instance_uuid. These properties
are just being added to the default v2 schema, so they can
be overwritten if a consumer decides they need to.
Fixes bug 1039818
Change-Id: I5cfd5f0b5c8d1d526d56d99de738f9271aa641c1
Rather than force a painful migration to type and format, use
container_format and disk_format as they are in the v1 API for v2
since there isn't a clear path to an interoperable alternative.
Related to bp api-2
Change-Id: If8161390abf17961885e5c02e38d635b287aeca4
Correct the JSON format of schema-image.json. Fixes issues where
glance-api won't start due to invalid JSON in this file.
Fixes LP Bug #1003470.
Change-Id: Ibacc49f2c45e233bd6ad25b3334e013acaae8339
* Add glance schema API (glance.schema:API)
* Disallow custom properties that conflict with base properties
* Implements bp api-v2-schemas
Change-Id: Ibfa617cb5edf16627627debc30149669213d4b2d