Cannot startVM due to iso permission issue

Hi I have a brand new installation and I am trying to create a new VM, I have the Linux ISO uploaded to a NFS ISO Storage Domain but the VM refuses to start, I observe following error: *unable to open /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso: Permission denied* have tried to disable selinux just in case but without success. Any clues? Thanks

ls -l /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso ? On Thu, Feb 18, 2021 at 21:15, LS CHENG<lsc.oraes@gmail.com> wrote: Hi I have a brand new installation and I am trying to create a new VM, I have the Linux ISO uploaded to a NFS ISO Storage Domain but the VM refuses to start, I observe following error: unable to open /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso: Permission denied have tried to disable selinux just in case but without success. Any clues? Thanks_______________________________________________ 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/HC7QYOVGSNIMSO...

permission looks good ll /rhev/data-center/mnt/LTST-VIRTMAN01\:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/ total 4738052 -rw-r--r--. 1 vdsm kvm 4851761152 Feb 18 14:21 V1003434-01.iso Thanks On Fri, Feb 19, 2021 at 8:34 AM Strahil Nikolov <hunter86_bg@yahoo.com> wrote:
ls -l * /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso ?*
On Thu, Feb 18, 2021 at 21:15, LS CHENG <lsc.oraes@gmail.com> wrote: Hi
I have a brand new installation and I am trying to create a new VM, I have the Linux ISO uploaded to a NFS ISO Storage Domain but the VM refuses to start, I observe following error:
*unable to open /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso: Permission denied*
have tried to disable selinux just in case but without success. Any clues?
Thanks _______________________________________________ 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/HC7QYOVGSNIMSO...

any light how to debug this issue? I mounted the NFS manually and all looks good, the problem only arises when vdsm tries to access it Thanks On Fri, Feb 19, 2021 at 8:58 AM LS CHENG <lsc.oraes@gmail.com> wrote:
permission looks good
ll /rhev/data-center/mnt/LTST-VIRTMAN01\:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/ total 4738052 -rw-r--r--. 1 vdsm kvm 4851761152 Feb 18 14:21 V1003434-01.iso
Thanks
On Fri, Feb 19, 2021 at 8:34 AM Strahil Nikolov <hunter86_bg@yahoo.com> wrote:
ls -l * /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso ?*
On Thu, Feb 18, 2021 at 21:15, LS CHENG <lsc.oraes@gmail.com> wrote: Hi
I have a brand new installation and I am trying to create a new VM, I have the Linux ISO uploaded to a NFS ISO Storage Domain but the VM refuses to start, I observe following error:
*unable to open /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso: Permission denied*
have tried to disable selinux just in case but without success. Any clues?
Thanks _______________________________________________ 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/HC7QYOVGSNIMSO...

Can you try to run ‘head’ on the file as various related users? E.g. su - sanlock -s /bin/bash ; head file Also try as vdsm and qemu users with the above command. On Sat, Feb 20, 2021 at 4:10 AM LS CHENG <lsc.oraes@gmail.com> wrote:
any light how to debug this issue?
I mounted the NFS manually and all looks good, the problem only arises when vdsm tries to access it
Thanks
On Fri, Feb 19, 2021 at 8:58 AM LS CHENG <lsc.oraes@gmail.com> wrote:
permission looks good
ll /rhev/data-center/mnt/LTST-VIRTMAN01\:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/ total 4738052 -rw-r--r--. 1 vdsm kvm 4851761152 Feb 18 14:21 V1003434-01.iso
Thanks
On Fri, Feb 19, 2021 at 8:34 AM Strahil Nikolov <hunter86_bg@yahoo.com> wrote:
ls -l * /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso ?*
On Thu, Feb 18, 2021 at 21:15, LS CHENG <lsc.oraes@gmail.com> wrote: Hi
I have a brand new installation and I am trying to create a new VM, I have the Linux ISO uploaded to a NFS ISO Storage Domain but the VM refuses to start, I observe following error:
*unable to open /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso: Permission denied*
have tried to disable selinux just in case but without success. Any clues?
Thanks _______________________________________________ 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/HC7QYOVGSNIMSO...
_______________________________________________ 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/WQFQPVBRNSA5BE...

