[Openstack] l3-agent iptables-restore: line 23 failed
Martin Mailand
martin at tuxadero.com
Sat Jun 1 14:45:17 UTC 2013
Hi List,
if I add my routers gateway to an external network, I get an error in
the l3-agent.log, about a failure in iptables-restore.
As far as I know iptables-restore gets the information on stdin, how
could I see the iptable rules which do not apply?
How could I debug this further?
Full log is attachted.
-martin
Command:
root at controller:~# quantum router-gateway-set
ac1a85c9-d5e1-4976-a16b-14ccdac49c17 61bf1c06-aea7-4966-9718-2be029abc18d
Set gateway for router ac1a85c9-d5e1-4976-a16b-14ccdac49c17
root at controller:~#
Log:
2013-06-01 16:07:35 DEBUG [quantum.agent.linux.utils] Running
command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf',
'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17',
'iptables-restore']
2013-06-01 16:07:35 DEBUG [quantum.agent.linux.utils]
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf',
'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17',
'iptables-restore']
Exit code: 1
Stdout: ''
Stderr: 'iptables-restore: line 23 failed\n'
quantum router-show ac1a85c9-d5e1-4976-a16b-14ccdac49c17
+-----------------------+--------------------------------------------------------+
| Field | Value
|
+-----------------------+--------------------------------------------------------+
| admin_state_up | True
|
| external_gateway_info | {"network_id":
"61bf1c06-aea7-4966-9718-2be029abc18d"} |
| id | ac1a85c9-d5e1-4976-a16b-14ccdac49c17
|
| name | router1
|
| routes |
|
| status | ACTIVE
|
| tenant_id | b5e5af3504964760ad51c4980d30f89a
|
+-----------------------+--------------------------------------------------------+
quantum net-show 61bf1c06-aea7-4966-9718-2be029abc18d
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | 61bf1c06-aea7-4966-9718-2be029abc18d |
| name | ext_net |
| provider:network_type | gre |
| provider:physical_network | |
| provider:segmentation_id | 2 |
| router:external | True |
| shared | False |
| status | ACTIVE |
| subnets | ccde4243-5857-4ee2-957e-a11304366f85 |
| tenant_id | 43b2bbbf5daf4badb15d67d87ed2f3dc |
+---------------------------+--------------------------------------+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: l3-agent.log
Type: text/x-log
Size: 18456 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130601/5f7ae0a7/attachment.bin>
More information about the Openstack
mailing list