From 538f94cf168cbccab2331197c1a7a1fe8b954847 Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Thu, 25 Jan 2024 13:13:41 +0530 Subject: [PATCH] vstart: add nvmeof_gw to the vstart script so that it can be later used by the dashboard to configure the nvmeof through UI and create rbd pool in UI Fixes: https://tracker.ceph.com/issues/64201 Signed-off-by: Nizamudeen A --- ceph.spec.in | 6 ++++++ src/vstart.sh | 10 +++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index d061803099e..139c462eef7 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -625,14 +625,20 @@ Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: ceph-grafana-dashboards = %{_epoch_prefix}%{version}-%{release} Requires: ceph-prometheus-alerts = %{_epoch_prefix}%{version}-%{release} Requires: python%{python3_pkgversion}-setuptools +%if 0%{?fedora} || 0%{?rhel} >= 9 Requires: python%{python3_pkgversion}-grpcio Requires: python%{python3_pkgversion}-grpcio-tools +%endif %if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler} Requires: python%{python3_pkgversion}-cherrypy Requires: python%{python3_pkgversion}-routes Requires: python%{python3_pkgversion}-werkzeug %if 0%{?weak_deps} Recommends: python%{python3_pkgversion}-saml +%if 0%{?fedora} || 0%{?rhel} <= 8 +Recommends: python%{python3_pkgversion}-grpcio +Recommends: python%{python3_pkgversion}-grpcio-tools +%endif %endif %endif %if 0%{?suse_version} diff --git a/src/vstart.sh b/src/vstart.sh index 0c9ef323779..2317d5da605 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -206,7 +206,7 @@ inc_osd_num=0 msgr="21" read -r -d '' usage <