From Dan Kenigsberg <danken(a)redhat.com>:
Dan Kenigsberg has submitted this change and it was merged.
Change subject: spec: Handle VDSM services restart on upgrade to posttrans
......................................................................
spec: Handle VDSM services restart on upgrade to posttrans
VDSM services restart has been handled upon upgrade at the postun stage,
which is triggering the scriptlets of the source/old version.
In order to support upgrades with new logic, the scriptlets should run
based on the new version.
Therefore, the handling has been moved to the posttrans step, which
belongs and runs as part of the new version at the end of the
transaction.
Side effect: Upgrades from versions that predates 4.2 will have the
service restart occuring twice, once at the old version postun step and
once in the new posttrans step.
Change-Id: I16793ff6ca1fcf596f57b459fa4ed348a879b104
Bug-Url:
https://bugzilla.redhat.com/1457889
Signed-off-by: Edward Haas <edwardh(a)redhat.com>
---
M vdsm.spec.in
1 file changed, 3 insertions(+), 2 deletions(-)
Approvals:
Piotr Kliczewski: Looks good to me, approved
Yaniv Bronhaim: Verified; Looks good to me, but someone else must approve
Jenkins CI: Passed CI tests
Edward Haas: Verified
--
To view, visit
https://gerrit.ovirt.org/77785
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I16793ff6ca1fcf596f57b459fa4ed348a879b104
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Edward Haas <edwardh(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Edward Haas <edwardh(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>