The basic problem here seems to be a discrepancy in package availability between rhel7 and centos7. I can install python-kubernetes from epel on centos7 without any trouble, but on RHEL7, I get this (from automated ceph testsuite): 2019-02-11T15:18:42.523 INFO:teuthology.orchestra.run.smithi160.stdout:---> Package python2-kubernetes.noarch 0:8.0.0-6.el7 will be installed 2019-02-11T15:18:42.524 INFO:teuthology.orchestra.run.smithi160.stdout:--> Processing Dependency: python-adal for package: python2-kubernetes-8.0.0-6.el7.noarch 2019-02-11T15:18:42.794 INFO:teuthology.orchestra.run.smithi160.stdout:--> Finished Dependency Resolution 2019-02-11T15:18:42.927 INFO:teuthology.orchestra.run.smithi160.stdout:Error: Package: python2-kubernetes-8.0.0-6.el7.noarch (epel) 2019-02-11T15:18:42.927 INFO:teuthology.orchestra.run.smithi160.stdout: Requires: python-adal The python-adal package seems to be part of the base centos7 repo: Available Packages Name : python2-kubernetes Arch : noarch Version : 8.0.0 Release : 6.el7 Size : 1.0 M Repo : epel/x86_64 Summary : Kubernetes Python Client URL : https://pypi.python.org/pypi/kubernetes License : ASL 2.0 Description : Python client for the kubernetes API. ...but it does not seem to exist in RHEL7.5: 2019-02-11T15:18:42.524 INFO:teuthology.orchestra.run.smithi160.stdout:--> Processing Dependency: python-adal for package: python2-kubernetes-8.0.0-6.el7.noarch 2019-02-11T15:18:42.794 INFO:teuthology.orchestra.run.smithi160.stdout:--> Finished Dependency Resolution 2019-02-11T15:18:42.927 INFO:teuthology.orchestra.run.smithi160.stdout:Error: Package: python2-kubernetes-8.0.0-6.el7.noarch (epel) 2019-02-11T15:18:42.927 INFO:teuthology.orchestra.run.smithi160.stdout: Requires: python-adal Do we need to add some layered product under rhel7? Or is this just not present in RHEL7.5 and we need to update the rhel-based ceph qa to a newer release?
Red Hat shipped python-adal here: https://access.redhat.com/errata/RHEA-2018:1042 That package went into the "High Availability" and "Resilient Storage" addons for RHEL 7. It's not in RHEL 7 Server base. You'll need to enable the High Availability or Resilient Storage Addons on RHEL 7: subscription-manager repos --enable "rhel-ha-for-rhel-7-server-rpms" or subscription-manager repos --enable "rhel-rs-for-rhel-7-server-rpms"
Got it, thanks Ken. I guess we can call this NOTABUG then.
I think there's still an issue here with EPEL's docs not mentioning these two repos. I don't even know if they are widely available for RHEL subscribers. I've emailed https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org/thread/L4ZOKCPVTS4NSXYDQ43A2LCWMLCP6CEW/ today about this.
There's a new python-kubernetes waiting for karma/time that should make it installable without enabling these repos: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-828640479d You should be able to install it from epel-testing if you It's applying this patch: https://github.com/kubernetes-client/python/issues/645 https://github.com/kubernetes-client/python-base/pull/108 If you do enable the repos and install adal you can still use the AD functionality, otherwise not.
Jason, that is great! Thanks for letting us know.
As a result of the thread on epel-devel, I've updated the main EPEL wiki page to mention enabling the HA repo in addition to the Optional and Extras repos.