Linuxbridge plugin crashes with common utils

Bug #1014286 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Gary Kotton

Bug Description

openstack@openstack:/opt/stack/python-glanceclient$ sudo python /opt/stack/quantum/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py /etc/
quantum/plugins/linuxbridge/linuxbridge_conf.ini -v
INFO:__main__:Connecting to mysql://root:openstack@localhost/quantum_linux_bridge?charset=utf8
INFO:__main__:Agent initialized successfully, now running...
INFO:__main__:Connecting to database "quantum_linux_bridge" on localhost
DEBUG:__main__:plugged tap device names []
Traceback (most recent call last):
  File "/opt/stack/quantum/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py", line 499, in <module>
    main()
  File "/opt/stack/quantum/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py", line 494, in main
    plugin.daemon_loop(db_connection_url)
  File "/opt/stack/quantum/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py", line 456, in daemon_loop
    old_port_bindings)
  File "/opt/stack/quantum/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py", line 424, in manage_networks_on_host
    self.process_unplugged_interfaces(plugged_interfaces)
  File "/opt/stack/quantum/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py", line 344, in process_unplugged_interfaces
    for tap_device in self.linux_br.get_all_tap_devices():
  File "/opt/stack/quantum/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py", line 135, in get_all_tap_devices
    return self._get_prefixed_tap_devices(TAP_INTERFACE_PREFIX)
  File "/opt/stack/quantum/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py", line 125, in _get_prefixed_tap_devices
    retval = utils.execute(['ip', 'tuntap'], root_wrapper=self.root_helper)
TypeError: execute() got an unexpected keyword argument 'root_wrapper'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

Changed in quantum:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/8645
Committed: http://github.com/openstack/quantum/commit/1c3a2a0d9735c549f7ae82e0f5e568a930f9a33d
Submitter: Jenkins
Branch: master

commit 1c3a2a0d9735c549f7ae82e0f5e568a930f9a33d
Author: Gary Kotton <email address hidden>
Date: Sun Jun 17 08:29:40 2012 -0400

    Linux bridge agents did not work with common linus utils
    bug 1014286

    Change-Id: I66327f5414d7f08dd13208707f12291ce202e47f

Changed in quantum:
status: In Progress → Fix Committed
Gary Kotton (garyk)
Changed in quantum:
milestone: none → folsom-2
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: folsom-2 → 2012.2
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.