1. Activate the global maintenance for HA hosts in cluster. Shutdown the hosted engine machine.
2. Stop the gluster volumes - gluster volume stop volume_name
3.1 Change the permissions. You can try - gluster volume set !volume_name! storage.owner-uid 36 && gluster volume set !volume_name! storage.owner-gid 36
3.2 Start the gluster volume. Start hosted engine machine manually. Check errors.
4.1 If not help stop volumes again.
4.2 Change the permissions by - chown -R 36:36 !path_to_gluster_brick_folder!
 
 
30.03.2020, 17:04, "vad0s@rambler.ru" <vad0s@rambler.ru>:
Hi!
I deployed oVirt on three servers with Gluster storage: x8dt3-10, x8dt3-11, and x8dt3-12. Hosted-engine is deployed on the x8dt3-10 host. Created two volumes with 3 replicas each - one for the hosted-engine, and the second for the storage of the other VMS.
I ran into the following problem : I can't start any of the VMS on hosts x8dt3-11 and x8dt3-12, and the hosted-engine doesn't migrate to these hosts either. VMS start normally on the x8dt3-10 host.
After looking at the libvirt logs on hosts x8dt3-11, x8dt3-12, I saw the following problem:
 
2020-03-29T18:13:01.883013 Z qemu-kvm: - drive file=/rhev/data-center/mnt/glusterSD/x8dt3-10:_vmstore/123c435d-cd31-4120-8062-28d5ec08bef2/images/3b22c1f2-2173-4b18-9e3e-7eec39b2cb6b/443a07cd-6bef-4d5c-b90a-aa50811c5782,format=raw,if=none,id=drive-ua-3b22c1f2-2173-4b18-9e3e-7eec39b2cb6b,serial=3b22c1f2-2173-4b18-9e3e-7eec39b2cb6b,werror=stop,rerror=stop,cache=none,aio=threads: Could not open '/rhev/data-center/mnt/glusterSD/x8dt3-10:_vmstore/123c435d-cd31-4120-8062-28d5ec08bef2/images/3b22c1f2-2173-4b18-9e3e-7eec39b2cb6b/443a07cd-6bef-4d5c-b90a-aa50811c5782': Permission denied
 
Permissions for folders on the path to the VM disk on hosts x8dt3-11, x8dt3-12 are the same as on host x8dt3-10.
I tried changing the user and group to root in /etc/libvirt/qemu.conf. I disabled firewalld and SELinux - nothing helped.
How do I fix the problem?
------------------
With respect,
Vadim Simonenko
vad0s@rambler.ru
,

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@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/ZMDJLN4MBAH5CA323ZJHAKOVSHRRQTB5/