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

detect old bootimage and in-place update rpm-ostree first

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • None
    • 0

      The spike in https://issues.redhat.com/browse/MCO-312 demonstrated a workable design:

      Call this machine-config-daemon-firstboot-old-bootimage.service:

      • on firstboot, detect if rpm-ostree is too old to natively understand the new bootimage. If so:
      • pull and run new bootimage as privileged container with -v /:/host
      • have new ostree extract OS update into running system
      • reboot
      • machine-config-daemon-firstboot.service runs...

      If rpm-ostree is new enough, then just exit and let the -firstboot.service run.

              walters@redhat.com Colin Walters
              walters@redhat.com Colin Walters
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: