check-neutron-port-status

Registered by Aaron Rosen

Currently, when booting a vm nova calls out to neutron to create a port and then boots the vm. One issue that we have is that the vm can come up before the network is ready. In order to avoid this we'll have nova-compute poll neutron for the ports attached to the instance and only start the instance once all ports are ACTIVE. Hopefully this will help resolves issues like this: https://bugs.launchpad.net/neutron/+bug/1253896 in the gate.

In order to implement we'll need to move the plug_vifs call in the virt drivers. Currently, spawn is calling plug_vifs and starting the instance at the same time. This blueprint will come in a series of multiple patches that implement this logic.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Aaron Rosen
Direction:
Needs approval
Assignee:
Aaron Rosen
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Aaron Rosen

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/check-neutron-port-status,n,z

Addressed by: https://review.openstack.org/74197
    Set data in ovsdb even if libvirt version is >= 9011 and call plug_vifs

Addressed by: https://review.openstack.org/74218
    Wait for neutron ports to be ACTIVE before spawning instance
Gerrit topic: https://review.openstack.org/#q,topic:bp/check-neutron-port-status,n,z

Addressed by: https://review.openstack.org/74197
    Set data in ovsdb even if libvirt version is >= 9011 and call plug_vifs

Addressed by: https://review.openstack.org/74218
    Wait for neutron ports to be ACTIVE before spawning instance

If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.