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

Break out rhsm.conf into subpackage subscription-manager-rhsm-conf

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-9.2.0.z
    • subscription-manager
    • None
    • None
    • Moderate
    • rhel-sst-csi-client-tools
    • ssg_subscription_management
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

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

      rhsm.conf (from subscription-manager) is missing on RHCOS, which causes rpm-ostree install <pkg> failed with entitlement build, as the SSL CA cert path set to wrong path /etc/rhsm-host-host/ca/redhat-uep.pem.

      STEP 3/5: RUN rpm-ostree install libreswan error: Updating rpm-md repo 'rhel-9-for-x86_64-baseos-rpms': cannot update repo 'rhel-9-for-x86_64-baseos-rpms': Cannot download repomd.xml: Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://cdn.redhat.com/content/dist/rhel9/9/x86_64/baseos/os/repodata/repomd.xml [error setting certificate file: /etc/rhsm-host-host/ca/redhat-uep.pem] error: build error: building at STEP "RUN rpm-ostree install libreswan": while running runtime: exit status 1

      https://issues.redhat.com/browse/RHEL-1451 meant to track from librhsm side, but was closed because of risky.

      According to suggestion from rhn-gps-dmabe and cgwalters-gh ,we want to fix it by making:

      • subscription-manager
        • requires subscription-manager-rhsm-certificates and subscription-manager-rhsm-conf
      • subscription-manager-rhsm-certificates (subpackage) (done by https://bugzilla.redhat.com/show_bug.cgi?id=2089481)
      • subscription-manager-rhsm-conf (subpackage)
        • provides rhsm.conf

      Please provide the package NVR for which bug is seen:

      How reproducible:

      100%

      Steps to reproduce

      According to https://issues.redhat.com/browse/OCPBUGS-11181?focusedId=22181117&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-22181117

      Expected results

      Run rpm-ostree install <pkg> successfully with entitlement build

      Actual results

      Run rpm-ostree install <pkg> failed with entitlement build

              csi-client-tools-bugs CSI Client Tools Bugs Bot
              hhei@redhat.com Huijing Hei
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: