Uploaded image for project: 'Machine Config Operator'
  1. Machine Config Operator
  2. MCO-497

MCO should live-patch rpm-ostree to prepare for RHCOS 9

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • None
    • None
    • MCO Sprint 232
    • 0

      Given the CI failures that were observed during initial testing of running RHCOS 9 in OCP (see https://issues.redhat.com/browse/OCPBUGS-7275?focusedCommentId=21705994&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-21705994), the MCO will need to detect this upgrade and do some preliminary steps so that the upgrade can succeed. This is due in part to a newer version of rpm-ostree needing to be present due to https://github.com/coreos/rpm-ostree/pull/4302.

       

      From the MCO side, it seems like we'll need the following:

      • Detect that an OS upgrade is happening.
      • Detect that the OS version is changing from 8.6 -> 9.0+.
      • Pull the RHCOS 9.0+ extensions container, extract a newer version of rpm-ostree from that container, install it on the node, then restart the rpm-ostree daemon (e.g., systemctl restart rpm-ostreed).
      • Once the rpm-ostreed daemon restarts, the OS upgrade can proceed as normal.

              zzlotnik@redhat.com Zack Zlotnik
              zzlotnik@redhat.com Zack Zlotnik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: