Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-2269

"error: No enabled repositories" on upgrade with kernelType: realtime enabled

    XMLWordPrintable

Details

    • Sprint 226
    • 1
    • Approved
    • False
    • Hide

      None

      Show
      None
    • NA
    • Rejected

    Description

      Description of problem:

      service machine-config-daemon-update-rpmostree-via-container is failed to deploy commit

      sh-4.4# journalctl -u machine-config-daemon-update-rpmostree-via-container.service | tail
      Oct 12 11:45:56 master-00.wduan-1012e-upg.qe.devcluster.openshift.com peaceful_elbakyan[2022141]: Checking out tree 845113b...done
      Oct 12 11:45:56 master-00.wduan-1012e-upg.qe.devcluster.openshift.com podman[2019123]: Checking out tree 845113b...done
      Oct 12 11:45:57 master-00.wduan-1012e-upg.qe.devcluster.openshift.com peaceful_elbakyan[2022141]: error: No enabled repositories
      Oct 12 11:45:57 master-00.wduan-1012e-upg.qe.devcluster.openshift.com podman[2019123]: error: No enabled repositories
      Oct 12 11:45:57 master-00.wduan-1012e-upg.qe.devcluster.openshift.com peaceful_elbakyan[2022141]: error: Failed to deploy commit: ExitStatus(unix_wait_status(256))
      Oct 12 11:45:57 master-00.wduan-1012e-upg.qe.devcluster.openshift.com podman[2019123]: error: Failed to deploy commit: ExitStatus(unix_wait_status(256))
      Oct 12 11:45:57 master-00.wduan-1012e-upg.qe.devcluster.openshift.com podman[2022949]: time="2022-10-12T11:45:57Z" level=warning msg="lstat /sys/fs/cgroup/devices/machine.slice/libpod-ea744a45645d9c8d7a79182a78525a0b9f65b13e2e997f55bf80f626dcc0e945.scope: no such file or directory"
      Oct 12 11:45:57 master-00.wduan-1012e-upg.qe.devcluster.openshift.com systemd[1]: machine-config-daemon-update-rpmostree-via-container.service: Main process exited, code=exited, status=1/FAILURE
      Oct 12 11:45:57 master-00.wduan-1012e-upg.qe.devcluster.openshift.com systemd[1]: machine-config-daemon-update-rpmostree-via-container.service: Failed with result 'exit-code'.
      Oct 12 11:45:57 master-00.wduan-1012e-upg.qe.devcluster.openshift.com systemd[1]: machine-config-daemon-update-rpmostree-via-container.service: Consumed 1min 9.080s CPU time 

      full service log is attached

      Version-Release number of selected component (if applicable):

      4.12

      Steps to Reproduce:

      1. setup SNO cluster upi-on-baremetal with 4.11.8
      2. upgrade it to 4.12.0-0.nightly-2022-10-05-053337

      Actual results:

      service machine-config-daemon-update-rpmostree-via-container is failed to deploy comment due to no enabled repositories issue

      Expected results:

      service machine-config-daemon-update-rpmostree-via-container can deploy new commit successfully

      Additional info:

      no proxy configured
      sh-4.4# cat /etc/mco/proxy.env
      # Proxy environment variables will be populated in this file. Properly
      # url encoded passwords with special characters will use '%<HEX><HEX>'.
      # Systemd requires that any % used in a password be represented as
      # %% in a unit file since % is a prefix for macros; this restriction does not
      # apply for environment files. Templates that need the proxy set should use
      # 'EnvironmentFile=/etc/mco/proxy.env'.

      Attachments

        Issue Links

          Activity

            People

              jkyros@redhat.com John Kyros
              rhn-support-rioliu Rio Liu
              Rio Liu Rio Liu
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: