]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: re-add pyOpenSSL as ceph-mgr runtime dependency 26719/head
authorNathan Cutler <ncutler@suse.com>
Wed, 27 Feb 2019 08:26:48 +0000 (09:26 +0100)
committerNathan Cutler <ncutler@suse.com>
Fri, 1 Mar 2019 14:25:22 +0000 (15:25 +0100)
The "restful" MGR module is part of ceph-mgr, and is active by default when
deploying a Ceph cluster from scratch.

Without this patch, the cluster never reaches HEALTH_OK due to the following
health warning: "Module 'restful' has failed dependency: No module named
'OpenSSL'"

Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in

index a12ceade0f7e36ab58031c2110ec4c07fe6ab9ea..0ffa5da0d140797b89cd9b732eda70f88ee22ab6 100644 (file)
@@ -445,6 +445,11 @@ Recommends:        ceph-mgr-diskprediction-cloud = %{_epoch_prefix}%{version}-%{release
 Recommends:    ceph-mgr-rook = %{_epoch_prefix}%{version}-%{release}
 Recommends:    ceph-mgr-ssh = %{_epoch_prefix}%{version}-%{release}
 %endif
+%if 0%{?rhel} == 7
+Requires:       pyOpenSSL
+%else
+Requires:       python%{_python_buildid}-pyOpenSSL
+%endif
 %description mgr
 ceph-mgr enables python modules that provide services (such as the REST
 module derived from Calamari) and expose CLI hooks.  ceph-mgr gathers