Running oVirt 4.2.
Creating a NFS storage domain, creates but fails with: Failed with error 
AcquireHostIdFailure

Now, this is a new install of openmediavault.  I can ssh from the oVirt server, 
access the NFS share (its mounted) and can create files etc.  I'm sure its 
something small I'm overlooking.

Log output below:
messages:

Feb  4 22:19:09 santa sanlock[948]: 2018-02-04 22:19:09 45660 [18976]: open 
error -13 
/rhev/data-center/mnt/openmediavault.themagicm.com:_webserver__backups/1a7d0d5c-fdfa-4010-aa6d-47cbcf473e3f/dom_md/ids
Feb  4 22:19:09 santa sanlock[948]: 2018-02-04 22:19:09 45660 [18976]: s7 
open_disk 
/rhev/data-center/mnt/openmediavault.themagicm.com:_webserver__backups/1a7d0d5c-fdfa-4010-aa6d-47cbcf473e3f/dom_md/ids
 error -13
Feb  4 22:19:10 santa sanlock[948]: 2018-02-04 22:19:10 45661 [955]: s7 
add_lockspace fail result -19

vdsm.log:
2018-02-04 22:17:19,245-0600 ERROR (jsonrpc/2) [storage.TaskManager.Task] 
(Task='42eff5b1-5be9-4839-b613-f38c8c921d2f') Unexpected error (task:875)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 882, in 
_run
    return fn(*args, **kargs)
  File "<string>", line 2, in attachStorageDomain
  File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in method
    ret = func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 1197, in 
attachStorageDomain
    pool.attachSD(sdUUID)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line 79, 
in wrapper
    return method(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/sp.py", line 982, in 
attachSD
    dom.acquireHostId(self.id)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/sd.py", line 797, in 
acquireHostId
    self._manifest.acquireHostId(hostId, async)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/sd.py", line 453, in 
acquireHostId
    self._domainLock.acquireHostId(hostId, async)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/clusterlock.py", line 
315, in acquireHostId
    raise se.AcquireHostIdFailure(self._sdUUID, e)
AcquireHostIdFailure: Cannot acquire host id: 
(u'45e2c87e-f006-42f5-a672-e2640e739c80', SanlockException(19, 'Sanlock 
lockspace add failure', 'No such device'))
2018-02-04 22:17:19,246-0600 INFO  (jsonrpc/2) [storage.TaskManager.Task] 
(Task='42eff5b1-5be9-4839-b613-f38c8c921d2f') aborting: Task is aborted: 
"Cannot acquire host id: (u'45e2c87e-f006-42f5-a672-e2640e739c80', 
SanlockException(19, 'Sanlock lockspace add failure', 'No such device'))" - 
code 661 (task:1181)
2018-02-04 22:17:19,247-0600 ERROR (jsonrpc/2) [storage.Dispatcher] FINISH 
attachStorageDomain error=Cannot acquire host id: 
(u'45e2c87e-f006-42f5-a672-e2640e739c80', SanlockException(19, 'Sanlock 
lockspace add failure', 'No such device')) (dispatcher:82)
2018-02-04 22:17:19,247-0600 INFO  (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC call 
StorageDomain.attach failed (error 661) in 1.01 seconds (__init__:573)

sanlock.log:

2018-02-04 22:14:02 45353 [955]: s5 lockspace 
2eb84e24-151d-4277-a680-3a081b3dde67:1:/rhev/data-center/mnt/openmediavault.themagicm.com:_webserver__backups/2eb84e24-151d-4277-a680-3a081b3dde67/dom_md/ids:0
2018-02-04 22:14:02 45353 [18524]: open error -13 
/rhev/data-center/mnt/openmediavault.themagicm.com:_webserver__backups/2eb84e24-151d-4277-a680-3a081b3dde67/dom_md/ids
2018-02-04 22:14:02 45353 [18524]: s5 open_disk 
/rhev/data-center/mnt/openmediavault.themagicm.com:_webserver__backups/2eb84e24-151d-4277-a680-3a081b3dde67/dom_md/ids
 error -13
2018-02-04 22:14:03 45354 [955]: s5 add_lockspace fail result -19

Sent with [ProtonMail](https://protonmail.com) Secure Email.
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to