Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-136234

`bootc switch --mutate-in-place` fails in Anaconda environments

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-10.2
    • bootc
    • None
    • Yes
    • Moderate
    • rhel-image-mode
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified

      Let me preface this with: I'm not sure this is a bootc bug but we would appreciate help/feedback/suggestions.

      The osbuild issue is in https://github.com/osbuild/image-builder-cli/issues/410, the tl;dr is below:
      In the bootc-image-builder ISOs we use the following kickstart fragment:
      ```
      %post
      bootc switch --mutate-in-place --transport registry quay.io/centos-bootc/centos-bootc:stream10
      ```
      this recently started to fail with:
      ```
      error: Switching: Initializing storage: System not booted via bootc
      ```
      a few days/weeks ago and was only noticed recently.

      We would greatly appreciate guidance what we should do, i.e. if we need another way to connect the installed system to the bootc ref or if there is a fix in bootc require to be less strict about this check.

      https://issues.redhat.com/browse/RHEL-136234

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

                Created:
                Updated:
                Resolved: