crowbar/barclamp-quantum — pull request #71 by cdearborn (2013-06-27 11:36:39+00:00)
Title: Fix random quantum failure [1/1]

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 | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

Crowbar-Pull-ID: 91d2e2b691f37ef4e13c61bad41632f78374ac02

Crowbar-Release: mesa-1.6