Hosted Engine Deploy - Error at the end... [NFS ?]

Hi, While Trying to Deploy Hosted Engine, I'm stuck on Stage 4. Here is the error : [ INFO ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter name] [ INFO ] ok: [localhost] [ INFO ] TASK [ovirt.hosted_engine_setup : Add NFS storage domain] [ ERROR ] Verify permission settings on the specified storage path.]". HTTP response code is 400. [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault reason is \"Operation Failed\". Fault detail is \"[Permission settings on the specified path do not allow access to the storage.\nVerify permission settings on the specified storage path.]\". HTTP response code is 400."} But, it's very strange, because, when I'm trying to mount this NFS share manually, It's working.... So what am I doing wrong here ? Here is the "Storage Connection" - 8.45.119.16:/ovirt_engine Mount option is blanked NFS Version is "v3" Thanks in advance !

On Wed, Jul 3, 2019 at 11:06 AM <csi-laser@cisco.com> wrote:
Hi, While Trying to Deploy Hosted Engine, I'm stuck on Stage 4. Here is the error :
[ INFO ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter name] [ INFO ] ok: [localhost] [ INFO ] TASK [ovirt.hosted_engine_setup : Add NFS storage domain] [ ERROR ] Verify permission settings on the specified storage path.]". HTTP response code is 400. [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault reason is \"Operation Failed\". Fault detail is \"[Permission settings on the specified path do not allow access to the storage.\nVerify permission settings on the specified storage path.]\". HTTP response code is 400."}
But, it's very strange, because, when I'm trying to mount this NFS share manually, It's working.... So what am I doing wrong here ?
Please check this: https://www.ovirt.org/develop/troubleshooting-nfs-storage-issues.html
Here is the "Storage Connection" - 8.45.119.16:/ovirt_engine Mount option is blanked NFS Version is "v3"
Thanks in advance ! _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-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/users@ovirt.org/message/4DPEX6M5PH7Y35...
-- Simone Tiraboschi He / Him / His Principal Software Engineer Red Hat <https://www.redhat.com/> stirabos@redhat.com @redhatjobs <https://twitter.com/redhatjobs> redhatjobs <https://www.facebook.com/redhatjobs> @redhatjobs <https://instagram.com/redhatjobs> <https://red.ht/sig> <https://redhat.com/summit>

Hi, thanks for that All looks fine. What else can be an issue here ? Do I have another way for installing the Mgmt Engine ? [or other solution for my NFS issue during H"E Deployment] Thanks Team

On Wed, Jul 3, 2019 at 11:52 AM <csi-laser@cisco.com> wrote:
Hi, thanks for that
All looks fine.
What else can be an issue here ? Do I have another way for installing the Mgmt Engine ? [or other solution for my NFS issue during H"E Deployment]
Can you please try to directly mount that NFS share on your host and ensure that you can write there as VDSM user? You can try something like: sudo -u vdsm mkdir test but after that please clean up the directory.
Thanks Team _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-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/users@ovirt.org/message/OOOLJLS43AH3XW...
-- Simone Tiraboschi He / Him / His Principal Software Engineer Red Hat <https://www.redhat.com/> stirabos@redhat.com @redhatjobs <https://twitter.com/redhatjobs> redhatjobs <https://www.facebook.com/redhatjobs> @redhatjobs <https://instagram.com/redhatjobs> <https://red.ht/sig> <https://redhat.com/summit>

Yes, as I wrote at the start, I'm able to mount NFS manually. Here is the results of the command you gave. [i did "cd" to the nfs share of course] : [root@luli-ovirt-01 nfs_ovirt_engine]# sudo -u vdsm mkdir test [root@luli-ovirt-01 nfs_ovirt_engine]# ls test [root@luli-ovirt-01 nfs_ovirt_engine]# it's working manually

Hello, thats not sufficient. Since later libvirt tries to start up hosted-engine via qemu and that might fail because this is run as user qemu wich also needs to read and write the files on the hosted_storage. I always change /etc/libvirt/qemu.conf to user="vdsm" since I can't get any group mapping via group vdsm to succeed on my storage. So you should also try to sudo -u qemu mkdir test Am 03.07.2019 um 12:48 schrieb csi-laser@cisco.com:
Yes, as I wrote at the start, I'm able to mount NFS manually. Here is the results of the command you gave. [i did "cd" to the nfs share of course] :
[root@luli-ovirt-01 nfs_ovirt_engine]# sudo -u vdsm mkdir test [root@luli-ovirt-01 nfs_ovirt_engine]# ls test [root@luli-ovirt-01 nfs_ovirt_engine]#
it's working manually _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-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/users@ovirt.org/message/FI44SCRS7CLG7U... --
*Ralf Schenk* fon +49 (0) 24 05 / 40 83 70 fax +49 (0) 24 05 / 40 83 759 mail *rs@databay.de* <mailto:rs@databay.de> *Databay AG* Jens-Otto-Krag-Straße 11 D-52146 Würselen *www.databay.de* <http://www.databay.de> Sitz/Amtsgericht Aachen • HRB:8437 • USt-IdNr.: DE 210844202 Vorstand: Ralf Schenk, Dipl.-Ing. Jens Conze, Aresch Yavari, Dipl.-Kfm. Philipp Hermanns Aufsichtsratsvorsitzender: Wilhelm Dohmen ------------------------------------------------------------------------

Hi Ralf, here is the results : [root@ntn01-luli-01 nfs_ovirt_engine]# sudo -u qemu mkdir test02 mkdir: cannot create directory ‘test02’: Permission denied So I now changed : user="vdsm" Will check now if it'll work and let you guys know Thanks for this info
participants (3)
-
csi-laser@cisco.com
-
Ralf Schenk
-
Simone Tiraboschi