Problem with installing second host for hosted_engine (3.5)

Hi I have set up oVirt 3.5 in a hosted engine configuration. Host running CentOS 7, guest CentOS 6.6. Now I'm trying to set up an additional host, also running CentOS 7. I'm doing this by running 'hosted-engine --deploy' on the second host, giving the NFS address of the hosted engine share and following the instructions (Do you want to copy over answers? etc.) It works up to the point where it asks for the admin@internal password. [ ERROR ] Failed to execute stage 'Setup validation': [Errno 2] No such file or directory: '/rhev/data-center/mnt/lima.sylon.net:_srv_hosted__engine/17f87a87-1144-4be6-a9b4-8b0520ccbe70/ha_agent/hosted-engine.metadata' -- Open Interactive GmbH Vogesenplatz 1 4056 Basel T +41 61 500 15 70 www.openinteractive.ch

Accidentially pressed send. More information following: Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_2]: somename Enter 'admin@internal' user password that will be used for accessing the Administrator Portal: <pw I use for admin login in webinterface> Confirm 'admin@internal' user password: Here it fails with the error from my first mail. [ ERROR ] Failed to execute stage 'Setup validation': [Errno 2] No such file or directory: '/rhev/data-center/mnt/lima.sylon.net:_srv_hosted__engine/17f87a87-1144-4be6-a9b4-8b0520ccbe70/ha_agent/hosted-engine.metadata' The thing is that the mount options is correct and the file exists. It's a symlink to a different file. Also I have not yet setup an LDAP server. I would be grateful for any hints on this problem. Best Otto ----- Ursprüngliche Mail ----- Von: "Otto Strassen" <otto.strassen@openinteractive.ch> An: users@ovirt.org Gesendet: Donnerstag, 18. Dezember 2014 16:58:46 Betreff: [ovirt-users] Problem with installing second host for hosted_engine (3.5) Hi I have set up oVirt 3.5 in a hosted engine configuration. Host running CentOS 7, guest CentOS 6.6. Now I'm trying to set up an additional host, also running CentOS 7. I'm doing this by running 'hosted-engine --deploy' on the second host, giving the NFS address of the hosted engine share and following the instructions (Do you want to copy over answers? etc.) It works up to the point where it asks for the admin@internal password. [ ERROR ] Failed to execute stage 'Setup validation': [Errno 2] No such file or directory: '/rhev/data-center/mnt/lima.sylon.net:_srv_hosted__engine/17f87a87-1144-4be6-a9b4-8b0520ccbe70/ha_agent/hosted-engine.metadata' -- Open Interactive GmbH Vogesenplatz 1 4056 Basel T +41 61 500 15 70 www.openinteractive.ch _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
From: "Otto Strassen" <otto.strassen@openinteractive.ch> To: users@ovirt.org Sent: Thursday, December 18, 2014 4:58:46 PM Subject: [ovirt-users] Problem with installing second host for hosted_engine (3.5)
Hi
I have set up oVirt 3.5 in a hosted engine configuration. Host running CentOS 7, guest CentOS 6.6.
Now I'm trying to set up an additional host, also running CentOS 7. I'm doing this by running 'hosted-engine --deploy' on the second host, giving the NFS address of the hosted engine share and following the instructions (Do you want to copy over answers? etc.) It works up to the point where it asks for the admin@internal password.
[ ERROR ] Failed to execute stage 'Setup validation': [Errno 2] No such file or directory: '/rhev/data-center/mnt/lima.sylon.net:_srv_hosted__engine/17f87a87-1144-4be6-a9b4-8b0520ccbe70/ha_agent/hosted-engine.metadata'
It's a know issue [1] due to a not well supported NFS configuration; it's still unsolved. Can please ensure to export like: /storage *(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36) to avoid it as documented here [2]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1159314 [2] http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues
-- Open Interactive GmbH Vogesenplatz 1 4056 Basel T +41 61 500 15 70 www.openinteractive.ch _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Thank you for you quick reply. To understand correctly, I don't need to use /storage as path, I can keep the path and just need to add no_subtree_check? Or is the problem related to the whole configuration. (i.e. I need to do a fresh setup?) ----- Ursprüngliche Mail ----- Von: "Simone Tiraboschi" <stirabos@redhat.com> An: "Otto Strassen" <otto.strassen@openinteractive.ch> CC: users@ovirt.org Gesendet: Donnerstag, 18. Dezember 2014 17:13:05 Betreff: Re: [ovirt-users] Problem with installing second host for hosted_engine (3.5) ----- Original Message -----
From: "Otto Strassen" <otto.strassen@openinteractive.ch> To: users@ovirt.org Sent: Thursday, December 18, 2014 4:58:46 PM Subject: [ovirt-users] Problem with installing second host for hosted_engine (3.5)
Hi
I have set up oVirt 3.5 in a hosted engine configuration. Host running CentOS 7, guest CentOS 6.6.
Now I'm trying to set up an additional host, also running CentOS 7. I'm doing this by running 'hosted-engine --deploy' on the second host, giving the NFS address of the hosted engine share and following the instructions (Do you want to copy over answers? etc.) It works up to the point where it asks for the admin@internal password.
[ ERROR ] Failed to execute stage 'Setup validation': [Errno 2] No such file or directory: '/rhev/data-center/mnt/lima.sylon.net:_srv_hosted__engine/17f87a87-1144-4be6-a9b4-8b0520ccbe70/ha_agent/hosted-engine.metadata'
It's a know issue [1] due to a not well supported NFS configuration; it's still unsolved. Can please ensure to export like: /storage *(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36) to avoid it as documented here [2]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1159314 [2] http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues
-- Open Interactive GmbH Vogesenplatz 1 4056 Basel T +41 61 500 15 70 www.openinteractive.ch _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
From: "Otto Strassen" <otto.strassen@openinteractive.ch> To: "Simone Tiraboschi" <stirabos@redhat.com> Cc: users@ovirt.org Sent: Thursday, December 18, 2014 5:23:59 PM Subject: Re: [ovirt-users] Problem with installing second host for hosted_engine (3.5)
Thank you for you quick reply. To understand correctly, I don't need to use /storage as path, I can keep the path and just need to add no_subtree_check?
Yes, the bug is related to server NFS options, not to the export name. Using (rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36) should be enough to be able to deploy the second host.
Or is the problem related to the whole configuration. (i.e. I need to do a fresh setup?)
As far as I know fixing the export options and reloading it should be enough to fix the issue on the second host. As far as I know, no need to redeploy also the first one. Please let us know if it work cause the issue is still open. Thanks
----- Ursprüngliche Mail ----- Von: "Simone Tiraboschi" <stirabos@redhat.com> An: "Otto Strassen" <otto.strassen@openinteractive.ch> CC: users@ovirt.org Gesendet: Donnerstag, 18. Dezember 2014 17:13:05 Betreff: Re: [ovirt-users] Problem with installing second host for hosted_engine (3.5)
----- Original Message -----
From: "Otto Strassen" <otto.strassen@openinteractive.ch> To: users@ovirt.org Sent: Thursday, December 18, 2014 4:58:46 PM Subject: [ovirt-users] Problem with installing second host for hosted_engine (3.5)
Hi
I have set up oVirt 3.5 in a hosted engine configuration. Host running CentOS 7, guest CentOS 6.6.
Now I'm trying to set up an additional host, also running CentOS 7. I'm doing this by running 'hosted-engine --deploy' on the second host, giving the NFS address of the hosted engine share and following the instructions (Do you want to copy over answers? etc.) It works up to the point where it asks for the admin@internal password.
[ ERROR ] Failed to execute stage 'Setup validation': [Errno 2] No such file or directory: '/rhev/data-center/mnt/lima.sylon.net:_srv_hosted__engine/17f87a87-1144-4be6-a9b4-8b0520ccbe70/ha_agent/hosted-engine.metadata'
It's a know issue [1] due to a not well supported NFS configuration; it's still unsolved. Can please ensure to export like: /storage *(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36) to avoid it as documented here [2].
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1159314 [2] http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues
-- Open Interactive GmbH Vogesenplatz 1 4056 Basel T +41 61 500 15 70 www.openinteractive.ch _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Otto Strassen
-
Simone Tiraboschi