location of iptables should be configurable

Bug #1080688 reported by Christian Berendt
This bug report is a duplicate of:  Bug #1069966: rootwrap error with L3 agent. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
New
Undecided
Unassigned

Bug Description

The location of iptables is hardcoded to /sbin/iptables in quantum/agent/linux/iptables_manager.py. The location should be configurable using the configuration.

RuntimeError:
Command: ['sudo', '/sbin/iptables-save', '-t', 'filter']
Exit code: 1
Stdout: ''
Stderr: 'sudo: /sbin/iptables-save: command not found\n'

Revision history for this message
Akihiro Motoki (amotoki) wrote :

RuntimeError itself is addressed by https://bugs.launchpad.net/bugs/1069966.

Only a command name rather than an absolute path should be specified in quantum modules
and a command absolute path should be specified in rootwrap configuration files.

If you would like to customize command paths please edit quantum rootwarp configuration files (which can be usually found in /etc/quantum/rootwrap.d/*).

Revision history for this message
Akihiro Motoki (amotoki) wrote :

How can I mark the bug 'duplicated' ?

Revision history for this message
dan wendlandt (danwent) wrote :

akihiro, there is a "mark as duplicate" link that i see in the upper right hand part of the page. I have used it for this bug. If you don't see it, it may be that its restricted only to members of quantum-drivers, in which case we should make you part of that group.

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.