<br><br><div class="gmail_quote">On Tue, Jan 29, 2013 at 5:26 AM, Bob Melander (bmelande) <span dir="ltr"><<a href="mailto:bmelande@cisco.com" target="_blank">bmelande@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>I'm running latest Devstack and grizzly trunk and see the error below in nova api. It seems 'iptables-restore –c' fails. </div>
<div>I see metadata_accept mention in the error dump.</div>
<div>Any ideas how to fix this?</div></div></blockquote><div><br></div><div><a href="https://bugs.launchpad.net/nova/+bug/1103436">https://bugs.launchpad.net/nova/+bug/1103436</a></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div><br>
</div>
<div>Thanks </div>
<div>Bob</div>
<div><br>
</div>
<div>
<div>2013-01-29 14:18:07.410 DEBUG nova.openstack.common.lockutils [-] Got semaphore "iptables" for method "_apply"... from (pid=32100) inner /opt/stack/nova/nova/openstack/common/lockuti</div>
<div>ls.py:186</div>
<div>2013-01-29 14:18:07.410 DEBUG nova.openstack.common.lockutils [-] Attempting to grab file lock "iptables" for method "_apply"... from (pid=32100) inner /opt/stack/nova/nova/openstack</div>
<div>/common/lockutils.py:190</div>
<div>2013-01-29 14:18:07.411 DEBUG nova.openstack.common.lockutils [-] Got file lock "iptables" at /opt/stack/data/nova/nova-iptables for method "_apply"... from (pid=32100) inner /opt/st</div>
<div>ack/nova/nova/openstack/common/lockutils.py:220</div>
<div>2013-01-29 14:18:07.411 DEBUG nova.utils [-] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c from (pid=32100) execute /opt/stack/nova/nova/utils</div>
<div>.py:204</div>
<div>2013-01-29 14:18:07.547 DEBUG nova.utils [-] Result was 0 from (pid=32100) execute /opt/stack/nova/nova/utils.py:228</div>
<div>2013-01-29 14:18:07.549 DEBUG nova.utils [-] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-restore -c from (pid=32100) execute /opt/stack/nova/nova/ut</div>
<div>ils.py:204</div>
<div>2013-01-29 14:18:07.702 DEBUG nova.utils [-] Result was 1 from (pid=32100) execute /opt/stack/nova/nova/utils.py:228</div>
<div>2013-01-29 14:18:07.703 DEBUG nova.utils [-] ['sudo', 'nova-rootwrap', '/etc/nova/rootwrap.conf', 'iptables-restore', '-c'] failed. Retrying. from (pid=32100) execute /opt/stack/nova</div>
<div>/nova/utils.py:241</div>
<div>2013-01-29 14:18:08.683 DEBUG nova.utils [-] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-restore -c from (pid=32100) execute /opt/stack/nova/nova/ut</div>
<div>ils.py:204</div>
<div>2013-01-29 14:18:08.900 DEBUG nova.utils [-] Result was 1 from (pid=32100) execute /opt/stack/nova/nova/utils.py:228</div>
<div>2013-01-29 14:18:08.901 DEBUG nova.utils [-] ['sudo', 'nova-rootwrap', '/etc/nova/rootwrap.conf', 'iptables-restore', '-c'] failed. Retrying. from (pid=32100) execute /opt/stack/nova</div>
<div>/nova/utils.py:241</div>
<div>2013-01-29 14:18:09.662 DEBUG nova.utils [-] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-restore -c from (pid=32100) execute /opt/stack/nova/nova/ut</div>
<div>ils.py:204</div>
<div>2013-01-29 14:18:09.806 DEBUG nova.utils [-] Result was 1 from (pid=32100) execute /opt/stack/nova/nova/utils.py:228</div>
<div>2013-01-29 14:18:09.807 DEBUG nova.utils [-] ['sudo', 'nova-rootwrap', '/etc/nova/rootwrap.conf', 'iptables-restore', '-c'] failed. Retrying. from (pid=32100) execute /opt/stack/nova/nova/utils.py:241</div>
<div>2013-01-29 14:18:11.778 DEBUG nova.utils [-] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-restore -c from (pid=32100) execute /opt/stack/nova/nova/utils.py:204</div>
<div>2013-01-29 14:18:11.916 DEBUG nova.utils [-] Result was 1 from (pid=32100) execute /opt/stack/nova/nova/utils.py:228</div>
<div>2013-01-29 14:18:11.916 DEBUG nova.utils [-] ['sudo', 'nova-rootwrap', '/etc/nova/rootwrap.conf', 'iptables-restore', '-c'] failed. Retrying. from (pid=32100) execute /opt/stack/nova/nova/utils.py:241</div>
<div>2013-01-29 14:18:12.177 DEBUG nova.utils [-] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-restore -c from (pid=32100) execute /opt/stack/nova/nova/utils.py:204</div>
<div>2013-01-29 14:18:12.325 DEBUG nova.utils [-] Result was 1 from (pid=32100) execute /opt/stack/nova/nova/utils.py:228</div>
<div>2013-01-29 14:18:12.326 DEBUG nova.openstack.common.lockutils [-] Released file lock "iptables" at /opt/stack/data/nova/nova-iptables for method "_apply"... from (pid=32100) inner /opt/stack/nova/nova/openstack/common/lockutils.py:227</div>
<div>2013-01-29 14:18:12.326 ERROR nova.service [-] Unhandled exception</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service Traceback (most recent call last):</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service File "/opt/stack/nova/nova/service.py", line 308, in _start_child</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service self._child_process(wrap.server)</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service File "/opt/stack/nova/nova/service.py", line 285, in _child_process</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service launcher.run_server(server)</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service File "/opt/stack/nova/nova/service.py", line 148, in run_server</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service server.start()</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service File "/opt/stack/nova/nova/service.py", line 645, in start</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service self.manager.init_host()</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service File "/opt/stack/nova/nova/api/manager.py", line 39, in init_host</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service self.network_driver.metadata_accept()</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service File "/opt/stack/nova/nova/network/linux_net.py", line 558, in metadata_accept</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service iptables_manager.apply()</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service File "/opt/stack/nova/nova/network/linux_net.py", line 358, in apply</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service self._apply()</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 221, in inner</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service retval = f(*args, **kwargs)</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service File "/opt/stack/nova/nova/network/linux_net.py", line 384, in _apply</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service attempts=5)</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service File "/opt/stack/nova/nova/network/linux_net.py", line 1040, in _execute</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service return utils.execute(*cmd, **kwargs)</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service File "/opt/stack/nova/nova/utils.py", line 235, in execute</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service cmd=' '.join(cmd))</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service ProcessExecutionError: Unexpected error while running command.</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-restore -c</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service Exit code: 1</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service Stdout: ''</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service Stderr: 'iptables-restore: line 1 failed\n'</div>
<div>2013-01-29 14:18:12.326 TRACE nova.service </div>
<div>2013-01-29 14:18:12.332 INFO nova.wsgi [-] Stopping WSGI server.</div>
<div>2013-01-29 14:18:12.334 INFO nova.service [-] Child 32100 exited with status 2</div>
<div>2013-01-29 14:18:12.336 INFO nova.service [-] Started child 32119</div>
</div>
<div><br>
</div>
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br>