Extra solution =============
d) Add extra definitions to /etc/glance/schema-image.json. I'm using this.
{ "kernel_id": { "type": "string", "description": "An identifier for the linked kernel image", "maxLength": 36, "required": false }, "ramdisk_id": { "type": "string", "description": "An identifier for the linked ramdisk image", "maxLength": 36, "required": false } }
Extra solution
=============
d) Add extra definitions to /etc/glance/ schema- image.json.
I'm using this.
{
"description" : "An identifier for the linked kernel image",
"maxLength" : 36,
"description" : "An identifier for the linked ramdisk image",
"maxLength" : 36,
"kernel_id": {
"type": "string",
"required": false
},
"ramdisk_id": {
"type": "string",
"required": false
}
}