-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
1
-
False
-
None
-
False
-
-
-
ShiftStack Sprint 255, ShiftStack Sprint 256, ShiftStack Sprint 257
As part of the Hybrid Control Plane (HCP) effort, we would like to rework how we upload images to Glance. Currently we are using the glance-direct import method, which requires downloading the release image to the client before uploading it to Glance. We would like to switch to the web-download import method, which allows us to bypass the client and have Glance download the image directly from the source.
The OpenShift release images are gzipped qcow2 images. While Glance provides an image_decompression plugin for the image import API, this is not enabled by default and there's no way to know if it's enabled without uploading an image and downloading it again.
Glance should expose the status of this plugin so that users can tell whether it's enabled or not. This will require an API change, meaning it will require a spec. This task covers the effort required to write this.