<div dir="ltr">Ok the problem was nova_url. I had give '<a href="http://ip_address/8774/v2/%(tenant-id)s">http://ip_address/8774/v2/%(tenant-id)s</a>'. Instead It had to be just '<a href="http://ip_address:8774/v2/">http://ip_address:8774/v2/</a>'. Now the instance launch is much quicker. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 6, 2015 at 1:11 PM, Kevin Benton <span dir="ltr"><<a href="mailto:blak111@gmail.com" target="_blank">blak111@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It's sent via http. Look for the nova_url parameter.[1]<div><br></div><div>1. <a href="https://github.com/openstack/neutron/blob/33b83554442b7c0d862a2adb0b2a8feab1185af9/etc/neutron.conf#L267" target="_blank">https://github.com/openstack/neutron/blob/33b83554442b7c0d862a2adb0b2a8feab1185af9/etc/neutron.conf#L267</a> </div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Thu, Feb 5, 2015 at 11:10 PM, Akilesh K <span dir="ltr"><<a href="mailto:akilesh1597@gmail.com" target="_blank">akilesh1597@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Great this is what I was looking for and I was suspecting the same. After instance launch everything is smooth , dhcp, routing , floatingip. So I believe nova is just missing the notification from neutron. How does this notification go, through rabbitmq?<br><br></div>Thank you,<br>Ageeleshwar K<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 6, 2015 at 12:36 PM, Kevin Benton <span dir="ltr"><<a href="mailto:blak111@gmail.com" target="_blank">blak111@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Nova sends a port update to Neutron after the VM has been scheduled so Neutron can know the location of the port it needs to setup in OVS. After Neutron finishes this setup, it notifies Nova that it has finished setting up the port. At this point, Nova resumes the boot of the VM since network connectivity is now supposed to be present.<div><br></div><div><span style="font-size:12.8000001907349px">vif_plugging_timeout is how long Nova will wait to hear back from Neutron that the port is active.</span><br></div><div><span style="font-size:12.8000001907349px">vif_plugging_is_fatal determines what Nova does when that timer expires. If it's true, it will error out as you observed. If it's false, it will assume the port is ready and continue booting even though it has not heard from Neutron.</span><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Your intuition is right that you are bypassing the problem, which is the missing notifications from Neutron to Nova. </span><span style="font-size:12.8000001907349px">Have you confirmed that the Neutron port is actually active and that you have connectivity? </span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">If so, there is probably just a misconfiguration in neutron.conf for the nova notification settings. Check the URL/region/tenant info/username/password for all of the settings that start with 'nova_' in neutron.conf.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div>If you don't have connectivity, it means that Neutron actually couldn't bring the port online, in which case it was correct not to notify Nova. In this case, you will need to examine your Neutron server logs (usually /var/log/neutron/server.log) to get more hints about why it's failing to bring up the port.</div><div><br></div><div>Cheers,</div><div>Kevin Benton</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Feb 5, 2015 at 10:06 PM, Akilesh K <span dir="ltr"><<a href="mailto:akilesh1597@gmail.com" target="_blank">akilesh1597@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>I have a working openstack setup. But I have some questions on how I got it working. <br><br>Initially my instances failed to launch. <br><br></div>I have updated the correct values for neutron authentication in nova.conf and correct nova authentication in neutron.conf and notify_nova on port change is true but still instances failed.<br><br></div>One thing I did note was that It took an awfully long time to fail and by the time it reported failure neutron had created a port for the instance, the vif driver had created a tap interface, the kvm had already started but still nova reported failure.<br><br></div>When I set vif_plugging_is_fatal to false and vif_plugging_timeout to 10 I could finally have my Instances up and in about 20 seconds. <br><br></div>Someone please explain the <br>1, significance of these two parameters<br><br>2. what had been going on in my openstack before I had them configured correctly<br><br>3. if even the configuration I had done is correct or am I just bypassing some bigger problem. <br><br></div>Thank you,<br>Ageeleshwar K<br></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div>Kevin Benton</div></div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><div>Kevin Benton</div></div>
</font></span></div>
</blockquote></div><br></div>