Skip to content

baremetal: Use pinned RHCOS version for masters #2064

Closed

Description

@russellb

Original issue from @markmc here: openshift-metal3/kni-installer#37


openshift-install is currently built with a pinned build of rhcos. See e.g.

hack/build.sh:5:RHCOS_BUILD_NAME="${RHCOS_BUILD_NAME:-400.7.20190306.0}"

We currently properly use this image for the bootstrap VM launched with the libvirt provider:

        case baremetal.Name:
                osimage, err = rhcos.QEMU(ctx, rhcos.DefaultChannel)

This resolves to a URL in that channel for the QEMU image for that build as listed in meta.json at https://releases-rhcos.svc.ci.openshift.org/storage/releases

However, for the masters, we currently require that you pass that in via the following in install-config.yaml:

    master_configuration:
      image_source: "http://172.22.0.1/images/rhcos-maipo-latest.qcow2"
      image_checksum: 7656f23da8caf42142c0eafde22db096

and we generate this image in dev-scripts by taking the openstack qcow image and making a "dualdhcp" variant.

We should be working towards using an rhcos image for masters that is published in the official channels, and resolving the URL for that from published metadata like we do for the libvirt qcow.

Activity

  1. added
    platform/baremetal
    on Jul 22, 2019
  2. russellb commented on Jul 22, 2019

    @russellb
    ContributorAuthor

    @markmc - May 7


    The end goal here should probably be that bare-metal IPI fully manages the provisioning service for both master and worker deployment, including providing the correct RHCOS images to the provisioning service

    i.e. openshift-install should download the RHCOS image and give it to Ironic. And longer-term when the a new release payload can update the bootimage in the installer-created MachineSets, in the bare-metal case it should download the new RHCOS image and give it to Ironic

  3. russellb commented on Jul 22, 2019

    @russellb
    ContributorAuthor

    @hardys noted on the original issue that this should be resolved by #2060

  4. hardys commented on Jul 23, 2019

    @hardys

    /assign

  5. hardys commented on Jul 23, 2019

    @hardys

    @hardys noted on the original issue that this should be resolved by #2060

    Yes this should be resolved as part of the rework for #2037 which is a prerequisite for #2060 - I'll take this issue and work on a PR which switches to using the image maintained internally vs the install-config data.

    @hardys noted on the original issue that this should be resolved by #2060

  6. 1 remaining item

  7. juliakreger commented on Aug 8, 2019

    @juliakreger
  8. added a commit that references this issue on Aug 13, 2019
    ac89074
  9. added a commit that references this issue on Dec 6, 2019
    eeaae4f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

platform/baremetal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions