Failed to update OS with missing files during upgrade in OpenShift 4

Solution Verified - Updated -

Issue

When upgrading from OpenShift Container Platform 4.7 to 4.8 missing files error will prevent the upgrade to finish:

2022-02-28T16:25:59.939478833+00:00 stderr F E0228 16:25:59.939128  224060 writer.go:135] Marking Degraded due to: failed to update OS to quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:<ID_HERE> : error running rpm-ostree rebase --experimental /run/mco-machine-os-content/os-content-<ID_HERE>/srv/repo:<ID_HERE> --custom-origin-url pivot://quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:<ID_HERE> --custom-origin-description Managed by machine-config-operator: error: Transaction in progress: rebase --experimental '/run/mco-machine-os-content/os-content-163736495/srv/repo:<ID_HERE>' --custom-origin-url 'pivot://quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:<ID_HERE>' --custom-origin-description 'Managed by machine-config-operator' 

2022-02-28T16:25:59.939478833+00:00 stderr F : exit status 1

MachineConfig operator is not able to proceed with remaining tasks and finish update.

Environment

  • OpenShift Container Platform 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content