crowbar/barclamp-quantum — pull request #73 by cdearborn (2013-06-28 17:48:57+00:00)
Title: Fix random quantum failure [1/1]

Merged in from mesa-1.6

When the quantum barclamp is deployed, it can result in a state where the openvswitch
agent is down and it cannot be started. This means that quantum just doesn't work.

The following log message appears in /var/log/quantum/openvswitch-agent.log both after
the quantum barclamp deployment and whenever the openvswitch agent is manually started:

2013-06-12 07:58:46 ERROR [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Failed to create OVS patch port. Cannot have tunneling enabled on this agent, since this version of OVS does not support tunnels or patch ports. Agent terminated!

The cause of this is that installing the quantum_agent package prior to installing the
OVS agent kernel module causes the OVS agent kernel module that ships with ubuntu to become
locked so that when the updated kernel module cannot be installed.

The fix is to move installation of the OVS packages and the OVS agent kernel module prior
to the quantum_agent package install.

chef/cookbooks/quantum/recipes/common_install.rb | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)

Crowbar-Pull-ID: 4c9d19538e5807d74472485c429b57664abe18e6

Crowbar-Release: pebbles