[ovirt-users] Re: VMs hang periodically: gluster problem?

2022-09-09 Thread Strahil Nikolov via Users
I suspect you have network issues.Check the gluster log for the client side 
/var/log/glusterfs/rhev-data-center-mnt-glusterSD-:_.log

 Best Regards,Strahil Nikolov 
 
  On Tue, Sep 6, 2022 at 17:19, Diego Ercolani wrote:   
I really don't understand, I was monitoring vdsm.log of one node (node2)
And I saw a complain:
2022-09-06 14:08:27,105+ ERROR (check/loop) [storage.monitor] Error 
checking path 
/rhev/data-center/mnt/glusterSD/ovirt-node2.ovirt:_gv1/45b4f14c-8323-482f-90ab-99d8fd610018/dom_md/metadata
 (monitor:511)
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/vdsm/storage/monitor.py", line 509, in 
_pathChecked
    delay = result.delay()
  File "/usr/lib/python3.6/site-packages/vdsm/storage/check.py", line 398, in 
delay
    raise exception.MiscFileReadException(self.path, self.rc, self.err)
vdsm.storage.exception.MiscFileReadException: Internal file read failure: 
('/rhev/data-center/mnt/glusterSD/ovirt-node2.ovirt:_gv1/45b4f14c-8323-482f-90ab-99d8fd610018/dom_md/metadata',
 1, 'Read timeout')
2022-09-06 14:08:27,105+ INFO  (check/loop) [storage.monitor] Domain 
45b4f14c-8323-482f-90ab-99d8fd610018 became INVALID (monitor:482)
2022-09-06 14:08:27,149+ ERROR (check/loop) [storage.monitor] Error 
checking path 
/rhev/data-center/mnt/glusterSD/localhost:_gv0/60b7f172-08ed-4a22-8414-31fd5b100d72/dom_md/metadata
 (monitor:511)
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/vdsm/storage/monitor.py", line 509, in 
_pathChecked
    delay = result.delay()
  File "/usr/lib/python3.6/site-packages/vdsm/storage/check.py", line 398, in 
delay
    raise exception.MiscFileReadException(self.path, self.rc, self.err)
vdsm.storage.exception.MiscFileReadException: Internal file read failure: 
('/rhev/data-center/mnt/glusterSD/localhost:_gv0/60b7f172-08ed-4a22-8414-31fd5b100d72/dom_md/metadata',
 1, 'Read timeout')
