[Openstack] Error in l3_agent

Gary Kotton gkotton at redhat.com
Mon Nov 5 10:27:06 UTC 2012


Hi,
The bug has been fixed upstream and is merged into the stable folsom 
branch. Please note that this may not have been packaged by the various 
linux distributions.
If you need to fix this locally then please look at 
https://github.com/openstack/quantum/commit/84d60f5fd477237bd856b97b9970dd796b10647e 
for the change.
Thanks
Gary

On 11/05/2012 12:11 PM, Atul Jha wrote:
> Skible,
>
> Looks to me like a reported bug.
>
> https://bugs.launchpad.net/quantum/+bug/1069966
>
> ________________________________________
> From: openstack-bounces+atul.jha=csscorp.com at lists.launchpad.net [openstack-bounces+atul.jha=csscorp.com at lists.launchpad.net] on behalf of Skible OpenStack [skible.openstack at gmail.com]
> Sent: Monday, November 05, 2012 3:22 PM
> To: openstack at lists.launchpad.net
> Subject: [Openstack] Error in l3_agent
>
> Hello Stackers !
>
> i am finding a weird error in my l3_agent.log file:
>
> ================================
>
> Stderr: ''
> 2012-11-05 10:22:59    ERROR [quantum.agent.l3_agent] Error running
> l3_nat daemon_loop
> Traceback (most recent call last):
>     File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py",
> line 170, in daemon_loop
>       self.do_single_loop()
>     File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py",
> line 227, in do_single_loop
>       self.process_router(ri)
>     File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py",
> line 300, in process_router
>       self.external_gateway_added(ri, ex_gw_port, internal_cidrs)
>     File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py",
> line 398, in external_gateway_added
>       ri.iptables_manager.apply()
>     File
> "/usr/lib/python2.7/dist-packages/quantum/agent/linux/iptables_manager.py",
> line 282, in apply
>       root_helper=self.root_helper))
>     File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/utils.py",
> line 55, in execute
>       raise RuntimeError(m)
> RuntimeError:
> Command: ['sudo', '/usr/bin/quantum-rootwrap',
> '/etc/quantum/rootwrap.conf', '/sbin/iptables-save', '-t', 'filter']
> Exit code: 99
> Stdout: 'Unauthorized command: /sbin/iptables-save -t filter\n'
> Stderr: ''
>
> ==================================
>
> I can't seem to find any documentation about this problem.
>
> Can anyone please shed some light on this ?
>
> Best regards,
> Bilel
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> http://www.csscorp.com/common/email-disclaimer.php
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp





More information about the Openstack mailing list