Bug 852104

Summary: vdsm problem on RHEL with sanlock 2.3
Product: Red Hat Enterprise Linux 6 Reporter: Laszlo Hornyak <lhornyak>
Component: vdsmAssignee: Federico Simoncelli <fsimonce>
Status: CLOSED WORKSFORME QA Contact: Haim <hateya>
Severity: high Docs Contact:
Priority: high    
Version: 6.3CC: abaron, acathrow, bazulay, danken, dfediuck, dyasny, iheim, lpeer, mgoldboi, yeylon, ykaul
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-30 11:10:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Laszlo Hornyak 2012-08-27 15:58:22 UTC
While VDSM is packaged with sanlock 2.3 for RHEL, sanlock 2.3-3 does not accept 'wait' parameter in inq_lockspace call. This causes the functionality to fail always.

https://lists.fedorahosted.org/pipermail/vdsm-devel/2012-August/001369.html

Comment 3 Federico Simoncelli 2012-08-28 08:56:49 UTC
The 'wait' parameter for inq_lockspace was backported in sanlock 2.3-3 as part of rhbz#841995.

* Tue Jul 24 2012 David Teigland <teigland> - 2.3-3
- Resolves: rhbz#841991 rhbz#840955 rhbz#841992 rhbz#841994 rhbz#841995 rhbz#840953 rhbz#842764

Please reopen if you have any log or evidence of the issue (reporting also all the components versions).

Comment 4 Laszlo Hornyak 2012-08-28 09:08:36 UTC
log:

d1a640e1-5932-46f5-becf-99e8177db4dc::ERROR::2012-08-28 07:53:36,991::task::833::TaskManager.Task::(_setError) Task=`d1a640e1-5932-46f5-becf-99e8177db4dc`::Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 840, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/storage/task.py", line 307, in run
    return self.cmd(*self.argslist, **self.argsdict)
  File "/usr/share/vdsm/storage/sp.py", line 252, in startSpm
    self.masterDomain.acquireHostId(self.id)
  File "/usr/share/vdsm/storage/sd.py", line 427, in acquireHostId
    self._clusterLock.acquireHostId(hostId, async)
  File "/usr/share/vdsm/storage/safelease.py", line 170, in acquireHostId
    self._sdUUID, hostId, self._idsPath, wait=True):
TypeError: 'wait' is an invalid keyword argument for this function
d1a640e1-5932-46f5-becf-99e8177db4dc::DEBUG::2012-08-28 07:53:36,991::task::852::TaskManager.Task::(_run) Task=`d1a640e1-5932-46f5-becf-99e8177db4dc`::Task._run: d1a640e1-5932-46f5-becf-99e8177db4dc () {} failed - stopping task

Comment 5 Federico Simoncelli 2012-08-28 09:25:34 UTC
Please provide at least the component (sanlock) information:
$ rpm -qi sanlock sanlock-python

Comment 6 Federico Simoncelli 2012-08-29 10:40:35 UTC
Please report both:

$ rpm -qi sanlock sanlock-python
$ python -c "import sanlock;print sanlock.inq_lockspace.__doc__"