I think the xen driver needs a code to check the container and disk formats supported at that glance installation.
A check using the schema call will do the trick
https://github.com/openstack/glance/blob/7c7dd626896d732d75c6b802a33b9462aee885fd/glance/api/v2/images.py#L980
https://github.com/openstack/glance/blob/7c7dd626896d732d75c6b802a33b9462aee885fd/glance/api/v2/images.py#L837
https://github.com/openstack/glance/blob/7c7dd626896d732d75c6b802a33b9462aee885fd/glance/api/v2/images.py#L887-L895
I think the xen driver needs a code to check the container and disk formats supported at that glance installation.
A check using the schema call will do the trick
https:/ /github. com/openstack/ glance/ blob/7c7dd62689 6d732d75c6b802a 33b9462aee885fd /glance/ api/v2/ images. py#L980
https:/ /github. com/openstack/ glance/ blob/7c7dd62689 6d732d75c6b802a 33b9462aee885fd /glance/ api/v2/ images. py#L837
https:/ /github. com/openstack/ glance/ blob/7c7dd62689 6d732d75c6b802a 33b9462aee885fd /glance/ api/v2/ images. py#L887- L895