[Openstack-operators] Neutron Nova Notification and Virtual Interface plugging events

Ahmed Mostafa ahmedmostafadev at gmail.com
Mon Oct 31 09:34:02 UTC 2016


Hello all,

I am a bit confuse by the following parameters :

notify_nova_on_port_status_change
notify_nova_on_port_data_change

The reason i am confused is that i see if there either of these values is
set to true (Which is the default), neutron will create a notiva notifier
and send these events to nova.

But i can not understand that part from the nova side, because as i see,
when you create a virtual machine you basically call

_do_build_and_run_instance, which calls _create_domain_and_network

These two methods create a virtual machine and a port, then attach that
port on the virtual machine

but in _create_domain_and_network, is see nova waiting for neutron to
create the port and it has a neutron_callbak_fail, if neutron should fail
in creating the port.

Now, if i set these values to false, instance creation still will work, so
i do not really understand, are these two values critical in creating a
virtual machine ? and if not what exactly do they do ?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20161031/119cd6ab/attachment.html>


More information about the OpenStack-operators mailing list