Bug 968891
Summary: | Attaching NFS storage domain failed with 'Sanlock lockspace add failure' | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Katarzyna Jachim <kjachim> | ||||
Component: | ovirt-engine | Assignee: | Nobody's working on this, feel free to take it <nobody> | ||||
Status: | CLOSED NOTABUG | QA Contact: | |||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.2.0 | CC: | acathrow, amureini, dron, dyasny, iheim, lpeer, ncredi, Rhev-m-bugs, yeylon, ykaul | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.2.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | storage | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-05-30 12:32:02 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Katarzyna Jachim
2013-05-30 08:33:02 UTC
its not a bug. sanlock is doing what its suppose to do. we have a race here. the create and connect of the Pool was still holding the lock on the master domain. when a second domain will be added sanlock cannot acquire lock and add domain will fail. closing as not a bug. below is the thread from sanlock log showing the race on the locks where this is the first domain: 28a3f1a9-7e8d-4b4b-8c69-1410f769aedc and this is the second domain: 795c691b-0aaf-4068-bb29-8ad969bc936a. 2013-05-30 01:16:50+0300 22 [2592]: sanlock daemon started 2.6 host 104b6509-03c1-43c3-8d80-488158a1809e.puma19.scl 2013-05-30 01:18:42+0300 133 [2597]: s1 lockspace 28a3f1a9-7e8d-4b4b-8c69-1410f769aedc:250:/rhev/data-center/mnt/10.35.64.106:_fastpass_jenkins-vm-01__nfs__2013__05__30__1__12__36__484978/28a3f1a9-7e8d-4b4b-8c69-1410f769aedc/dom_md/ids:0 2013-05-30 01:19:03+0300 154 [2598]: s1:r1 resource 28a3f1a9-7e8d-4b4b-8c69-1410f769aedc:SDM:/rhev/data-center/mnt/10.35.64.106:_fastpass_jenkins-vm-01__nfs__2013__05__30__1__12__36__484978/28a3f1a9-7e8d-4b4b-8c69-1410f769aedc/dom_md/leases:1048576 for 3,12,3729 2013-05-30 01:19:10+0300 161 [2598]: s2 lockspace 28a3f1a9-7e8d-4b4b-8c69-1410f769aedc:1:/rhev/data-center/mnt/10.35.64.106:_fastpass_jenkins-vm-01__nfs__2013__05__30__1__12__36__484978/28a3f1a9-7e8d-4b4b-8c69-1410f769aedc/dom_md/ids:0 2013-05-30 01:19:31+0300 182 [2597]: s2:r2 resource 28a3f1a9-7e8d-4b4b-8c69-1410f769aedc:SDM:/rhev/data-center/mnt/10.35.64.106:_fastpass_jenkins-vm-01__nfs__2013__05__30__1__12__36__484978/28a3f1a9-7e8d-4b4b-8c69-1410f769aedc/dom_md/leases:1048576 for 3,12,3729 2013-05-30 01:19:43+0300 194 [2597]: s3 lockspace 795c691b-0aaf-4068-bb29-8ad969bc936a:1:/rhev/data-center/mnt/10.35.64.106:_fastpass_jenkins-vm-01__nfs__2013__05__30__1__12__37__925681/795c691b-0aaf-4068-bb29-8ad969bc936a/dom_md/ids:0 2013-05-30 01:20:13+0300 224 [6557]: 795c691b aio timeout 0 0x7f33e80008c0:0x7f33e80008d0:0x7f33e8101000 ioto 10 to_count 1 2013-05-30 01:20:13+0300 224 [6557]: read_sectors delta_leader offset 0 rv -202 /rhev/data-center/mnt/10.35.64.106:_fastpass_jenkins-vm-01__nfs__2013__05__30__1__12__37__925681/795c691b-0aaf-4068-bb29-8ad969bc936a/dom_md/ids 2013-05-30 01:20:18+0300 229 [6557]: 795c691b aio collect 0x7f33e80008c0:0x7f33e80008d0:0x7f33e8101000 result 512:0 close free 2013-05-30 01:20:18+0300 229 [2597]: s3 add_lockspace fail result -202 2013-05-30 01:20:43+0300 254 [2598]: s4 lockspace 28a3f1a9-7e8d-4b4b-8c69-1410f769aedc:1:/rhev/data-center/mnt/10.35.64.106:_fastpass_jenkins-vm-01__nfs__2013__05__30__1__12__36__484978/28a3f1a9-7e8d-4b4b-8c69-1410f769aedc/dom_md/ids:0 2013-05-30 01:21:05+0300 276 [2597]: s4:r3 resource 28a3f1a9-7e8d-4b4b-8c69-1410f769aedc:SDM:/rhev/data-center/mnt/10.35.64.106:_fastpass_jenkins-vm-01__nfs__2013__05__30__1__12__36__484978/28a3f1a9-7e8d-4b4b-8c69-1410f769aedc/dom_md/leases:1048576 for 3,12,3729 |