Hi Looks good [root@LTST-VIRT01 ~]# su -s "/bin/bash" -c "/bin/file /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V100*iso" sanlock /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso: # ISO 9660 CD-ROM filesystem data 'OL-7.9 Server.x86_64' (bootable) [root@LTST-VIRT01 ~]# su -s "/bin/bash" -c "/bin/file /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V100*iso" vdsm /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso: # ISO 9660 CD-ROM filesystem data 'OL-7.9 Server.x86_64' (bootable) [root@LTST-VIRT01 ~]# su -s "/bin/bash" -c "/bin/file /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V100*iso" qemu /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso: # ISO 9660 CD-ROM filesystem data 'OL-7.9 Server.x86_64' (bootable) I am puzzled On Sat, Feb 20, 2021 at 3:53 PM Matt Snow <mattsnow@gmail.com> wrote:
Can you try to run ‘head’ on the file as various related users? E.g. su - sanlock -s /bin/bash ; head file Also try as vdsm and qemu users with the above command.
On Sat, Feb 20, 2021 at 4:10 AM LS CHENG <lsc.oraes@gmail.com> wrote:
any light how to debug this issue?
I mounted the NFS manually and all looks good, the problem only arises when vdsm tries to access it
Thanks
On Fri, Feb 19, 2021 at 8:58 AM LS CHENG <lsc.oraes@gmail.com> wrote:
permission looks good
ll /rhev/data-center/mnt/LTST-VIRTMAN01\:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/ total 4738052 -rw-r--r--. 1 vdsm kvm 4851761152 Feb 18 14:21 V1003434-01.iso
Thanks
On Fri, Feb 19, 2021 at 8:34 AM Strahil Nikolov <hunter86_bg@yahoo.com> wrote:
ls -l * /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso ?*
On Thu, Feb 18, 2021 at 21:15, LS CHENG <lsc.oraes@gmail.com> wrote: Hi
I have a brand new installation and I am trying to create a new VM, I have the Linux ISO uploaded to a NFS ISO Storage Domain but the VM refuses to start, I observe following error:
*unable to open /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso: Permission denied*
have tried to disable selinux just in case but without success. Any clues?
Thanks _______________________________________________ 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/HC7QYOVGSNIMSO...
_______________________________________________ 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/WQFQPVBRNSA5BE...

Strangely after I disable selinux from all kvm hosts and the NFS server this started to work On Sun, Feb 21, 2021 at 4:14 PM LS CHENG <lsc.oraes@gmail.com> wrote:
Hi
Looks good
[root@LTST-VIRT01 ~]# su -s "/bin/bash" -c "/bin/file /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V100*iso" sanlock /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso: # ISO 9660 CD-ROM filesystem data 'OL-7.9 Server.x86_64' (bootable)
[root@LTST-VIRT01 ~]# su -s "/bin/bash" -c "/bin/file /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V100*iso" vdsm /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso: # ISO 9660 CD-ROM filesystem data 'OL-7.9 Server.x86_64' (bootable)
[root@LTST-VIRT01 ~]# su -s "/bin/bash" -c "/bin/file /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V100*iso" qemu /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso: # ISO 9660 CD-ROM filesystem data 'OL-7.9 Server.x86_64' (bootable)
I am puzzled
On Sat, Feb 20, 2021 at 3:53 PM Matt Snow <mattsnow@gmail.com> wrote:
Can you try to run ‘head’ on the file as various related users? E.g. su - sanlock -s /bin/bash ; head file Also try as vdsm and qemu users with the above command.
On Sat, Feb 20, 2021 at 4:10 AM LS CHENG <lsc.oraes@gmail.com> wrote:
any light how to debug this issue?
I mounted the NFS manually and all looks good, the problem only arises when vdsm tries to access it
Thanks
On Fri, Feb 19, 2021 at 8:58 AM LS CHENG <lsc.oraes@gmail.com> wrote:
permission looks good
ll /rhev/data-center/mnt/LTST-VIRTMAN01\:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/ total 4738052 -rw-r--r--. 1 vdsm kvm 4851761152 Feb 18 14:21 V1003434-01.iso
Thanks
On Fri, Feb 19, 2021 at 8:34 AM Strahil Nikolov <hunter86_bg@yahoo.com> wrote:
ls -l * /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso ?*
On Thu, Feb 18, 2021 at 21:15, LS CHENG <lsc.oraes@gmail.com> wrote: Hi
I have a brand new installation and I am trying to create a new VM, I have the Linux ISO uploaded to a NFS ISO Storage Domain but the VM refuses to start, I observe following error:
*unable to open /rhev/data-center/mnt/LTST-VIRTMAN01:_ovirt_iso/a284c684-bfa2-49a1-b419-e81001b6196e/images/11111111-1111-1111-1111-111111111111/V1003434-01.iso: Permission denied*
have tried to disable selinux just in case but without success. Any clues?
Thanks _______________________________________________ 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/HC7QYOVGSNIMSO...
_______________________________________________ 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/WQFQPVBRNSA5BE...
participants (3)
-
LS CHENG
-
Matt Snow
-
Strahil Nikolov