Hey Amit,
Thanks for the response. Here's what I've got:
Are your NFS exports permissions set correctly (probably yes if you
can see
something created on your share)?
Here's the perms on the folder (/mnt/ovirt on NFS server):
File: ovirt
Size: 2 Blocks: 1 IO Block: 512 directory
Device: 33h/51d Inode: 34 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 36/ vdsm) Gid: ( 36/kvmovirt)
Access: 2020-08-04 17:54:06.971018988 +0000
Modify: 2020-08-04 17:54:09.410982092 +0000
Change: 2020-08-04 17:54:09.410982092 +0000
Birth: -
Can you list your share contents with ls -lhZ?
Root of share:
drwxrwxr-x 4 vdsm kvmovirt ? 4 Aug 4 18:52 c6244268-aaeb-4b67-b12b-8a0e81d7c205
Inside of that:
drwxrwxr-x 2 vdsm kvmovirt ? 8 Aug 4 18:52 dom_md
drwxrwxr-x 2 vdsm kvmovirt ? 2 Aug 4 18:52 images
Can you share the full error trace from vdsm.log?
Here's what I see:
2020-08-04 13:52:58,695-0500 INFO (jsonrpc/1) [storage.xlease] Formatting index for
lockspace 'c6244268-aaeb-4b67-b12b-8a0e81d7c205' (version=1) (xlease:701)
2020-08-04 13:52:58,767-0500 INFO (jsonrpc/1) [storage.StorageDomain] Creating domain
images directory
'/rhev/data-center/mnt/storage01:_mnt_ovirt/c6244268-aaeb-4b67-b12b-8a0e81d7c205/images'
(nfsSD:110)
2020-08-04 13:52:58,817-0500 INFO (jsonrpc/1) [storage.StorageDomain] Removing remnants
of deleted images [] (fileSD:735)
2020-08-04 13:52:58,819-0500 ERROR (jsonrpc/1) [storage.initSANLock] Cannot initialize
SANLock for domain c6244268-aaeb-4b67-b12b-8a0e81d7c205 (clusterlock:259)
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/vdsm/storage/clusterlock.py", line 250,
in initSANLock
lockspace_name, idsPath, align=alignment, sector=block_size)
sanlock.SanlockException: (19, 'Sanlock lockspace write failure', 'No such
device')
2020-08-04 13:52:58,819-0500 INFO (jsonrpc/1) [vdsm.api] FINISH createStorageDomain
error=Could not initialize cluster lock: () from=::ffff:192.168.222.200,37322,
flow_id=228288c7, task_id=6bb381fd-9620-46bd-8c9a-0c6206e2cea4 (api:52)
2020-08-04 13:52:58,819-0500 ERROR (jsonrpc/1) [storage.TaskManager.Task]
(Task='6bb381fd-9620-46bd-8c9a-0c6206e2cea4') Unexpected error (task:880)
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/vdsm/storage/clusterlock.py", line 250,
in initSANLock
lockspace_name, idsPath, align=alignment, sector=block_size)
sanlock.SanlockException: (19, 'Sanlock lockspace write failure', 'No such
device')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/vdsm/storage/task.py", line 887, in _run
return fn(*args, **kargs)
File "<decorator-gen-121>", line 2, in createStorageDomain
File "/usr/lib/python3.6/site-packages/vdsm/common/api.py", line 50, in method
ret = func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/vdsm/storage/hsm.py", line 2644, in
createStorageDomain
max_hosts=max_hosts)
File "/usr/lib/python3.6/site-packages/vdsm/storage/nfsSD.py", line 120, in
create
fsd.initSPMlease()
File "/usr/lib/python3.6/site-packages/vdsm/storage/sd.py", line 999, in
initSPMlease
return self._manifest.initDomainLock()
File "/usr/lib/python3.6/site-packages/vdsm/storage/sd.py", line 627, in
initDomainLock
self._domainLock.initLock(self.getDomainLease())
File "/usr/lib/python3.6/site-packages/vdsm/storage/clusterlock.py", line 308,
in initLock
block_size=self._block_size)
File "/usr/lib/python3.6/site-packages/vdsm/storage/clusterlock.py", line 260,
in initSANLock
raise se.ClusterLockInitError()
vdsm.storage.exception.ClusterLockInitError: Could not initialize cluster lock: ()
2020-08-04 13:52:58,819-0500 INFO (jsonrpc/1) [storage.TaskManager.Task]
(Task='6bb381fd-9620-46bd-8c9a-0c6206e2cea4') aborting: Task is aborted:
'value=Could not initialize cluster lock: () abortedcode=701' (task:1190)
2020-08-04 13:52:58,819-0500 ERROR (jsonrpc/1) [storage.Dispatcher] FINISH
createStorageDomain error=Could not initialize cluster lock: () (dispatcher:83)
2020-08-04 13:52:58,819-0500 INFO (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC call
StorageDomain.create failed (error 701) in 0.79 seconds (__init__:312)
2020-08-04 13:52:58,918-0500 INFO (jsonrpc/7) [vdsm.api] START
disconnectStorageServer(domType=1, spUUID='00000000-0000-0000-0000-000000000000',
conList=[{'password': '********', 'protocol_version':
'auto', 'port': '', 'iqn': '',
'connection': 'storage01:/mnt/ovirt',
'ipv6_enabled':'false', 'id':
'49d6da66-aecb-442e-9852-4c91f6440182', 'user': '',
'tpgt': '1'}], options=None) from=::ffff:192.168.222.200,37322,
flow_id=55c0cda3-5d44-4cd8-8020-47893c09ad5f, task_id=c2ecd861-39d7-4dc0-aca2-938794adefcb
(api:48)
2020-08-04 13:52:58,918-0500 INFO (jsonrpc/7) [storage.Mount] unmounting
/rhev/data-center/mnt/storage01:_mnt_ovirt (mount:215)
2020-08-04 13:52:58,961-0500 INFO (jsonrpc/7) [storage.StorageDomainCache] Refreshing
storage domain cache (resize=False) (sdc:80)
2020-08-04 13:52:58,961-0500 INFO (jsonrpc/7) [storage.ISCSI] Scanning iSCSI devices
(iscsi:442)
2020-08-04 13:52:58,986-0500 INFO (jsonrpc/7) [storage.ISCSI] Scanning iSCSI devices:
0.02 seconds (utils:390)
2020-08-04 13:52:58,986-0500 INFO (jsonrpc/7) [storage.HBA] Scanning FC devices (hba:60)
2020-08-04 13:52:58,988-0500 INFO (jsonrpc/4) [api.host] START getAllVmStats()
from=::ffff:192.168.222.200,37322 (api:48)
2020-08-04 13:52:58,989-0500 INFO (jsonrpc/4) [api.host] FINISH getAllVmStats
return={'status': {'code': 0, 'message': 'Done'},
'statsList': (suppressed)} from=::ffff:192.168.222.200,37322 (api:54)
2020-08-04 13:52:58,989-0500 INFO (jsonrpc/4) [jsonrpc.JsonRpcServer] RPC call
Host.getAllVmStats succeeded in 0.00 seconds (__init__:312)
2020-08-04 13:52:59,038-0500 INFO (jsonrpc/7) [storage.HBA] Scanning FC devices: 0.05
seconds (utils:390)
2020-08-04 13:52:59,049-0500 INFO (jsonrpc/7) [storage.StorageDomainCache] Refreshing
storage domain cache: 0.09 seconds (utils:390)
2020-08-04 13:52:59,049-0500 INFO (jsonrpc/7) [vdsm.api] FINISH disconnectStorageServer
return={'statuslist': [{'id':
'49d6da66-aecb-442e-9852-4c91f6440182', 'status': 0}]}
from=::ffff:192.168.222.200,37322, flow_id=55c0cda3-5d44-4cd8-8020-47893c09ad5f,
task_id=c2ecd861-39d7-4dc0-aca2-938794adefcb (api:54)