You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to support e.g. bare metal and other user-provisioned infrastructure platforms, let's add a high level command to download the "bootimages" (qemu qcow2, bare metal UEFI, VMWare vmdk, and for that matter the AWS VMDK).
In order to support e.g. bare metal and other user-provisioned infrastructure platforms, let's add a high level command to download the "bootimages" (qemu qcow2, bare metal UEFI, VMWare vmdk, and for that matter the AWS VMDK).
I do not think that the the installer should be downloading the bootimages
how is the installer supposed tied the recommended platform flag to the set of images required. for example for metal some people will use the iso, while some want the iso (for pxe assets) and raw image for installation.
recommended platform flag is already used by installer and creates confusion...
The installer needs to move to release image for all source of truth, the intermediate direction is pulling the release image pkg/rhcos/release: Extract RHCOS build from release image #1286. But in the long term it would be nice to move all the image information onto the bootstrap node and installer only chooses the release image.
how is the installer supposed tied the recommended platform flag to the set of images required. for example for metal some people will use the iso, while some want the iso (for pxe assets) and raw image for installation.
which would do all of the metal stuff. The ISO is tiny, and anyone installing on metal surely has enough bandwidth to grab both metal-uefi and metal-bios.
Reacted by Dani Comnea, Eric Rich and Steve Greene
@abhinavdahiya what do we need to do to progress this as I see this as a huge win for our user experience in a few IPI use cases and mainly in all UPI use cases (as it helps simplify much of the complicated and cumbersome documentation points we have now).
Another appoach here is to expand on the "redirector service" model that we already use on the RHCOS side. A team like SD would run a dynamic service mirror.openshift.com/pub/openshift-v4/dependencies/rhcos?sha256=ff088ec361f94258a4cd9400e8483b3fc14be7e205e645b372003e77de7ec3a.
To avoid duplication, the existing "static" content would just become redirects to the dynamic one which fetched by sha256sum.
To say this another way, there would be a unified way to fetch bootimage binaries that is exactly the same between dev and release - which is part of achieving the important goal of making releases just like "git tag" and not a special series of steps.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Activity
abhinavdahiya commentedon Mar 12, 2019
I do not think that the the installer should be downloading the
bootimagesplatformflag to the set of images required. for example for metal some people will use the iso, while some want the iso (for pxe assets) and raw image for installation.platformflag is already used by installer and creates confusion...cgwalters commentedon Apr 2, 2019
I think the simplest is:
openshift-install download-bootimage --platform=metalwhich would do all of the metal stuff. The ISO is tiny, and anyone installing on metal surely has enough bandwidth to grab both
metal-uefiandmetal-bios.wking commentedon Apr 4, 2019
I've taken a stab at something similar in #1529, if folks want to take a look.
cgwalters commentedon May 20, 2019
Today RHCOS is available here: https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.1/
However, it still must be downloaded manually.
If you want something other than that, today you can find the download URL used by the installer in git:
Ideally this would be an implementation detail of the installer, but in the short term that URL isn't going away.
version: Output RHEL CoreOS bootimage version
cgwalters commentedon Jun 14, 2019
Maybe this would be better:
We can't easily right now do the "download" part without having an online service which maps from e.g.
ostree-versionto OpenShift versions.cgwalters commentedon Jul 11, 2019
Maybe...what we should do for this is treat RHCOS the same as the release image - and particularly for official installer releases we binary patch the binary so that it refers to https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/ or so.
sferich888 commentedon Jul 11, 2019
@abhinavdahiya what do we need to do to progress this as I see this as a huge win for our user experience in a few IPI use cases and mainly in all UPI use cases (as it helps simplify much of the complicated and cumbersome documentation points we have now).
cgwalters commentedon Jul 12, 2019
Another appoach here is to expand on the "redirector service" model that we already use on the RHCOS side. A team like SD would run a dynamic service
mirror.openshift.com/pub/openshift-v4/dependencies/rhcos?sha256=ff088ec361f94258a4cd9400e8483b3fc14be7e205e645b372003e77de7ec3a.To avoid duplication, the existing "static" content would just become redirects to the dynamic one which fetched by sha256sum.
To say this another way, there would be a unified way to fetch bootimage binaries that is exactly the same between dev and release - which is part of achieving the important goal of making releases just like "git tag" and not a special series of steps.
cgwalters commentedon Jul 18, 2019
xref https://bugzilla.redhat.com/show_bug.cgi?id=1730910
Add new `rhcos-metadata` command
cgwalters commentedon Oct 17, 2019
This was auto-linked from Github but just to clarify, I tried a small PR related to this in
#2092
that didn't get merged as of yet.
abhinavdahiya commentedon Feb 10, 2020
closing this in favor of openshift/enhancements#201
/close
openshift-ci-robot commentedon Feb 10, 2020
@abhinavdahiya: Closing this issue.
Details
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.