OVS Agent Packaging Issue

Bug #1048668 reported by Emilien Macchi
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned
quantum (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I'm using Ubuntu Testing Folsom Packages [1] with Quantum-server with OVS plugin.

1) When you want to upgrade the agent, you have an overwrite error [2].
The only one way I found to fix it is to do :

dpkg --force-overwrite --purge quantum-plugin-openvswitch
apt-get install -y quantum-plugin-openvswitch

2) /etc/init/quantum-plugin-openvswitch-agent.conf is false :
I'm using root since Quantum has not the rights to write on OVS files :

exec start-stop-daemon --start --chuid root --exec /usr/bin/quantum-openvswitch-agent/quantum-openvswitch-agent -- --config-file /etc/quantum/quantum.conf --config-file /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini --log-file /var/log/quantum/agent-ovs.log

[1] https://launchpad.net/~openstack-ubuntu-testing/+archive/folsom-trunk-testing
[2] http://paste.openstack.org/show/IrgXXWLMTBEXvxpdmEoP/

Related branches

Changed in quantum:
status: New → Invalid
Revision history for this message
Adam Gandelman (gandelman-a) wrote :

As discussed with Emilien on IRC, seems to be an issue connecting to the OVS socket when executing via quantum-rootwrap: http://paste.openstack.org/show/nxrauk9Pje5zTYhZGcNu/

Revision history for this message
Emilien Macchi (emilienm) wrote :

There is an error in the default *ovs_quantum_plugin.ini* file :

Replace "root_helper = quantum-rootwrap /etc/quantum/rootwrap.conf"
by
"root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf"

and it's working.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package quantum - 2012.2~rc1-0ubuntu1

---------------
quantum (2012.2~rc1-0ubuntu1) quantal; urgency=low

  [ Adam Gandelman ]
  * debain/*.postrm: Fix argument-less calls to update-rc.d, redirect
    to /dev/null. (LP: #1047560)
  * debian/quantum-server.upstart: Invoke start-stop-daemon properly.
    (LP: #1047404)
  * debain/*.postrm, *.upstart: Ensure files are named for corresponding
    agent package, not plugin package.
  * debian/control:
    - Group agents with plugins.
    - Fix some copy/paste mistakes.
    - Set dependencies between agents and corresponding plugins.
    - Recommend quantum-plugin-openvswitch for quantum-server.
    - Require the same version of quantum-common and python-quantum.
    - Add quantum-netns-cleanup utility to quantum-common.
  * debian/patches/fix-quantum-configuration.patch: Use correct database
    for linuxbridge plugin, use OVS plugin by default, call quantum-rootwrap
    correctly. (LP: #1048668)
  * Fix all use of /usr/sbin, things should go in /usr/bin.
  * Remove dhcp and l3 plugins, they are not actually plugins.
  * Rename packages quantum-plugin-{l3, dhcp}-agent to
    quantum-{l3, dhcp}-agent.
  * debain/quantum-*-agent.upstart: Specify config files as a
    parameter to --config-file, specify log files for all.
  * debian/*.logrotate: Add logrotate configs for server and agents.
  * Install quantum_sudoers with quantum-common, not quantum-server.
  * Install rootwrap filters only with the packages that require them.
  * debian/*-agent.upstart: Specify --config-file=/etc/quantum/quantum.conf
    in addition to plugin-specific config. Specify log files for all agents.
  * Allow group 'adm' read access to /var/log/quantum.
  * debian/quantum-server.postinst: Drop, all has been moved to quantum-common.
  * Add packaging for quantum-plugin-nec.

  [ Chuck Short ]
  * New usptream release.
 -- Chuck Short <email address hidden> Wed, 12 Sep 2012 13:41:20 -0500

Changed in quantum (Ubuntu):
status: New → Fix Released
Dave Walker (davewalker)
Changed in quantum (Ubuntu):
importance: Undecided → High
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.