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

bootc status fails due to error: Status: Opening /sysroot: No such file or directory

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.2
    • rhel-9.8, rhel-10.2
    • bootc
    • None
    • Yes
    • Moderate
    • 1
    • rhel-image-mode
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Bootc Sprint #21
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

       

      running "bootc status" on a package mode system

      What is the impact of this issue to you?

      It is quite essential command and because of this failure basically all our IM tests are failing

      Please provide the package NVR for which the bug is seen:

      bootc-1.11.0-1.el10 

      the issue will be most likely present also on RHEL-9 which has the same bootc version.

      How reproducible is this bug?:

      always

      Steps to reproduce

      1. [root@vm-10-0-186-33 ~]# rpm -q bootc
        bootc-1.10.0-2.el10.x86_64
        [root@vm-10-0-186-33 ~]# bootc status --format yaml
        apiVersion: org.containers.bootc/v1
        kind: BootcHost
        metadata:
          name: host
        spec:
          image: null
          bootOrder: default
        status:
          staged: null
          booted: null
          rollback: null
          rollbackQueued: false
          type: null
        [root@vm-10-0-186-33 ~]# rpm -Uvh http://download-01.beak-001.prod.iad2.dc.redhat.com/brewroot/vol/rhel-10/packages/bootc/1.11.0/1.el10/x86_64/bootc-1.11.0-1.el10.x86_64.rpm
        Retrieving http://download-01.beak-001.prod.iad2.dc.redhat.com/brewroot/vol/rhel-10/packages/bootc/1.11.0/1.el10/x86_64/bootc-1.11.0-1.el10.x86_64.rpm
        Verifying...                          ################################# [100%]
        Preparing...                          ################################# [100%]
        Updating / installing...
           1:bootc-1.11.0-1.el10              ################################# [ 50%]
        Cleaning up / removing...
           2:bootc-1.10.0-2.el10              ################################# [100%]
        [root@vm-10-0-186-33 ~]# bootc status --format yaml
        error: Status: Opening /sysroot: No such file or directory (os error 2)

              walters@redhat.com Colin Walters
              ksrot@redhat.com Karel Srot
              Colin Walters Colin Walters
              Xiaofeng Wang Xiaofeng Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: