[RFE] Ironic needs to synchronize external events with Neutron

Bug #1304673 reported by Adam Gandelman on 2014-04-08
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ironic
Wishlist
Vasyl Saienko

Bug Description

Related to https://review.openstack.org/#/c/84361/ and https://bugs.launchpad.net/ironic/+bug/1300589

Updates to Neutron resources via its API are processed asynchronously on its backend. This exposes potential races with Ironic. Example: an API request from Ironic to update a port's DHCP settings will return successfully long before the associated dnsmasq config has been updated and the server restarted. There is a small potential for a race condition where Ironic will boot a machine before its DHCP has been properly configured, especially if the machine boots very quickly (ie a local VM)

Though none are used by Ironic (yet?), other Neutron operations are dependent on some other state in Neutron. For instance, a firewall will stay PENDING until an associated router and router interface have been created and are ACTIVE.

We need a way to synchronize these events. During Icehouse, Nova solved almost identical issues regarding orchestration between Nova and Neutron via an admin API endpoint Neutron can use to post back notifications. Ironic's Neutron usage is relatively limited ATM, but providing a framework similar to Nova's for this type of orchestration would solve the current issues and allow future drivers to take advantage of other Neutron features.

Changed in ironic:
status: New → Triaged
importance: Undecided → Medium
Changed in ironic:
assignee: nobody → Shraddha Pandhe (shraddha-pandhe)
John Stafford (john-stafford) wrote :

Hi Shraddha,

Are you still working this bug?

Vasyl Saienko (vsaienko) on 2016-07-07
Changed in ironic:
assignee: Shraddha Pandhe (shraddha-pandhe) → Vasyl Saienko (vsaienko)
Vasyl Saienko (vsaienko) wrote :

Neutron port remains in down state for Ironic instances, we should fix it first: https://bugs.launchpad.net/neutron/+bug/1599836

Fix proposed to branch: master
Review: https://review.openstack.org/339489

Changed in ironic:
status: Triaged → In Progress
Ruby Loo (rloo) wrote :
Changed in ironic:
importance: Medium → Wishlist
summary: - Ironic needs to synchronize external events with Neutron
+ [RFE] Ironic needs to synchronize external events with Neutron
tags: added: rfe
tags: added: needs-spec

Change abandoned by Vasyl Saienko (<email address hidden>) on branch: master
Review: https://review.openstack.org/339489

Change abandoned by Vasyl Saienko (<email address hidden>) on branch: master
Review: https://review.openstack.org/345963

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers