Change in vdsm[master]: spec: configure multipath on upgrade
ykaplan at redhat.com
ykaplan at redhat.com
Mon Mar 23 17:25:00 UTC 2015
Yeela Kaplan has uploaded a new change for review.
Change subject: spec: configure multipath on upgrade
......................................................................
spec: configure multipath on upgrade
Use vdsm-tool to configure vdsm on upgrade -
post uninstall.
If we don't vdsm fails to start automatically
after start.
Change-Id: I57bb4ea9c4ffa06f72240d1903e2ca8804084513
Signed-off-by: Yeela Kaplan <ykaplan at redhat.com>
---
M vdsm.spec.in
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/64/39064/1
diff --git a/vdsm.spec.in b/vdsm.spec.in
index 59f6270..8cc7ce7 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -930,6 +930,12 @@
supervdsmd_start_required='yes'
fi
+ if ! %{_bindir}/vdsm-tool is-configured --module multipath >/dev/null 2>&1;
+ then
+ %{_bindir}/vdsm-tool configure --module multipath --force \
+ >/dev/null 2>&1;
+ fi
+
if ! %{_bindir}/vdsm-tool is-configured --module libvirt >/dev/null 2>&1;
then
if ! %{_bindir}/vdsm-tool configure --module libvirt --force \
--
To view, visit https://gerrit.ovirt.org/39064
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I57bb4ea9c4ffa06f72240d1903e2ca8804084513
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <ykaplan at redhat.com>
More information about the vdsm-patches
mailing list