Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-16768

Install mock from dlrn-deps provided epel repo

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • Workload Evolution Sprint 3
    • 1

      Based on following slack thread and CS10 EDPM and meta content provider poc while testing opendev master depends on github pr, mock was not installed on cs10 and was hitting following error:

      python(abi) = 3.9 needed by mock-6.1-1.el9.noarch from epel"

      After further digging, we found that mock package is filtered out dlrn repo due to include packages.

      In order install mock from dlrn-deps epel repo, we need to modify to includepackages like this

      Includepkgs=liboath,gperftools-libs,thrift,libpmemobj,liborc2,libpmem,parquet-libs,libarrow*,mock*,distribution-gpg-keys,python3-templated-dictionary,python3-backoff

      It got tested with https://github.com/openstack-k8s-operators/ci-framework/pull/2994/files and https://github.com/openstack-k8s-operators/ci-framework/pull/2994.

       

      Definition of Done

      Mock is now included in includepackages in dlrn-deps repo

       

      # epel is required for Ceph Squid and DLRN mock
      [epel-low-priority]
      name=Extra Packages for Enterprise Linux $releasever - $basearch
      metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir
      enabled=1
      gpgcheck=0
      countme=1
      priority=100
      includepkgs=liboath,gperftools-libs,thrift,libpmemobj,liborc2,libpmem,parquet-libs,libarrow*,mock*,distribution-gpg-keys,python3-templated-dictionary,python3-backoff
      

       

       

              rhn-engineering-chkumar Chandan Kumar
              rhn-engineering-chkumar Chandan Kumar
              rhos-workloads-evolution
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: