<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; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>Hi</div>
<div>When booting Vms with 3 interfaces and when port binding happens quick enough I sometimes see that the first VM booted on a compute node gets stuck waiting for VIF plugging event but looking at the neutron logs the notification is sent and also nova responded
 with a 200 OK.</div>
<div><br>
</div>
<div>When looking at the code in nova/virt/libvirt/driver.py we see in spawn() there is a call to _create_domain_and_network which calls _get_neutron_events</div>
<div><br>
</div>
<div>So in what scenarios can this notification happen to soon or is there a race condition somewhere in this code wherby even though neutron sends the notification and nova responds the code here blocks for 300 seconds since it missed the event. </div>
<div><br>
</div>
<div>Any clues on what maybe going on here. Its almost like the neutron notification happened too quickly while nova code was busy performing create_image</div>
<div><br>
</div>
<div>This happens only with the first VM on a compute node </div>
<div><br>
</div>
<div>Any ideas on how to fix this</div>
<div><br>
</div>
<div>Ajay</div>
<div><br>
</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
</div>
</body>
</html>