Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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/RHEA-2011-1782.html
Description of problem: SPM start fails as host fails to acquire resource on pool stating that resource is already locked, problem is, its not, and resource is not locked. 771aa94b-7d56-4dde-9650-9bb25f58a3cd::DEBUG::2011-05-01 15:38:50,609::persistentDict::208::Storage.PersistentDict::(refresh) read lines (LvMetadataRW)=['CLASS= Data', 'DESCRIPTION=PG-NEG-1', 'IOOPTIMEOUTSEC=10', 'LEASERETRIES=3', 'LEASETIMESEC=60', 'LOCKPOLICY=', 'LOCKRENEWALINTERVALSEC=5', 'MASTER_VERSION=1', 'POOL_D ESCRIPTION=PG-iSCS-Neg', 'POOL_DOMAINS=99c8e8a3-949e-4c10-9078-b916471f51c6:Active', 'POOL_SPM_ID=-1', 'POOL_SPM_LVER=0', 'POOL_UUID=4004bae1-9a5d-4dd1-a13c-98 f77cf58cbf', 'PV0=pv:1RH-NEG-00003,uuid:B1I5bd-CF5T-RyK7-4SFB-DA87-MwSS-LHtlcZ,pestart:0,pecount:158,mapoffset:0', 'ROLE=Master', 'SDUUID=99c8e8a3-949e-4c10-90 78-b916471f51c6', 'TYPE=ISCSI', 'VERSION=0', 'VGUUID=YDd1YG-4tz9-3KBu-6sHG-r69u-s92p-ZQIBPp', '_SHA_CKSUM=31a8c82eeb41b9cd50b010927aff49c127ea5bdd'] 771aa94b-7d56-4dde-9650-9bb25f58a3cd::ERROR::2011-05-01 15:38:50,610::task::855::TaskManager.Task::(_setError) Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 863, in _run return fn(*args, **kargs) File "/usr/share/vdsm/storage/task.py", line 300, in run return self.cmd(*self.argslist, **self.argsdict) File "/usr/share/vdsm/storage/spm.py", line 509, in start pool.acquireClusterLock() File "/usr/share/vdsm/storage/sp.py", line 200, in acquireClusterLock msd.acquireClusterLock(self.id) File "/usr/share/vdsm/storage/sd.py", line 363, in acquireClusterLock self._clusterLock.acquire(hostID) File "/usr/share/vdsm/storage/safelease.py", line 53, in acquire raise se.DomainAlreadyLocked(self._sdUUID) DomainAlreadyLocked: Cannot acquire lock, resource marked as locked: ('99c8e8a3-949e-4c10-9078-b916471f51c6',) metadata: 1+0 records in 1+0 records out 2048 bytes (2.0 kB) copied, 0.00224396 s, 913 kB/s CLASS=Data DESCRIPTION=PG-NEG-1 IOOPTIMEOUTSEC=10 LEASERETRIES=3 LEASETIMESEC=60 LOCKPOLICY= LOCKRENEWALINTERVALSEC=5 MASTER_VERSION=1 POOL_DESCRIPTION=PG-iSCS-Neg POOL_DOMAINS=99c8e8a3-949e-4c10-9078-b916471f51c6:Active POOL_SPM_ID=-1 POOL_SPM_LVER=0 POOL_UUID=4004bae1-9a5d-4dd1-a13c-98f77cf58cbf PV0=pv:1RH-NEG-00003,uuid:B1I5bd-CF5T-RyK7-4SFB-DA87-MwSS-LHtlcZ,pestart:0,pecount:158,mapoffset:0 ROLE=Master SDUUID=99c8e8a3-949e-4c10-9078-b916471f51c6 TYPE=ISCSI VERSION=0 VGUUID=YDd1YG-4tz9-3KBu-6sHG-r69u-s92p-ZQIBPp _SHA_CKSUM=31a8c82eeb41b9cd50b010927aff49c127ea5bdd repro steps: - used command dmsetup remove_all