← Back to team overview

openstack team mailing list archive

Re: Error in l3_agent

 

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@xxxxxxxxxxxxxxxxxxx [openstack-bounces+atul.jha=csscorp.com@xxxxxxxxxxxxxxxxxxx] on behalf of Skible OpenStack [skible.openstack@xxxxxxxxx]
Sent: Monday, November 05, 2012 3:22 PM
To: openstack@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



Follow ups

References