<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 15, 2018 at 5:56 PM, Simone Tiraboschi <span dir="ltr">&lt;<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Feb 15, 2018 at 5:20 PM, Thomas Davis <span dir="ltr">&lt;<a href="mailto:tadavis@lbl.gov" target="_blank">tadavis@lbl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In playing with this, I found that 4.2.1 hosted-engine will not install on a node with the ovirtmgmt interface being a vlan.<br></blockquote><div><br></div></span><div>Can you please attach vdsm and host-deploy logs?</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is this a still supported config?  I see that access port, bonded and vlan tagged are supported by older versions..<br></blockquote><div><br></div></span><div>Yes, absolutely: if not VLAN doens&#39;t work it&#39;s definitively an issue.</div><div>Adding Ido here.</div></div></div></div></blockquote><div><br></div><div>Oh, just another thing.</div><div>The old flow is still there as a deprecated fallback.</div><div>You can force it passing --noansible option.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
thomas<br>
<br>
On 02/05/2018 08:16 AM, Simone Tiraboschi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_855029915425136115h5">
<br>
<br>
On Fri, Feb 2, 2018 at 9:10 PM, Thomas Davis &lt;<a href="mailto:tadavis@lbl.gov" target="_blank">tadavis@lbl.gov</a> &lt;mailto:<a href="mailto:tadavis@lbl.gov" target="_blank">tadavis@lbl.gov</a>&gt;&gt; wrote:<br>
<br>
    Is this supported?<br>
<br>
    I have a node, that centos 7.4 minimal is installed on, with an<br>
    interface setup for an IP address.<br>
<br>
    I&#39;ve yum installed nothing else except the ovirt-4.2.1-pre rpm, run<br>
    screen, and then do the &#39;hosted-engine --deploy&#39; command.<br>
<br>
<br>
Fine, nothing else is required.<br>
<br>
<br>
    It hangs on:<br>
<br>
    [ INFO  ] changed: [localhost]<br>
    [ INFO  ] TASK [Get ovirtmgmt route table id]<br>
    [ ERROR ] fatal: [localhost]: FAILED! =&gt; {&quot;attempts&quot;: 50, &quot;changed&quot;:<br>
    true, &quot;cmd&quot;: &quot;ip rule list | grep ovirtmgmt | sed s/\\\\[.*\\\\]\\<br>
    //g | awk &#39;{ print $9 }&#39;&quot;, &quot;delta&quot;: &quot;0:00:00.004845&quot;, &quot;end&quot;:<br>
    &quot;2018-02-02 12:03:30.794860&quot;, &quot;rc&quot;: 0, &quot;start&quot;: &quot;2018-02-02<br>
    12:03:30.790015&quot;, &quot;stderr&quot;: &quot;&quot;, &quot;stderr_lines&quot;: [], &quot;stdout&quot;: &quot;&quot;,<br>
    &quot;stdout_lines&quot;: []}<br>
    [ ERROR ] Failed to execute stage &#39;Closing up&#39;: Failed executing<br>
    ansible-playbook<br>
    [ INFO  ] Stage: Clean up<br>
    [ INFO  ] Cleaning temporary resources<br>
    [ INFO  ] TASK [Gathering Facts]<br>
    [ INFO  ] ok: [localhost]<br>
    [ INFO  ] TASK [Remove local vm dir]<br>
    [ INFO  ] ok: [localhost]<br>
    [ INFO  ] Generating answer file<br>
    &#39;/var/lib/ovirt-hosted-engine-<wbr>setup/answers/answers-20180202<wbr>120333.conf&#39;<br>
    [ INFO  ] Stage: Pre-termination<br>
    [ INFO  ] Stage: Termination<br>
    [ ERROR ] Hosted Engine deployment failed: please check the logs for<br>
    the issue, fix accordingly or re-deploy from scratch.<br>
               Log file is located at<br>
    /var/log/ovirt-hosted-engine-s<wbr>etup/ovirt-hosted-engine-setup<wbr>-20180202115038-r11nh1.log<br>
<br>
    but the VM is up and running, just attached to the <a href="http://192.168.122.0/24" rel="noreferrer" target="_blank">192.168.122.0/24</a><br></div></div>
    &lt;<a href="http://192.168.122.0/24" rel="noreferrer" target="_blank">http://192.168.122.0/24</a>&gt; subnet<span><br>