2022-09-06 14:08:27,814+ INFO  (jsonrpc/5) [api.virt] START getStats() 
from=::1,54242, vmId=8486ed73-df34-4c58-bfdc-7025dec63b7f (api:48)
2022-09-06 14:08:27,814+ INFO  (jsonrpc/5) [api] FINISH getStats 
error=Virtual machine does not exist: {'vmId': 
'8486ed73-df34-4c58-bfdc-7025dec63b7f'} (api:129)
2022-09-06 14:08:27,814+ INFO  (jsonrpc/5) [api.virt] FINISH getStats 
return={'status': {'code': 1, 'message': "Virtual machine does not exist: 
{'vmId': '8486ed73-df34-4c58-bfdc-7025dec63b7f'}"}} from=::1,54242, 
vmId=8486ed73-df34-4c58-bfdc-7025dec63b7f (api:54)
2022-09-06 14:08:27,814+ INFO  (jsonrpc/5) [jsonrpc.JsonRpcServer] RPC call 
VM.getStats failed (error 1) in 0.00 seconds (__init__:312)
2022-09-06 14:08:31,357+ ERROR (check/loop) [storage.monitor] Error 
checking path 
/rhev/data-center/mnt/glusterSD/localhost:_glen/3577c21e-f757-4405-97d1-0f827c9b4e22/dom_md/metadata
 (monitor:511)
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/vdsm/storage/monitor.py", line 509, in 
_pathChecked
    delay = result.delay()
  File "/usr/lib/python3.6/site-packages/vdsm/storage/check.py", line 398, in 
delay
    raise exception.MiscFileReadException(self.path, self.rc, self.err)
vdsm.storage.exception.MiscFileReadException: Internal file read failure: 
('/rhev/data-center/mnt/glusterSD/localhost:_glen/3577c21e-f757-4405-97d1-0f827c9b4e22/dom_md/metadata',
 1, 'Read timeout')
2022-09-06 14:08:32,918+ INFO  (periodic/5) [Executor] Worker was discarded 
(executor:305)

but, on the same node, from commandline I can issue a simple cat without any 
problem:
[root@ovirt-node2 ~]# cat 
"/rhev/data-center/mnt/glusterSD/localhost:_gv0/60b7f172-08ed-4a22-8414-31fd5b100d72/dom_md/metadata"
ALIGNMENT=1048576
BLOCK_SIZE=512
CLASS=Data
DESCRIPTION=gv0
IOOPTIMEOUTSEC=10
LEASERETRIES=3
LEASETIMESEC=60
LOCKPOLICY=
LOCKRENEWALINTERVALSEC=5
POOL_UUID=da146814-f823-40e0-bd7b-8478dcfa38cd
REMOTE_PATH=localhost:/gv0
ROLE=Regular
SDUUID=60b7f172-08ed-4a22-8414-31fd5b100d72
TYPE=GLUSTERFS
VERSION=5
_SHA_CKSUM=a63324fa9b3030c3ffa35891c2d6c4e129c76af9

and
[root@ovirt-node2 ~]# cat 
'/rhev/data-center/mnt/glusterSD/localhost:_gv0/60b7f172-08ed-4a22-8414-31fd5b100d72/dom_md/metadata'
ALIGNMENT=1048576
BLOCK_SIZE=512
CLASS=Data
DESCRIPTION=gv0
IOOPTIMEOUTSEC=10
LEASERETRIES=3
LEASETIMESEC=60
LOCKPOLICY=
LOCKRENEWALINTERVALSEC=5
POOL_UUID=da146814-f823-40e0-bd7b-8478dcfa38cd
REMOTE_PATH=localhost:/gv0
ROLE=Regular
SDUUID=60b7f172-08ed-4a22-8414-31fd5b100d72
TYPE=GLUSTERFS
VERSION=5
_SHA_CKSUM=a63324fa9b3030c3ffa35891c2d6c4e129c76af9

after while, I retried the same cat, and the host console hanged so, 
sometimes, gluster revoke access to file ?!?!?! why?

I think this "hang" is the source of all my problems.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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.o

[ovirt-users] remote-viewer "Change CD menu" contains ISOs only from one storage domain

2022-09-09 Thread Alexander Murashkin

remote-viewer "Change CD menu" contains ISOs only from one storage domain.

There are two "data" storage domains in the datacenter. Both of them 
contains ISOs and VM disk images.


The first VM has a disk image in the first storage domain and so is 
shown in the domain's "Virtual Machine" tab. Similar, the second VM has 
a disk image in the second storage domain and so is also shown in the 
domain's "Virtual Machine" tab.


When the VMs are running, in their consoles, in "Change CD menu" only 
ISOs from the first storage domain are listed.


I would consider it a bug. It is possible to attach ISO from any storage 
domain to any VM. But it is not possible to see ISO from the second 
domain in "Change CD menu".


Engine RPM: ovirt-engine-4.5.2.5-1.el8.noarch. Desktop RPMs: 
libgovirt-0.3.8-3.fc36.x86_64 virt-viewer-11.0-2.fc36.x86_64


Shall I open a bug in Bugzilla? If so, what component it is related to - 
libgovirt?


Alexander Murashkin

PS I also have tried ISO domain. No luck.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/users@ovirt.org/message/ZW3IXIKG5YSONHTXARNVQUMJHLQEQDJK/


[ovirt-users] How to restore full vmbackups that was created with backup_vm.py

2022-09-09 Thread Don Dupuis
Hello
I have used the backup_vm.py script in 4.5.2.4 to make full backups of my
vms to a nfs share. What is the process to restore the backups if needed?

Thanks
Don
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/users@ovirt.org/message/LQSXJDAIZWCEBIYLDOOMRUJ7OUUIZX3D/