Change in vdsm[ovirt-3.6.0]: init: configure multipath on upgrade from ovirt-3.5

ykaplan at redhat.com ykaplan at redhat.com
Mon Nov 2 11:55:52 UTC 2015


Yeela Kaplan has uploaded a new change for review.

Change subject: init: configure multipath on upgrade from ovirt-3.5
......................................................................

init: configure multipath on upgrade from ovirt-3.5

multipath configurator was added to vdsm-tool
in ovirt-3.6.
In case we upgrade from ovirt-3.5 we now run configure of
module multipath in init script.

Change-Id: Ifbebdebb6bda25606b20d91804977fa8eb7f13e8
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1276736
Signed-off-by: Yeela Kaplan <ykaplan at redhat.com>
---
M init/vdsmd_init_common.sh.in
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/57/47957/1

diff --git a/init/vdsmd_init_common.sh.in b/init/vdsmd_init_common.sh.in
index 00e4054..8dccec4 100644
--- a/init/vdsmd_init_common.sh.in
+++ b/init/vdsmd_init_common.sh.in
@@ -259,6 +259,10 @@
              # by running manual configure command
              "$VDSM_TOOL" configure --force
              ret=$?
+        elif grep -q '^vdsm-4\.16\.' "${upgraded_ver_file}"; then
+             # REQUIRED_FOR upgrade from vdsm-4.16.z
+             "$VDSM_TOOL" configure --module multipath
+             ret=$?
         fi
         [ "${ret}" -eq 0 ] && rm -f "${upgraded_ver_file}"
     fi


-- 
To view, visit https://gerrit.ovirt.org/47957
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifbebdebb6bda25606b20d91804977fa8eb7f13e8
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.6.0
Gerrit-Owner: Yeela Kaplan <ykaplan at redhat.com>


More information about the vdsm-patches mailing list