RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 852104 - vdsm problem on RHEL with sanlock 2.3
Summary: vdsm problem on RHEL with sanlock 2.3
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.3
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Federico Simoncelli
QA Contact: Haim
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-27 15:58 UTC by Laszlo Hornyak
Modified: 2014-01-13 00:54 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-30 11:10:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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__"


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