← Back to team overview

openstack team mailing list archive

l3-agent iptables-restore: line 23 failed

 

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@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@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     |
+---------------------------+--------------------------------------+
2013-06-01 16:07:03    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:03    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is 5eded77d48f9461aa029b6dfe3a72a2f
2013-06-01 16:07:03    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is a97579c5bb304cf2b8e99099bfdfeca6.
2013-06-01 16:07:07    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:07    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is cc0672ba1cc749059d6c8190a18d4721
2013-06-01 16:07:07    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is 7534a2f4def14829b35186215e2aa146.
2013-06-01 16:07:11    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:11    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is 2d5cde249edd4905868c401bb5075e60
2013-06-01 16:07:11    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is 5d0d2d2554cf4ae1b4d2485b181fe9ad.
2013-06-01 16:07:15    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:15    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is e456789e89c843b8b098549f0a6dffd8
2013-06-01 16:07:15    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is cd6d6fe271534ea4b0bed159238b9aa9.
2013-06-01 16:07:19    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:19    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is 99f0c003e361442baa9acd04f1f22cd2
2013-06-01 16:07:19    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is 076d0a178ddc4b97af53ad4bd979c9bc.
2013-06-01 16:07:23    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:23    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is 822f072b44874a7b93cd2d222574343f
2013-06-01 16:07:23    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is 7513ed78f63c43a8950d6837856bcad8.
2013-06-01 16:07:27    DEBUG [quantum.openstack.common.periodic_task] Running periodic task L3NATAgentWithStateReport._sync_routers_task
2013-06-01 16:07:27    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:27    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is 2fb420558ed84a95b7e669310af22fa8
2013-06-01 16:07:27    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is a58d9788040646899dc39cfa621d39c2.
2013-06-01 16:07:31    DEBUG [quantum.openstack.common.rpc.amqp] received {u'_context_roles': [u'KeystoneServiceAdmin', u'admin', u'KeystoneAdmin'], u'_context_read_deleted': u'no', u'_context_tenant_id': u'43b2bbbf5daf4badb15d67d87ed2f3dc', u'args': {u'routers': [{u'status': u'ACTIVE', u'external_gateway_info': {u'network_id': u'61bf1c06-aea7-4966-9718-2be029abc18d'}, u'name': u'router1', u'admin_state_up': True, u'tenant_id': u'b5e5af3504964760ad51c4980d30f89a', u'gw_port': {u'status': u'DOWN', u'subnet': {u'cidr': u'192.168.100.100/24', u'gateway_ip': u'192.168.100.1', u'id': u'ccde4243-5857-4ee2-957e-a11304366f85'}, u'name': u'', u'admin_state_up': True, u'network_id': u'61bf1c06-aea7-4966-9718-2be029abc18d', u'tenant_id': u'', u'binding:vif_type': u'ovs', u'device_owner': u'network:router_gateway', u'binding:capabilities': {u'port_filter': False}, u'mac_address': u'fa:16:3e:28:24:3c', u'fixed_ips': [{u'subnet_id': u'ccde4243-5857-4ee2-957e-a11304366f85', u'ip_address': u'192.168.100.102'}], u'id': u'b8c39803-9129-4ee5-955c-53eb3bccfde7', u'security_groups': [], u'device_id': u'ac1a85c9-d5e1-4976-a16b-14ccdac49c17'}, u'_interfaces': [{u'status': u'ACTIVE', u'subnet': {u'cidr': u'10.0.0.0/24', u'gateway_ip': u'10.0.0.1', u'id': u'e998c5ca-e0d4-45ae-a608-a65e0c3b122c'}, u'name': u'', u'admin_state_up': True, u'network_id': u'c8ae60a6-fad3-40c9-b61a-ea209457379d', u'tenant_id': u'b5e5af3504964760ad51c4980d30f89a', u'binding:vif_type': u'ovs', u'device_owner': u'network:router_interface', u'binding:capabilities': {u'port_filter': False}, u'mac_address': u'fa:16:3e:c8:c1:fb', u'fixed_ips': [{u'subnet_id': u'e998c5ca-e0d4-45ae-a608-a65e0c3b122c', u'ip_address': u'10.0.0.1'}], u'id': u'1e412e94-7187-401f-bf7a-19b26b1a9442', u'security_groups': [], u'device_id': u'ac1a85c9-d5e1-4976-a16b-14ccdac49c17'}], u'routes': [], u'id': u'ac1a85c9-d5e1-4976-a16b-14ccdac49c17'}]}, u'_unique_id': u'01903ec0f94c4a949c384da1259e2106', u'_context_is_admin': True, u'version': u'1.0', u'_context_project_id': u'43b2bbbf5daf4badb15d67d87ed2f3dc', u'_context_timestamp': u'2013-06-01 14:03:51.891967', u'_context_user_id': u'8f9630095810427d865bc90c5ea04d35', u'method': u'routers_updated'}
2013-06-01 16:07:31    DEBUG [quantum.openstack.common.rpc.amqp] unpacked context: {'user_id': u'8f9630095810427d865bc90c5ea04d35', 'roles': [u'KeystoneServiceAdmin', u'admin', u'KeystoneAdmin'], 'tenant_id': u'43b2bbbf5daf4badb15d67d87ed2f3dc', 'is_admin': True, 'timestamp': u'2013-06-01 14:03:51.891967', 'project_id': u'43b2bbbf5daf4badb15d67d87ed2f3dc', 'read_deleted': u'no'}
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] Running command: ['ip', '-o', 'link', 'show', 'br-ex']
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] 
Command: ['ip', '-o', 'link', 'show', 'br-ex']
Exit code: 0
Stdout: '11: br-ex: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN \\    link/ether 00:25:90:84:32:4f brd ff:ff:ff:ff:ff:ff\n'
Stderr: ''
2013-06-01 16:07:31    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:31    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is f8be70e7de974410a23a4af4dbdd247a
2013-06-01 16:07:31    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is fbc17a07474a466488f29711e1431580.
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] Running command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'ip', '-o', 'link', 'show', 'qg-b8c39803-91']
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] 
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'ip', '-o', 'link', 'show', 'qg-b8c39803-91']
Exit code: 1
Stdout: ''
Stderr: 'Device "qg-b8c39803-91" does not exist.\n'
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] Running command: ['ip', '-o', 'link', 'show', 'br-ex']
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] 
Command: ['ip', '-o', 'link', 'show', 'br-ex']
Exit code: 0
Stdout: '11: br-ex: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN \\    link/ether 00:25:90:84:32:4f brd ff:ff:ff:ff:ff:ff\n'
Stderr: ''
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] Running command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'ip', '-o', 'link', 'show', 'qg-b8c39803-91']
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] 
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'ip', '-o', 'link', 'show', 'qg-b8c39803-91']
Exit code: 1
Stdout: ''
Stderr: 'Device "qg-b8c39803-91" does not exist.\n'
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] Running command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ovs-vsctl', '--', '--may-exist', 'add-port', 'br-ex', 'qg-b8c39803-91', '--', 'set', 'Interface', 'qg-b8c39803-91', 'type=internal', '--', 'set', 'Interface', 'qg-b8c39803-91', 'external-ids:iface-id=b8c39803-9129-4ee5-955c-53eb3bccfde7', '--', 'set', 'Interface', 'qg-b8c39803-91', 'external-ids:iface-status=active', '--', 'set', 'Interface', 'qg-b8c39803-91', 'external-ids:attached-mac=fa:16:3e:28:24:3c']
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] 
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ovs-vsctl', '--', '--may-exist', 'add-port', 'br-ex', 'qg-b8c39803-91', '--', 'set', 'Interface', 'qg-b8c39803-91', 'type=internal', '--', 'set', 'Interface', 'qg-b8c39803-91', 'external-ids:iface-id=b8c39803-9129-4ee5-955c-53eb3bccfde7', '--', 'set', 'Interface', 'qg-b8c39803-91', 'external-ids:iface-status=active', '--', 'set', 'Interface', 'qg-b8c39803-91', 'external-ids:attached-mac=fa:16:3e:28:24:3c']
Exit code: 0
Stdout: ''
Stderr: ''
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] Running command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'link', 'set', 'qg-b8c39803-91', 'address', 'fa:16:3e:28:24:3c']
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] 
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'link', 'set', 'qg-b8c39803-91', 'address', 'fa:16:3e:28:24:3c']
Exit code: 0
Stdout: ''
Stderr: ''
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] Running command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', '-o', 'netns', 'list']
2013-06-01 16:07:31    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:31    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is af11b1fbdea7420b8780bc4b13261cb4
2013-06-01 16:07:31    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is 92ec10024ca947f88ce5a9a0afa01125.
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] 
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', '-o', 'netns', 'list']
Exit code: 0
Stdout: 'qdhcp-c8ae60a6-fad3-40c9-b61a-ea209457379d\nqrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17\n'
Stderr: ''
2013-06-01 16:07:31    DEBUG [quantum.agent.linux.utils] Running command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'link', 'set', 'qg-b8c39803-91', 'netns', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17']
2013-06-01 16:07:32    DEBUG [quantum.agent.linux.utils] 
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'link', 'set', 'qg-b8c39803-91', 'netns', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17']
Exit code: 0
Stdout: ''
Stderr: ''
2013-06-01 16:07:32    DEBUG [quantum.agent.linux.utils] Running command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'ip', 'link', 'set', 'qg-b8c39803-91', 'up']
2013-06-01 16:07:32    DEBUG [quantum.agent.linux.utils] 
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'ip', 'link', 'set', 'qg-b8c39803-91', 'up']
Exit code: 0
Stdout: ''
Stderr: ''
2013-06-01 16:07:32    DEBUG [quantum.agent.linux.utils] Running command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'ip', 'addr', 'show', 'qg-b8c39803-91', 'permanent', 'scope', 'global']
2013-06-01 16:07:32    DEBUG [quantum.agent.linux.utils] 
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'ip', 'addr', 'show', 'qg-b8c39803-91', 'permanent', 'scope', 'global']
Exit code: 0
Stdout: '31: qg-b8c39803-91: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN \n    link/ether fa:16:3e:28:24:3c brd ff:ff:ff:ff:ff:ff\n'
Stderr: ''
2013-06-01 16:07:32    DEBUG [quantum.agent.linux.utils] Running command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'ip', '-4', 'addr', 'add', '192.168.100.102/24', 'brd', '192.168.100.255', 'scope', 'global', 'dev', 'qg-b8c39803-91']
2013-06-01 16:07:32    DEBUG [quantum.agent.linux.utils] 
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'ip', '-4', 'addr', 'add', '192.168.100.102/24', 'brd', '192.168.100.255', 'scope', 'global', 'dev', 'qg-b8c39803-91']
Exit code: 0
Stdout: ''
Stderr: ''
2013-06-01 16:07:32    DEBUG [quantum.agent.linux.utils] Running command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'arping', '-A', '-U', '-I', 'qg-b8c39803-91', '-c', '3', '192.168.100.102']
2013-06-01 16:07:34    DEBUG [quantum.agent.linux.utils] 
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'arping', '-A', '-U', '-I', 'qg-b8c39803-91', '-c', '3', '192.168.100.102']
Exit code: 0
Stdout: 'ARPING 192.168.100.102 from 192.168.100.102 qg-b8c39803-91\nSent 3 probes (3 broadcast(s))\nReceived 0 response(s)\n'
Stderr: ''
2013-06-01 16:07:34    DEBUG [quantum.agent.linux.utils] Running command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'route', 'add', 'default', 'gw', '192.168.100.1']
2013-06-01 16:07:34    DEBUG [quantum.agent.linux.utils] 
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'route', 'add', 'default', 'gw', '192.168.100.1']
Exit code: 7
Stdout: ''
Stderr: 'SIOCADDRT: File exists\n'
2013-06-01 16:07:34    DEBUG [quantum.openstack.common.lockutils] Got semaphore "iptables" for method "_apply"...
2013-06-01 16:07:34    DEBUG [quantum.openstack.common.lockutils] Attempting to grab file lock "iptables" for method "_apply"...
2013-06-01 16:07:34    DEBUG [quantum.openstack.common.lockutils] Got file lock "iptables" at /var/lib/quantum/lock/quantum-iptables for method "_apply"...
2013-06-01 16:07:34    DEBUG [quantum.agent.linux.utils] Running command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ac1a85c9-d5e1-4976-a16b-14ccdac49c17', 'iptables-save', '-t', 'filter']
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-save', '-t', 'filter']
Exit code: 0
Stdout: '# Generated by iptables-save v1.4.12 on Sat Jun  1 16:07:35 2013\n*filter\n:INPUT ACCEPT [0:0]\n:FORWARD ACCEPT [0:0]\n:OUTPUT ACCEPT [0:0]\n:quantum-filter-top - [0:0]\n:quantum-l3-agent-FORWARD - [0:0]\n:quantum-l3-agent-INPUT - [0:0]\n:quantum-l3-agent-OUTPUT - [0:0]\n:quantum-l3-agent-local - [0:0]\n-A INPUT -j quantum-l3-agent-INPUT\n-A FORWARD -j quantum-filter-top\n-A FORWARD -j quantum-l3-agent-FORWARD\n-A OUTPUT -j quantum-filter-top\n-A OUTPUT -j quantum-l3-agent-OUTPUT\n-A quantum-filter-top -j quantum-l3-agent-local\n-A quantum-l3-agent-INPUT -d 127.0.0.1/32 -p tcp -m tcp --dport 9697 -j ACCEPT\nCOMMIT\n# Completed on Sat Jun  1 16:07:35 2013\n'
Stderr: ''
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: 0
Stdout: ''
Stderr: ''
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-save', '-t', 'nat']
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-save', '-t', 'nat']
Exit code: 0
Stdout: '# Generated by iptables-save v1.4.12 on Sat Jun  1 16:07:35 2013\n*nat\n:PREROUTING ACCEPT [91:8290]\n:INPUT ACCEPT [1:328]\n:OUTPUT ACCEPT [0:0]\n:POSTROUTING ACCEPT [0:0]\nCOMMIT\n# Completed on Sat Jun  1 16:07:35 2013\n'
Stderr: ''
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'
2013-06-01 16:07:35    DEBUG [quantum.openstack.common.lockutils] Released file lock "iptables" at /var/lib/quantum/lock/quantum-iptables for method "_apply"...
2013-06-01 16:07:35    DEBUG [quantum.agent.l3_agent] Failed dealing with routers update RPC message
2013-06-01 16:07:35    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:35    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is dc99da72ef4b4bf483c9eace2ef55293
2013-06-01 16:07:35    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is 57347b85859f4ea08bcf9021a88a2a6b.
2013-06-01 16:07:39    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:39    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is 95be72b0f8b14cb1be556a9ac8564566
2013-06-01 16:07:39    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is 67b38bb08ebd4e829bc8f8a900370f45.
2013-06-01 16:07:43    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:43    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is c5051d32acd8497ab97db55b63e71bf1
2013-06-01 16:07:43    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is 94f372f842944077b219b96e0b8df6a6.
2013-06-01 16:07:47    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:47    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is 1aaaba4de4254c6c9ff0616e423220a4
2013-06-01 16:07:47    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is 7b99e1684fce43b894a9fb94a7a63e02.
2013-06-01 16:07:51    DEBUG [quantum.openstack.common.rpc.amqp] Making synchronous call on q-plugin ...
2013-06-01 16:07:51    DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is d748efc0edb04493b9582b2e32bbfcb2
2013-06-01 16:07:51    DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is 44f29efda1c6485cb216aa980872f35d.
2013-06-01 16:07:55     INFO [quantum.openstack.common.service] Caught SIGTERM, exiting

Follow ups