In nova API we create an image record before we have access to the disk/container formats... The disk and container format get set when the compute manager uploads the image. So... I'm not sure we can require these formats to exist when creating images in Glance.
Bit of background....
In nova API we create an image record before we have access to the disk/container formats... The disk and container format get set when the compute manager uploads the image. So... I'm not sure we can require these formats to exist when creating images in Glance.