<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Thank you Kai for describing you solution!<br>
      <br>
      However, I think the ovirtmgmt network should be created
      automatically. I will forward this issue on.<br>
      <br>
        <br>
        <br>
      Cheers, Ondra<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 31.5.2016 05:04, Kai Kang wrote:<br>
    </div>
    <blockquote
cite="mid:CADC9Kmp1-vz2u_S0zr6PZwJ-G4rz1mHoQ+M_su64MtB4vcrAqQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Ondra,
        <div><br>
        </div>
        <div>Thanks for your patience with my so many questions.</div>
        <div><br>
        </div>
        <div>Finally I search a Redhat defect <a moz-do-not-send="true"
            href="https://bugzilla.redhat.com/show_bug.cgi?id=1222566">https://bugzilla.redhat.com/show_bug.cgi?id=1222566</a>,
          and it seems caused by lacking of libvirt network
          "vdsm-ovirtmgmt". After I create the network by hook, then the
          host could be deployed successfully.</div>
        <div><br>
        </div>
        <div>Hook files
          under /usr/lib64/vdsm/vdsm/hooks/before_vdsm_start:</div>
        <div><br>
        </div>
        <div>vdsm-ovirtmgmt.xml:<br>
        </div>
        <div>
          <div>&lt;network&gt;</div>
          <div>        &lt;name&gt;vdsm-ovirtmgmt&lt;/name&gt;</div>
          <div>        &lt;forward mode='bridge'/&gt;</div>
          <div>        &lt;bridge name='ovirtmgmt'/&gt;</div>
          <div>&lt;/network&gt;</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>20-setupDefaultNetwork:<br>
        </div>
        <div>
          <div>#!/bin/sh</div>
          <div><br>
          </div>
          <div>VIRSH=/usr/bin/virsh</div>
          <div>SOURCEDIR=$(dirname $(readlink -f $0))</div>
          <div>DEFAULTNET=vdsm-ovirtmgmt</div>
          <div><br>
          </div>
          <div>if ! $VIRSH net-dumpxml $DEFAULTNET &amp;&gt;/dev/null;
            then</div>
          <div>        $VIRSH net-define $SOURCEDIR/vdsm-ovirtmgmt.xml</div>
          <div>fi</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Kai</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, May 27, 2016 at 6:53 PM, Ondřej
          Svoboda <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:osvoboda@redhat.com" target="_blank">osvoboda@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">Kai,<br>
            <br>
            please also take a look at /var/log/ovirt-engine/engine.log<br>
            <br>
            VDSM stores the engine's request for capabilities in
            vdsm.log, and logs Setup Networks actions in supervdsm.log.<br>
            <br>
            I'll inspect logs you sent me privately. Can you please make
            the engine logs available to the list?<br>
            <br>
            Thanks,<br>
            Ondra<br>
            <div>
              <div class="h5"><br>
                ----- Original Message -----<br>
                &gt; From: "Kai Kang" &lt;<a moz-do-not-send="true"
                  href="mailto:kai.7.kang@gmail.com">kai.7.kang@gmail.com</a>&gt;<br>
                &gt; To: <a moz-do-not-send="true"
                  href="mailto:devel@ovirt.org">devel@ovirt.org</a><br>
                &gt; Sent: Friday, May 27, 2016 11:34:38 AM<br>
                &gt; Subject: [ovirt-devel] [vdsm] what happens to
                ovirmgmt during new host        deployment?<br>
                &gt;<br>
                &gt; Hi,<br>
                &gt;<br>
                &gt; I sent mails to ovirt-user maillist for help. But
                it seems there is no useful<br>
                &gt; info in vdsm.log and supervdsm.log. I want to debug
                the code and so ask for<br>
                &gt; help here.<br>
                &gt;<br>
                &gt; I am using ovirt 3.6.4.1 and vdsm 4.17.24. When
                deploy a new host, bridge<br>
                &gt; ovirtmgmt has been created with port eth0. But it
                fails with:<br>
                &gt;<br>
                &gt; Host dell12 does not comply with the cluster
                Default networks, the following<br>
                &gt; networks are missing on host: 'ovirtmgmt'<br>
                &gt;<br>
                &gt;<br>
                &gt; I can make ovirtmgmt work by selecting the tab
                'Hosts' -&gt; node name(dell12)<br>
                &gt; -&gt; subtab 'Network Interface', click 'Setup Host
                Networks', drag ovirtmgmt<br>
                &gt; to link with ethernet interface eth0.<br>
                &gt;<br>
                &gt; What engine did to bridge ovirtmgmt during new host
                deployment? Just call<br>
                &gt; "getVdsCaps" to check whether ovirtmgmt is ready or
                sent setupNetwork<br>
                &gt; command to configure ovirtmgmt? Which part of vdsm
                code should I check<br>
                &gt; please?<br>
                &gt;<br>
                &gt; Thanks a lot.<br>
                &gt;<br>
                &gt; --Kai<br>
                &gt;<br>
              </div>
            </div>
            &gt; _______________________________________________<br>
            &gt; Devel mailing list<br>
            &gt; <a moz-do-not-send="true"
              href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
            &gt; <a moz-do-not-send="true"
              href="http://lists.ovirt.org/mailman/listinfo/devel"
              rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@ovirt.org">Devel@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/devel">http://lists.ovirt.org/mailman/listinfo/devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>