rootwrap error with L3 agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Akihiro Motoki | ||
Folsom |
Fix Released
|
High
|
Gary Kotton | ||
quantum (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am seeing the following error in /var/log/
2012-10-22 09:00:48 DEBUG [quantum.
2012-10-22 09:00:48 DEBUG [quantum.
Command: ['sudo', '/usr/bin/
Exit code: 99
Stdout: 'Unauthorized command: /sbin/iptables-save -t filter\n'
Stderr: ''
2012-10-22 09:00:48 ERROR [quantum.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
ri.
File "/usr/lib/
root_
File "/usr/lib/
raise RuntimeError(m)
RuntimeError:
Command: ['sudo', '/usr/bin/
Exit code: 99
Stdout: 'Unauthorized command: /sbin/iptables-save -t filter\n'
Stderr: ''
If I run "sudo /usr/bin/
If I run "sudo /usr/bin/
Otherwise, I don't see errors in the log.
Is this a problem?
Thanks,
Graham
Related branches
- Openstack Ubuntu Testers: Pending requested
-
Diff: 79 lines (+68/-0)1 file modifieddebian/changelog (+68/-0)
tags: | added: folsom-backport-potential |
Changed in quantum: | |
status: | New → Confirmed |
Changed in quantum: | |
assignee: | nobody → Akihiro Motoki (amotoki) |
tags: | removed: folsom-backport-potential |
Changed in quantum (Ubuntu): | |
status: | New → Fix Released |
Changed in quantum (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in quantum: | |
milestone: | none → grizzly-1 |
importance: | Undecided → High |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum (Ubuntu Quantal): | |
status: | New → Confirmed |
tags: | removed: in-stable-folsom |
Changed in quantum: | |
milestone: | grizzly-1 → 2013.1 |
also from graham:
I have focused in on this a bit and wanted to add some more details.
First, this only happens once I set the router_id in l3_agent.ini. Only then does this error occur.
I noticed that line 272 of quantum/ agent/linux/ iptables_ manager. py is:
s = [('/sbin/iptables', self.ipv4)]
If I change this to:
s = [('iptables', self.ipv4)]
It seems to work without error. Is this correct?