<br>
    [root@d8-r13-c2-n1 ~]# ssh <a href="mailto:root@192.168.122.37" target="_blank">root@192.168.122.37</a><br></span>
    &lt;mailto:<a href="mailto:root@192.168.122.37" target="_blank">root@192.168.122.37</a>&gt;<br>
    <a href="mailto:root@192.168.122.37" target="_blank">root@192.168.122.37</a> &lt;mailto:<a href="mailto:root@192.168.122.37" target="_blank">root@192.168.122.37</a>&gt;&#39;s password:<span><br>
    Last login: Fri Feb  2 11:54:47 2018 from 192.168.122.1<br>
    [root@ovirt ~]# systemctl status ovirt-engine<br>
    ● ovirt-engine.service - oVirt Engine<br>
        Loaded: loaded (/usr/lib/systemd/system/ovirt<wbr>-engine.service;<br>
    enabled; vendor preset: disabled)<br>
        Active: active (running) since Fri 2018-02-02 11:54:42 PST;<br>
    11min ago<br>
      Main PID: 24724 (ovirt-engine.py)<br>
        CGroup: /system.slice/ovirt-engine.ser<wbr>vice<br>
                ├─24724 /usr/bin/python<br>
    /usr/share/ovirt-engine/servic<wbr>es/ovirt-engine/ovirt-engine.p<wbr>y<br>
    --redirect-output --systemd=notify start<br>
                └─24856 ovirt-engine -server -XX:+TieredCompilation<br>
    -Xms3971M -Xmx3971M -Djava.awt.headless=true<br>
    -Dsun.rmi.dgc.client.gcInterva<wbr>l=3600000<br>
    -Dsun.rmi.dgc.server.gcInterva<wbr>l=3600000 -Djsse...<br>
<br></span>
    Feb 02 11:54:41 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> &lt;<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>&gt;<span><br>
    systemd[1]: Starting oVirt Engine...<br></span>
    Feb 02 11:54:41 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> &lt;<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>&gt;<span><br>
    ovirt-engine.py[24724]: 2018-02-02 11:54:41,767-0800 ovirt-engine:<br>
    INFO _detectJBossVersion:187 Detecting JBoss version. Running:<br>
    /usr/lib/jvm/jre/...600000&#39;, &#39;-<br></span>
    Feb 02 11:54:42 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> &lt;<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>&gt;<span><br>
    ovirt-engine.py[24724]: 2018-02-02 11:54:42,394-0800 ovirt-engine:<br>
    INFO _detectJBossVersion:207 Return code: 0,  | stdout: &#39;[u&#39;WildFly<br>
    Full 11.0.0....tderr: &#39;[]&#39;<br></span>
    Feb 02 11:54:42 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> &lt;<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>&gt;<span><br>
    systemd[1]: Started oVirt Engine.<br></span>
    Feb 02 11:55:25 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> &lt;<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>&gt;<span><br>
    python2[25640]: ansible-stat Invoked with checksum_algorithm=sha1<br>
    get_checksum=True follow=False<br>
    path=/usr/share/ovirt-engine/p<wbr>laybooks/roles/ovir...ributes=<wbr>True<br></span>
    Feb 02 11:55:29 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> &lt;<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>&gt;<span><br>
    python2[25698]: ansible-stat Invoked with checksum_algorithm=sha1<br>
    get_checksum=True follow=False<br>
    path=/usr/share/ovirt-engine/p<wbr>laybooks/roles/ovir...ributes=<wbr>True<br></span>
    Feb 02 11:55:30 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> &lt;<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>&gt;<span><br>
    python2[25741]: ansible-stat Invoked with checksum_algorithm=sha1<br>
    get_checksum=True follow=False<br>
    path=/usr/share/ovirt-engine/p<wbr>laybooks/roles/ovir...ributes=<wbr>True<br></span>
    Feb 02 11:55:30 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> &lt;<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>&gt;<span><br>
    python2[25767]: ansible-stat Invoked with checksum_algorithm=sha1<br>
    get_checksum=True follow=False<br>
    path=/usr/share/ovirt-engine/p<wbr>laybooks/roles/ovir...ributes=<wbr>True<br></span>
    Feb 02 11:55:31 <a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">ovirt.crt.nersc.gov</a> &lt;<a href="http://ovirt.crt.nersc.gov" rel="noreferrer" target="_blank">http://ovirt.crt.nersc.gov</a>&gt;<div><div class="m_855029915425136115h5"><br>
    python2[25795]: ansible-stat Invoked with checksum_algorithm=sha1<br>
    get_checksum=True follow=False<br>
    path=/etc/ovirt-engine-metrics<wbr>/config.yml get_md5...ributes=True<br>
