Dan Kenigsberg has posted comments on this change.
Change subject: init: configure multipath on upgrade from ovirt-3.5
......................................................................
Patch Set 1:
(2 comments)
https://gerrit.ovirt.org/#/c/47941/1/init/vdsmd_init_common.sh.in
File init/vdsmd_init_common.sh.in:
Line 256: local ret=0
Line 257: if grep -q '^vdsm-4\.10\.' "${upgraded_ver_file}";
then
Line 258: # We need to treat the upgrade from 4.10.x specifically
Line 259: # by running manual configure command
Line 260: "$VDSM_TOOL" configure --force
we should remove that. we need to add the REQUIRED_FOR here
Correct.
# REQUIRED_FOR upgrade from vdsm-4.16.z
is the standard way to say this.
Line 261: ret=$?
Line 262: elif grep -q '^vdsm-4\.16\.' "${upgraded_ver_file}";
then
Line 263: # We need to treat the upgrade from 4.16.x specifically
Line 264: # by running manual multipath configure command
Line 261: ret=$?
Line 262: elif grep -q '^vdsm-4\.16\.' "${upgraded_ver_file}";
then
Line 263: # We need to treat the upgrade from 4.16.x specifically
Line 264: # by running manual multipath configure command
Line 265: "$VDSM_TOOL" configure --module multipath
don't we want to configure all if we already do that? and then
you can merg
if we can avoid restarting libvirtd, I think that we should.
Line 266: ret=$?
Line 267: fi
Line 268: [ "${ret}" -eq 0 ] && rm -f
"${upgraded_ver_file}"
Line 269: fi
--
To view, visit
https://gerrit.ovirt.org/47941
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifbebdebb6bda25606b20d91804977fa8eb7f13e8
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <ykaplan(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Mooli Tayer <mtayer(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: Yeela Kaplan <ykaplan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-HasComments: Yes