On Wed, Jul 29, 2020, 12:09 Dana Elfassy <delfassy(a)redhat.com> wrote:
Hi,
When I'm trying to add a storage domain via the webadmin I'm getting the
error message that's on the subject.
in the vdsm.log I see this error:
2020-07-29 04:53:48,045-0400 ERROR (check/loop) [storage.Monitor] Error
checking path
/rhev/data-center/mnt/vserver-spider.eng.lab.tlv.redhat.com:_pub_delfassy_nfs__42/17093147-8e4b-4161-9ae3-4d4606b140df/dom_md/metadata
(monitor:525)
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/vdsm/storage/monitor.py", line
523, in _pathChecked
delay = result.delay()
File "/usr/lib/python3.6/site-packages/vdsm/storage/check.py", line 391,
in delay
raise exception.MiscFileReadException(self.path, self.rc, self.err)
vdsm.storage.exception.MiscFileReadException: Internal file read failure:
('/rhev/data-center/mnt/vserver-spider.eng.lab.tlv.redhat.com:_pub_delfassy_nfs__42/17093147-8e4b-4161-9ae3-4d4606b140df/dom_md/metadata',
1, bytearray(b"/usr/bin/dd: failed to open
\'/rhev/data-center/mnt/vserver-spider.eng.lab.tlv.redhat.com:_pub_delfassy_nfs__42/17093147-8e4b-4161-9ae3-4d4606b140df/dom_md/metadata\':
No such file or directory\n"))
This means the metadata file was not accessible when the monitor tried to
read.
Does it happen now?
Anyway this is not the unexpected error that failed the operation.
Can you share vdsm log showing the original error?
when looking at the directory I do see that metadata was created
under
this directory, with the following content:
[delfassy@delfassy mnt]$ cd
new_nfs/cddff7bb-bb0a-4fc8-8ba4-023be91d822d/dom_md/
[delfassy@delfassy dom_md]$ less metadata
CLASS=Data
DESCRIPTION=spider
IOOPTIMEOUTSEC=10
LEASERETRIES=3
LEASETIMESEC=60
LOCKPOLICY=
LOCKRENEWALINTERVALSEC=5
POOL_UUID=
REMOTE_PATH=vserver-spider.eng.lab.tlv.redhat.com:/pub/delfassy/new_nfs
ROLE=Regular
SDUUID=cddff7bb-bb0a-4fc8-8ba4-023be91d822d
TYPE=NFS
VERSION=4
_SHA_CKSUM=f4953016c94f205127b00a5b10f0e7d5d9cf24f7
Looks correct
The permissions on the directory are:
drwxrwxrwx. 3 vdsm kvm 4096 Jul 29 11:49 new_mnt
You don't need 0777, 0750 should work.
ls -lhZ?
Are there any other configurations I'm missing? Any idea how this
issue
can be resolved?
Thanks,
Dana
_______________________________________________
Devel mailing list -- devel(a)ovirt.org
To unsubscribe send an email to devel-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/L6MUN6YP74W...