<div dir="ltr"><div>Hi,<br><br>I'm running oVirt 4.1.0.4-1. I'm building oVirt+GlusterFS(replica 3 Volume) configuration for testing.<br><br>Each machine spec is as follows.<br> CPU: 2core<br> Memory: 8GB<br> Disk: 120GB<br> OS: CentOS7.3<br><br>Each host name is host1, host2, host3.<br><br>I installed Hosted Engine successfully in host1, but I couldn't install it in host2 and host3.<br><br>In version 4.0, as described below, since it is asked whether or not it is an additional host at the time of deployment,<br>hosted_engine could be added to the second and later node without any error.<br><br></div>*** oVirt 4.0 ***<br><div><br>[root@host2 ~]# hosted-engine --deploy --config-append=answers.conf<br>...<br> The specified storage location already contains a data domain. Is this an additional host setup (Yes, No)[Yes]?<br>[ INFO ] Installing on additional host<br> Please specify the Host ID [Must be integer, default: 2]:<br> iptables was detected on your computer, do you wish setup to configure it? (Yes, No)[Yes]: No<br><br> Enter engine admin password:<br> Confirm engine admin password:<br><br> Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_2]:<br><br> Enter engine admin password:<br> Confirm engine admin password:<br> Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_2]:<br>[ INFO ] Stage: Setup validation<br> Please provide the fully qualified domain name of this host.<br> Note: The engine VM and all the other hosts should be able to correctly resolve it.<br> Host FQDN: [host2.jitaku.test]:<br>[WARNING] Failed to resolve host2.jitaku.test using DNS, it can be resolved only locally<br><br> --== CONFIGURATION PREVIEW ==--<br><br> Engine FQDN : ovirt-engine.jitaku.test<br> Bridge name : ovirtmgmt<br> Host address : host2.jitaku.test<br> SSH daemon port : 22<br> Gateway address : 192.168.12.1<br> Host name for web application : hosted_engine_2<br> Storage Domain type : glusterfs<br> Host ID : 2<br> Image size GB : 10<br> Storage connection : host1.jitaku.test:/engine<br> Console type : vnc<br> Memory size MB : 6144<br> MAC address : 00:16:3e:XX:XX:XX<br> Boot type : disk<br> Number of CPUs : 2<br> CPU Type : model_Nehalem<br><br><br>But oVirt 4.1 asks for nothing and return error that host1 already has data.<br><br><br>*** oVirt 4.1 ***<br><br>[root@host2 ~]# hosted-engine --deploy --config-append=answers.conf<br>[ INFO ] Stage: Initializing<br>[ INFO ] Generating a temporary VNC password.<br>[ INFO ] Stage: Environment setup<br> During customization use CTRL-D to abort.<br>[ INFO ] Hardware supports virtualization<br> Configuration files: ['/root/answers.conf']<br> Log file: /var/log/ovirt-hosted-engine-s<wbr>etup/ovirt-hosted-engine-setup<wbr>-20170319010957-2gp4od.log<br> Version: otopi-1.6.1 (otopi-1.6.1-1.el7)<br>[ INFO ] Detecting available oVirt engine appliances<br>[ INFO ] Stage: Environment packages setup<br>[ INFO ] Stage: Programs detection<br>[ INFO ] Stage: Environment setup<br>[ INFO ] Stage: Environment customization<br><br> --== STORAGE CONFIGURATION ==--<br><br>[ INFO ] Please note that Replica 3 support is required for the shared storage.<br>[ INFO ] GlusterFS replica 3 Volume detected<br>[ ERROR ] The selected device already contains a storage domain.<br>[
ERROR ] Setup of additional hosts using this software is not allowed
anymore. Please use the engine web interface to deploy any additional
hosts.<br>[ ERROR ] Failed to execute stage 'Environment customization':
Setup of additional hosts using this software is not allowed anymore.
Please use the engine web interface to deploy any additional hosts.<br>[ INFO ] Stage: Clean up<br>[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-<wbr>setup/answers/answers-20170319<wbr>011017.conf'<br>[ INFO ] Stage: Pre-termination<br>[ INFO ] Stage: Termination<br>[ ERROR ] Hosted Engine deployment failed<br> Log file is located at /var/log/ovirt-hosted-engine-s<wbr>etup/ovirt-hosted-engine-setup<wbr>-20170319010957-2gp4od.log<br><br>I tried it from Virtualization> Hosted Engine> Standard of Cockpit UI, but I received the similar error.<br>How can I deploy hosted-engine on multiple hosts? I'm sorry if I made something misunderstood.<br><br></div>Thanks.</div>