Change in vdsm[ovirt-3.5]: Signs vdsm upgraded version for special treatment if required

ybronhei at redhat.com ybronhei at redhat.com
Mon Oct 13 15:57:55 UTC 2014


Yaniv Bronhaim has submitted this change and it was merged.

Change subject: Signs vdsm upgraded version for special treatment if required
......................................................................


Signs vdsm upgraded version for special treatment if required

In ovirt-3.2 (vdsm 4.10.x) we didn't perform vdsm-tool configure call
during uninstall. This cause failure on first vdsm run if configure is
required. This patch signs during pre installation the upgraded
package version by creating a file with the version string.
During init script we read this file and determine the required
operation. This patch only adds the treatment for 4.10.x which will
perform vdsm-configure call. After handling the upgrade we will remove
the file to avoid running the same operation on next reset.

Change-Id: I412dc9992675acbb9d03dfa645468789cfb6e65e
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1111935
Signed-off-by: Yaniv Bronhaim <ybronhei at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/31561
Reviewed-by: mooli tayer <mtayer at redhat.com>
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/33858
---
M init/vdsmd_init_common.sh.in
M vdsm.spec.in
2 files changed, 21 insertions(+), 0 deletions(-)

Approvals:
  Yaniv Bronhaim: Verified
  Dan Kenigsberg: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/33858
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I412dc9992675acbb9d03dfa645468789cfb6e65e
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: mooli tayer <mtayer at redhat.com>


More information about the vdsm-patches mailing list