<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi, </div><div class="">this '<font color="#666666" face="trebuchet ms, sans-serif" class="">Unexpected vif_type=binding_failed’ is</font> as well fairly-generic, but you can change focus from Nova to Neutron+virtual switch.</div><div class=""><br class=""></div><div class="">So check:</div><div class="">-Neutron server logs</div><div class="">-Logs of Neutron agent on target Compute Host(s)</div><div class="">-OVS logs and possibly things like /var/log/messages for things related to virtual networking.</div><div class=""><br class=""></div><div class="">The root cause is typically:</div><div class="">-misconfiguration of mechanism driver/type driver. </div><div class="">-misconfiguration of virtual switching (typically OVS)</div><div class=""><div class="">Go through installation documents in <a href="http://docs.openstack.org" class="">docs.openstack.org</a>, that provides a guide for values </div><div class="">parameters related to that.</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">BR, </div><div class="">Konstantin</div><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 20, 2017, at 8:16 AM, Anwar Durrani <<a href="mailto:durrani.anwar@gmail.com" class="">durrani.anwar@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="gmail_default" style="font-family: 'trebuchet ms', sans-serif; color: rgb(102, 102, 102);">Further when i tried and attempt to launch new instance, i can see the following </div><div class="gmail_default" style="font-family: 'trebuchet ms', sans-serif; color: rgb(102, 102, 102);"><br class=""></div><div class="gmail_default" style="font-family: 'trebuchet ms', sans-serif; color: rgb(102, 102, 102);"><p class="gmail-p1"><span class="gmail-s1">tail -f /var/log/nova/nova-compute.log </span></p><p class="gmail-p1"><span class="gmail-s1"><br class=""></span></p><p class="gmail-p1"><span class="gmail-s1">2017-02-20 12:45:26.596 5365 TRACE nova.compute.manager [instance: 1840ac2e-5a54-4941-a96f-a431b2a2c236]     flavor, virt_type)</span></p><p class="gmail-p1"><span class="gmail-s1">2017-02-20 12:45:26.596 5365 TRACE nova.compute.manager [instance: 1840ac2e-5a54-4941-a96f-a431b2a2c236]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/vif.py", line 374, in get_config</span></p><p class="gmail-p1"><span class="gmail-s1">2017-02-20 12:45:26.596 5365 TRACE nova.compute.manager [instance: 1840ac2e-5a54-4941-a96f-a431b2a2c236]     _("Unexpected vif_type=%s") % vif_type)</span></p><p class="gmail-p1"><span class="gmail-s1">2017-02-20 12:45:26.596 5365 TRACE nova.compute.manager [instance: 1840ac2e-5a54-4941-a96f-a431b2a2c236] NovaException: Unexpected vif_type=binding_failed</span></p><p class="gmail-p1"><span class="gmail-s1">2017-02-20 12:45:26.596 5365 TRACE nova.compute.manager [instance: 1840ac2e-5a54-4941-a96f-a431b2a2c236] </span></p><div class=""><span class="gmail-s1"></span><br class="webkit-block-placeholder"></div><p class="gmail-p2"><span class="gmail-s1"></span><br class=""></p></div></div><div class="gmail_extra" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""><div class="gmail_quote">On Mon, Feb 20, 2017 at 12:31 PM, Melvin Hillsman<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:mrhillsman@gmail.com" target="_blank" class="">mrhillsman@gmail.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><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 dir="ltr" class="">Since the error was with scheduling you will want to modify the config for nova to show verbose output, try to create another instance, and check for the uuid and/or requestid of the creation attempt in the log - nova-scheduler.log<div class=""><br class=""></div><div class="">I would turn verbose logging off right after you get a failed attempt to schedule as well since they logs can grow quickly.</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div class=""><div class="h5">On Mon, Feb 20, 2017 at 12:56 AM, Saverio Proto<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:zioproto@gmail.com" target="_blank" class="">zioproto@gmail.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""></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 class=""><div class="h5">Well,<br class="">I have no idea from this log file. Trying to make nova-compute more<br class="">verbose if you dont find anything in the logs<br class=""><span class="m_3664241421341583379HOEnZb"><font color="#888888" class=""><br class="">Saverio<br class=""></font></span><div class="m_3664241421341583379HOEnZb"><div class="m_3664241421341583379h5"><br class="">2017-02-20 7:50 GMT+01:00 Anwar Durrani <<a href="mailto:durrani.anwar@gmail.com" target="_blank" class="">durrani.anwar@gmail.com</a>>:<br class="">><br class="">> On Thu, Feb 16, 2017 at 1:44 PM, Saverio Proto <<a href="mailto:zioproto@gmail.com" target="_blank" class="">zioproto@gmail.com</a>> wrote:<br class="">>><br class="">>> openstack server show uuid<br class="">><br class="">><br class="">> Hi Saverio,<br class="">><br class="">> I have investigated and progressed the case as per your saying, i got to<br class="">> know that instance was supposed to be launched on one of the nova node,<br class="">> where i dig and tried find out log as you mentioned, following output i have<br class="">> seen as below :<br class="">><br class="">> tail -f /var/log/nova/nova-compute.log<br class="">><br class="">> 2017-02-20 10:40:19.318 5365 WARNING nova.compute.manager<br class="">> [req-34fa4448-061d-44ad-b6e9-6<wbr class="">ff0d1fd072f - - - - -] While synchronizing<br class="">> instance power states, found 4 instances in the database and 0 instances on<br class="">> the hypervisor.<br class="">><br class="">> and<br class="">><br class="">> other log where i have found following :<br class="">><br class="">> tail -f /var/log/nova/nova-manage.log<br class="">><br class="">> 2017-02-15 16:42:42.896 115003 TRACE nova   File<br class="">> "/usr/lib/python2.7/site-packa<wbr class="">ges/eventlet/greenthread.py", line 34, in<br class="">> sleep<br class="">><br class="">> 2017-02-15 16:42:42.896 115003 TRACE nova     hub.switch()<br class="">><br class="">> 2017-02-15 16:42:42.896 115003 TRACE nova   File<br class="">> "/usr/lib/python2.7/site-packa<wbr class="">ges/eventlet/hubs/hub.py", line 294, in switch<br class="">><br class="">> 2017-02-15 16:42:42.896 115003 TRACE nova     return self.greenlet.switch()<br class="">><br class="">> 2017-02-15 16:42:42.896 115003 TRACE nova   File<br class="">> "/usr/lib/python2.7/site-packa<wbr class="">ges/eventlet/hubs/hub.py", line 346, in run<br class="">><br class="">> 2017-02-15 16:42:42.896 115003 TRACE nova     self.wait(sleep_time)<br class="">><br class="">><br class="">> Thanks<br class="">><br class="">><br class="">><br class="">> --<br class="">> Thanks & regards,<br class="">> Anwar M. Durrani<br class="">><span class="Apple-converted-space"> </span><a href="tel:099232%2005011" value="+919923205011" target="_blank" class="">+91-9923205011</a><br class="">><br class="">><br class=""><br class=""></div></div></div></div><span class=""><div class="m_3664241421341583379HOEnZb"><div class="m_3664241421341583379h5">______________________________<wbr class="">_________________<br class="">OpenStack-operators mailing list<br class=""><a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank" class="">OpenStack-operators@lists.open<wbr class="">stack.org</a><br class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank" class="">http://lists.openstack.org/cgi<wbr class="">-bin/mailman/listinfo/openstac<wbr class="">k-operators</a><br class=""></div></div></span></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class="m_3664241421341583379gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class="">Kind regards,<br class=""><br class="">Melvin Hillsman<br class="">Ops Technical Lead<br class="">OpenStack Innovation Center<br class=""><br class=""><a href="mailto:mrhillsman@gmail.com" target="_blank" class="">mrhillsman@gmail.com</a><br class="">phone: (210) 312-1267<br class="">mobile: (210) 413-1659<br class=""><a href="http://osic.org/" target="_blank" class="">http://osic.org</a><br class=""><br class=""><span class="">Learner | Ideation | Belief | Responsibility | Command</span><br class=""></div></div></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Thanks & regards,<br class="">Anwar M. Durrani<div class="">+91-9923205011<br class=""><a href="http://in.linkedin.com/pub/anwar-durrani/20/b55/60b" title="View public profile" name="UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_SafeHtmlFilter_webProfileURL" target="_blank" class=""></a><dl class=""><dd class=""><div class=""><br class="webkit-block-placeholder"></div></dd></dl><br class=""></div></div></div></div></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">OpenStack-operators mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:OpenStack-operators@lists.openstack.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">OpenStack-operators@lists.openstack.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a></div></blockquote></div><br class=""></body></html>