Bug 1741930 - [OSP] Allow specifying the image-name in glance for boot-image
Summary: [OSP] Allow specifying the image-name in glance for boot-image
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.2.0
Hardware: All
OS: All
high
high
Target Milestone: ---
: 4.3.0
Assignee: Mike Fedosin
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-16 13:10 UTC by egarcia
Modified: 2019-09-16 16:43 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-06 12:27:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 2226 0 None closed Bug 1741930: allow to define OpenStack image name 2020-04-08 15:52:37 UTC

Description egarcia 2019-08-16 13:10:32 UTC
Description of problem: The image name is hard coded to rhcos, which prevents users who do not have control of their images and their names from running the installer.

How reproducible: always

Steps to Reproduce:
1. Do not have image named rhcos
2. run installer
3. fail

Comment 1 Mike Fedosin 2019-08-16 13:42:19 UTC
@adahiya Do you mind if I take this bug?

Comment 2 Abhinav Dahiya 2019-08-16 21:50:56 UTC
This looks a RFE, `allow user to provide the image name for boot-image` on OpenStack.

Comment 3 Martin André 2019-08-17 16:19:54 UTC
Is the issue about uploading an image to glance under a name the user chooses, or about using an image from glance where the name is different from `rhcos`?

In the "upload to glance" case, the user will anyway depend on someone with the right permission to upload to glance, and can ask to upload under a specific name.
In the "download from glance" case, I think we can already override the image name by setting the OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE environment variable (to be verified). If so, then we have a workaround and this bz is basically a feature request to have the boot image selection in the install wizard.

In both case I think we shouldn't try to squeeze it in 4.2 -- we're way past feature freeze.

Comment 6 Mike Fedosin 2019-09-06 12:27:05 UTC
After the discussions with PMs we decided not to implement this in 4.2, because there is a workaround to define OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE variable which allows to set another glance image name. This is explained in the user documentation.

And in 4.3 we're going to implement auto image uploading, where installer automatically creates an image in glance. so all this image stuff will be hidden from users and they don't have to specify the image name at all.


Note You need to log in before you can comment on or make changes to this bug.