Quantum server starts before provider network config is written

Bug #1086854 reported by Mark T. Voelker
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
Confirmed
Undecided
Unassigned
Folsom
Fix Committed
Medium
Unassigned

Bug Description

From Ian:

Quantum: I'm setting up a provider network and there's every indication that the quantum server is being started before the configuration for the provider network (network_vlan_ranges) is written. When I tried to debug a 'no provider network' error I was seeing I discovered that restarting the quantum server is enough to make it all go away. (Horizon is starting before *installation* is complete, which is just as annoying; it's probably a load of notify/subscribe required on the config files and services.) Dependencies matter, and are the cause of pretty much all of our intermittent failures; if you're writing puppet and you don't understand dependencies properly, please get someone to review your work.

Revision history for this message
Mark T. Voelker (mvoelker) wrote :

Edgar notes a workaround:

I submitted a simple patch for this, basically restarting quantum server every time there is a change on the config files.
https://github.com/CiscoSystems/puppet-quantum/pull/5

To which Ian replies:

That fix is wrong, but it probably serves the purpose for now. We're missing dependencies; rather than put them in you're just restarting Quantum a lot. The problem with this is you're probably restarting Quantum several times over when the background puppet process runs every 30 minutes or so.

Revision history for this message
Ian Wells (ijw-ubuntu) wrote :

Filed a new bug more specifically about puppet apply on a configured system being a no-op, which will catch the problem that Edgar's fix might be causing. Let's accept this and fix that separately in an appropriate timeframe.

Changed in openstack-cisco:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.