<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 18, 2016 at 3:54 AM, <a href="mailto:qinglong.dong@horebdata.cn">qinglong.dong@horebdata.cn</a> <span dir="ltr">&lt;<a href="mailto:qinglong.dong@horebdata.cn" target="_blank">qinglong.dong@horebdata.cn</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>
<div><span></span>Hi,</div><div>    <span style="font-size:10.5pt;line-height:1.5;background-color:window">    I wanted to install w</span><span style="font-size:10.5pt;line-height:1.5;background-color:window">ebSocket proxy on another host, but I got an error when setting up engine.</span></div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window"><br></span></div></div></blockquote><div><br></div><div>It&#39;s just that you installed all the engine rpms also on the additional host where you are not going to deploy the engine.</div><div>Please run</div><div> yum remove ovirt-engine-setup-plugin-ovirt-engine<br></div><div>before trying again; it&#39;s enough to avoid hitting it and it&#39;s also a good idea since you don&#39;t need al the engine on the additional websocket proxy host.</div><div><br></div><div>I opened a bug to properly fix it:</div><div><a href="https://bugzilla.redhat.com/1318986">https://bugzilla.redhat.com/1318986</a><br></div><div><br></div><div>Thanks for the report.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window"></span></div><div>[root@proxy ~]# engine-setup <br>[ INFO  ] Stage: Initializing<br>[ INFO  ] Stage: Environment setup<br>          Configuration files: [&#39;/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf&#39;, &#39;/etc/ovirt-engine-setup.conf.d/10-packaging.conf&#39;]<br>          Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20160318103658-88xphu.log<br>          Version: otopi-1.4.1 (otopi-1.4.1-1.el6)<br>[ INFO  ] Stage: Environment packages setup<br>[ INFO  ] Yum Downloading: ovirt-3.6-epel/primary_db 1.9 M(32%)<br>[ INFO  ] Yum Downloading: virtio-win-stable/primary_db (0%)<br>[ INFO  ] Stage: Programs detection<br>[ INFO  ] Stage: Environment setup<br>[ INFO  ] Stage: Environment customization<br>         <br>          --== PRODUCT OPTIONS ==--<br>         <br>          Configure Engine on this host (Yes, No) [Yes]: no<br>          Configure VM Console Proxy on this host (Yes, No) [Yes]: <br>          Configure WebSocket Proxy on this host (Yes, No) [Yes]: <br>         <br>          --== PACKAGES ==--<br>         <br>[ INFO  ] Checking for product updates...<br>[ INFO  ] No product updates found<br>         <br>          --== ALL IN ONE CONFIGURATION ==--<br>         <br>         <br>          --== NETWORK CONFIGURATION ==--<br>         <br>          Host fully qualified DNS name of this server [<a href="http://proxy.horebdata.cn" target="_blank">proxy.horebdata.cn</a>]: <br>[WARNING] Failed to resolve <a href="http://proxy.horebdata.cn" target="_blank">proxy.horebdata.cn</a> using DNS, it can be resolved only locally<br>          Setup can automatically configure the firewall on this system.<br>          Note: automatic configuration of the firewall may overwrite current settings.<br>          Do you want Setup to configure the firewall? (Yes, No) [Yes]: <br>[ INFO  ] iptables will be configured as firewall manager.<br>          Host fully qualified DNS name of the engine server [<a href="http://proxy.horebdata.cn" target="_blank">proxy.horebdata.cn</a>]: <a href="http://engine.horebdata.cn" target="_blank">engine.horebdata.cn</a><br>[WARNING] Failed to resolve <a href="http://engine.horebdata.cn" target="_blank">engine.horebdata.cn</a> using DNS, it can be resolved only locally<br>[WARNING] Failed to resolve <a href="http://engine.horebdata.cn" target="_blank">engine.horebdata.cn</a> using DNS, it can be resolved only locally<br>         <br>          --== DATABASE CONFIGURATION ==--<br>         <br>         <br>          --== OVIRT ENGINE CONFIGURATION ==--<br>         <br>         <br>          --== STORAGE CONFIGURATION ==--<br>         <br>          Default SAN wipe after delete (Yes, No) [No]: <br>         <br>          --== PKI CONFIGURATION ==--<br>         <br>          Setup will need to do some actions on the remote engine server. Either automatically, using ssh as root to access it, or you will be prompted to manually perform each such action.<br>          Please choose one of the following:<br>          1 - Access remote engine server using ssh as root<br>          2 - Perform each action manually, use files to copy content around<br>          (1, 2) [1]: 1<br>          ssh port on remote engine server [22]: <br>          root password on remote engine server <a href="http://engine.horebdata.cn" target="_blank">engine.horebdata.cn</a>: <br>[ INFO  ] Signing the WebSocket Proxy certificate on the engine server<br>[ INFO  ] WebSocket Proxy certificate signed successfully<br>         <br>          --== APACHE CONFIGURATION ==--<br>         <br>         <br>          --== SYSTEM CONFIGURATION ==--<br>         <br>         <br>          --== MISC CONFIGURATION ==--<br>         <br>         <br>          --== END OF CONFIGURATION ==--<br>         <br>[ INFO  ] Stage: Setup validation<br>          Generated iptables rules are different from current ones.<br>          Do you want to review them? (Yes, No) [No]: <br>         <br>          --== CONFIGURATION PREVIEW ==--<br>         <br>          Default SAN wipe after delete           : False<br>          Firewall manager                        : iptables<br>          Update Firewall                         : True<br>          Host FQDN                               : <a href="http://proxy.horebdata.cn" target="_blank">proxy.horebdata.cn</a><br>          Engine installation                     : False<br>          Configure VMConsole Proxy               : True<br>          Engine Host FQDN                        : <a href="http://engine.horebdata.cn" target="_blank">engine.horebdata.cn</a><br>          Configure WebSocket Proxy               : True<br>         <br>          Please confirm installation settings (OK, Cancel) [OK]: <br>[ INFO  ] Stage: Transaction setup<br>[ INFO  ] Stopping engine service<br>[ INFO  ] Stopping ovirt-fence-kdump-listener service<br>[ INFO  ] Stopping websocket-proxy service<br>[ INFO  ] Stage: Misc configuration<br>[ INFO  ] Stage: Package installation<br>[ INFO  ] Stage: Misc configuration<br>[ ERROR ] Failed to execute stage &#39;Misc configuration&#39;: &#39;NoneType&#39; object has no attribute &#39;execute&#39;<br>[ INFO  ] Yum Performing yum transaction rollback<br>[ INFO  ] Stage: Clean up<br>          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20160318103658-88xphu.log<br>[ INFO  ] Generating answer file &#39;/var/lib/ovirt-engine/setup/answers/20160318103900-setup.conf&#39;<br>[ INFO  ] Stage: Pre-termination<br>[ INFO  ] Stage: Termination<br>[ ERROR ] Execution of setup failed</div>
<div><br></div><hr style="width:210px;min-height:1px" color="#b5c4df" size="1" align="left">
<div><br></div>
</div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>