<br>
    The &#39;ip rule list&#39; never has an ovirtmgmt rule/table in it.. which<br>
    means the ansible script loops then dies; vdsmd has never configured<br>
    the network on the node.<br>
<br>
<br>
Right.<br>
Can you please attach engine.log and host-deploy from the engine VM?<br>
<br>
<br>
    [root@d8-r13-c2-n1 ~]# systemctl status vdsmd -l<br>
    ● vdsmd.service - Virtual Desktop Server Manager<br>
        Loaded: loaded (/usr/lib/systemd/system/vdsmd<wbr>.service; enabled;<br>
    vendor preset: enabled)<br>
        Active: active (running) since Fri 2018-02-02 11:55:11 PST;<br>
    14min ago<br>
      Main PID: 7654 (vdsmd)<br>
        CGroup: /system.slice/vdsmd.service<br>
                └─7654 /usr/bin/python2 /usr/share/vdsm/vdsmd<br>
<br>
    Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm:<br>
    Running dummybr<br>
    Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm:<br>
    Running tune_system<br>
    Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm:<br>
    Running test_space<br>
    Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm:<br>
    Running test_lo<br>
    Feb 02 11:55:11 d8-r13-c2-n1 systemd[1]: Started Virtual Desktop<br>
    Server Manager.<br>
    Feb 02 11:55:12 d8-r13-c2-n1 vdsm[7654]: WARN File:<br>
    /var/run/vdsm/trackedInterface<wbr>s/vnet0 already removed<br>
    Feb 02 11:55:12 d8-r13-c2-n1 vdsm[7654]: WARN Not ready yet,<br>
    ignoring event<br>
    &#39;|virt|VM_status|ba56a114-efb0<wbr>-45e0-b2ad-808805ae93e0&#39;<br>
    args={&#39;ba56a114-efb0-45e0-b2ad<wbr>-808805ae93e0&#39;: {&#39;status&#39;: &#39;Powering<br>
    up&#39;, &#39;displayInfo&#39;: [{&#39;tlsPort&#39;: &#39;-1&#39;, &#39;ipAddress&#39;: &#39;127.0.0.1&#39;,<br>
    &#39;type&#39;: &#39;vnc&#39;, &#39;port&#39;: &#39;5900&#39;}], &#39;hash&#39;: &#39;5328187475809024041&#39;,<br>
    &#39;cpuUser&#39;: &#39;0.00&#39;, &#39;monitorResponse&#39;: &#39;0&#39;, &#39;elapsedTime&#39;: &#39;0&#39;,<br>
    &#39;cpuSys&#39;: &#39;0.00&#39;, &#39;vcpuPeriod&#39;: 100000L, &#39;timeOffset&#39;: &#39;0&#39;,<br>
    &#39;clientIp&#39;: &#39;&#39;, &#39;pauseCode&#39;: &#39;NOERR&#39;, &#39;vcpuQuota&#39;: &#39;-1&#39;}}<br>
    Feb 02 11:55:13 d8-r13-c2-n1 vdsm[7654]: WARN MOM not available.<br>
    Feb 02 11:55:13 d8-r13-c2-n1 vdsm[7654]: WARN MOM not available, KSM<br>
    stats will be missing.<br>
    Feb 02 11:55:17 d8-r13-c2-n1 vdsm[7654]: WARN ping was deprecated in<br>
    favor of ping2 and confirmConnectivity<br>
<br>
    Do I need to install a complete ovirt-engine on the node first,<br>
    bring the node into ovirt, then bring up hosted-engine?  I&#39;d like to<br>
    avoid this and just go straight to hosted-engine setup.<br>
<br>
    thomas<br>
<br>
<br>
    ______________________________<wbr>_________________<br>
    Users mailing list<br></div></div>
    <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;<br>
    <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
    &lt;<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailma<wbr>n/listinfo/users</a>&gt;<br>
<br>
<br>
</blockquote>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br></div></div>