<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 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><network></div><div> <name>vdsm-ovirtmgmt</name></div><div> <forward mode='bridge'/></div><div> <bridge name='ovirtmgmt'/></div><div></network></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 &>/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"><<a href="mailto:osvoboda@redhat.com" target="_blank">osvoboda@redhat.com</a>></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>
> From: "Kai Kang" <<a href="mailto:kai.7.kang@gmail.com">kai.7.kang@gmail.com</a>><br>
> To: <a href="mailto:devel@ovirt.org">devel@ovirt.org</a><br>
> Sent: Friday, May 27, 2016 11:34:38 AM<br>
> Subject: [ovirt-devel] [vdsm] what happens to ovirmgmt during new host deployment?<br>
><br>
> Hi,<br>
><br>
> I sent mails to ovirt-user maillist for help. But it seems there is no useful<br>
> info in vdsm.log and supervdsm.log. I want to debug the code and so ask for<br>
> help here.<br>
><br>
> I am using ovirt 3.6.4.1 and vdsm 4.17.24. When deploy a new host, bridge<br>
> ovirtmgmt has been created with port eth0. But it fails with:<br>
><br>
> Host dell12 does not comply with the cluster Default networks, the following<br>
> networks are missing on host: 'ovirtmgmt'<br>
><br>
><br>
> I can make ovirtmgmt work by selecting the tab 'Hosts' -> node name(dell12)<br>
> -> subtab 'Network Interface', click 'Setup Host Networks', drag ovirtmgmt<br>
> to link with ethernet interface eth0.<br>
><br>
> What engine did to bridge ovirtmgmt during new host deployment? Just call<br>
> "getVdsCaps" to check whether ovirtmgmt is ready or sent setupNetwork<br>
> command to configure ovirtmgmt? Which part of vdsm code should I check<br>
> please?<br>
><br>
> Thanks a lot.<br>
><br>
> --Kai<br>
><br>
</div></div>> _______________________________________________<br>
> Devel mailing list<br>
> <a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
> <a 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>