Bug 1080931 - vdsm libvirt and sanlock daemons need to be restarted after upgrading to sanlock 2.8
Summary: vdsm libvirt and sanlock daemons need to be restarted after upgrading to sanl...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 3.4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: 3.4.0
Assignee: Federico Simoncelli
QA Contact: Elad
URL:
Whiteboard: storage
Depends On: 1054902
Blocks: 1084946
TreeView+ depends on / blocked
 
Reported: 2014-03-26 10:34 UTC by Federico Simoncelli
Modified: 2019-04-28 09:22 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, a package update would lead to version errors in the sanlock command, because the daemon cannot be stopped while in use. Now, the documentation recommends restarting the host to ensure all updates are correctly applied.
Clone Of: 1054902
: 1084946 (view as bug list)
Environment:
Last Closed: 2014-06-09 13:29:50 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
amureini: Triaged+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0504 0 normal SHIPPED_LIVE vdsm 3.4.0 bug fix and enhancement update 2014-06-09 17:21:35 UTC

Comment 1 Federico Simoncelli 2014-03-26 10:50:45 UTC
Since the sanlock IPC id have changed between version 2.6 and 2.8 (see bug 1054902) it is required to restart vdsm, libvirt and sanlock daemons when upgrading to version 2.8.

According to the current RHEV 3.3 documentation the rhel host should be in maintenance mode when upgrading and the command to issue is:

 # yum update

If the documentation steps are followed correctly and the host is really in maintenance no problem should arise.

It is strongly suggested to check that vdsm, libvirt and sanlock daemons are restarted after the yum update command finished (check the pids before and after the command). If a new kernel was installed and for extra-safety rebooting the machine is strongly suggested (already mentioned in the current documentation).

Sanlock 2.8 was not enforced in RHEV 3.3 so if the documentation was not followed and the update command used was:

 # yum update vdsm

then the same issue may potentially arise in RHEV 3.4 as well. Anyway following again the documentation will prevent any problem.

Note: hypervisors are not affected by this issue.

Comment 2 Allon Mureinik 2014-04-02 08:52:47 UTC
This is a doc-only bug.
Action items: 
1. docs team should provide the doc-text as per the flag.
2. QA should verify the procedure in comment 1 works correctly.

Comment 4 Elad 2014-04-22 13:22:49 UTC
After upgrading sanlock from 2.6 to 2.8 using 'yum update' command, I restarted sanlock, libvirtd and vdsmd (while host was in maintenance) and activate the host in RHEVM, it went fine

Tested using a RHEL host with:
vdsm-4.13.2-0.7.el6ev.x86_64  (RHEV3.3-is33)
libvirt-0.10.2-29.el6_5.7.x86_64
Upgraded sanlock from sanlock-2.6-2.el6.x86_64 to sanlock-2.8-1.el6.x86_64

Comment 5 Elad 2014-04-22 13:36:50 UTC
Allon, we need to change the documentation:

Restart order is important, need to perform the following:
- put host to maintenance in RHEVM
- yum update
- restart sanlock
- restart libvirtd
- restart vdsmd
- activate the host in RHEVM

Comment 6 Allon Mureinik 2014-04-25 19:44:28 UTC
Jodi, I've update the suggested doctext as per Elad's comment 5.
Please advise if this is doable for 3.4, or if you need any additional information.

Comment 7 Jodi Biddle 2014-04-27 22:44:17 UTC
Hi Allon

The doc text field is for the inclusion of release notes and errata. I've raised a separate bug against the guides component for your request. 

https://bugzilla.redhat.com/show_bug.cgi?id=1091762

I've fixed it - I went with your suggestion of just changing it to tell customers to restart after updating. Much simpler.

Comment 8 errata-xmlrpc 2014-06-09 13:29:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0504.html


Note You need to log in before you can comment on or make changes to this bug.