somehow, no permission to run VM

Hi, Have you ever seen an error like this: 2020-02-15 20:05:16,246+01 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ForkJoinPool-1-worker-27) [] EVENT_ID: VM_DOWN_ERROR(119), VM vm0 is down with error. Exit message: internal error: child reported (status=125): unable to open /rhev/data-center/mnt/banana:_nfsshare/45e51eaa-b608-40b1-9db6-6e6a1b3ed428/images/9d440b9a-b033-4209-898b-6667a4605281/ead2017a-a7fe-4408-b8d4-1670cb767474: Permission denied. in the engine logs? I'm getting it on my env (master branch) and can't figure out why. I login as admin, I have a perfectly working host and storage machines, on which I created this VM and its disk. Without any actions in between, I try to run it and get this. Storage domain and data center statuses are updated as you expect when you put the host to maintenance and back, so it seems this is the only thing wrong. Do you know what that might be? Thanks, Fedor

Hi,
Have you ever seen an error like this:
2020-02-15 20:05:16,246+01 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ForkJoinPool-1-worker-27) [] EVENT_ID: VM_DOWN_ERROR(119), VM vm0 is down with error. Exit message: internal error: child reported (status=125): unable to open /rhev/data-center/mnt/banana:_nfsshare/45e51eaa-b608-40b1-9db6-6e6a1b3ed428/images/9d440b9a-b033-4209-898b-6667a4605281/ead2017a-a7fe-4408-b8d4-1670cb767474: Permission denied.
in the engine logs? I'm getting it on my env (master branch) and can't
Hi Fedor, If your host is centos 8 than I heard there is a known bug (reported). For me chmod 777 helped (It was my local test setup so I did not care much about that 777) Artur On Saturday, February 15, 2020, Fedor Gavrilov <fgavrilo@redhat.com> wrote: figure out why. I login as admin, I have a perfectly working host and storage machines, on which I created this VM and its disk. Without any actions in between, I try to run it and get this. Storage domain and data center statuses are updated as you expect when you put the host to maintenance and back, so it seems this is the only thing wrong. Do you know what that might be?
Thanks, Fedor _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/Z7S2EDKOAJECSL...
-- Artur Socha Senior Software Engineer, RHV Red Hat <https://www.redhat.com> <https://www.redhat.com>

On Sat, Feb 15, 2020, 21:12 Fedor Gavrilov <fgavrilo@redhat.com> wrote:
Hi,
Have you ever seen an error like this:
2020-02-15 20:05:16,246+01 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ForkJoinPool-1-worker-27) [] EVENT_ID: VM_DOWN_ERROR(119), VM vm0 is down with error. Exit message: internal error: child reported (status=125): unable to open /rhev/data-center/mnt/banana:_nfsshare/45e51eaa-b608-40b1-9db6-6e6a1b3ed428/images/9d440b9a-b033-4209-898b-6667a4605281/ead2017a-a7fe-4408-b8d4-1670cb767474: Permission denied.
You are missing anonuid=36,annongid=36 in the export for this domain. Libvirt runs as root and when it tries to access storage its uid/gid are squashed to nobody. With proper configuration it will be squashed to vdsm:kvm.
in the engine logs? I'm getting it on my env (master branch) and can't figure out why. I login as admin, I have a perfectly working host and storage machines, on which I created this VM and its disk. Without any actions in between, I try to run it and get this. Storage domain and data center statuses are updated as you expect when you put the host to maintenance and back, so it seems this is the only thing wrong. Do you know what that might be?
Thanks, Fedor _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/Z7S2EDKOAJECSL...
participants (3)
-
Artur Socha
-
Fedor Gavrilov
-
Nir Soffer