Ask Your Question
0

nova-network unable to run normally due to Command: sudo nova-rootwrap iptables-save -t filter

asked 2012-05-24 05:53:32 -0500

Vincent gravatar image

Does anyone knows what this error is about? /var/log/nova/nova-network.log gives me the error like this:

2012-05-24 13:43:05 DEBUG nova.utils [-] Result was 1 from (pid=7270) execute /opt/stack/nova/nova/utils.py:194 2012-05-24 13:43:05 DEBUG nova.utils [-] ['sudo', 'nova-rootwrap', 'iptables-save', '-t', 'filter'] failed. Retrying. from (pid=7270) execute /opt/stack/nova/nova/utils.py:207 2012-05-24 13:43:06 DEBUG nova.utils [-] Running cmd (subprocess): sudo nova-rootwrap iptables-save -t filter from (pid=7270) execute /opt/stack/nova/nova/utils.py:178 2012-05-24 13:43:06 DEBUG nova.utils [-] Result was 1 from (pid=7270) execute /opt/stack/nova/nova/utils.py:194 2012-05-24 13:43:06 CRITICAL nova [-] Unexpected error while running command. Command: sudo nova-rootwrap iptables-save -t filter Exit code: 1 Stdout: '' Stderr: 'sudo\xef\xbc\x9a \xe6\xb2\xa1\xe6\x9c\x89\xe7\xbb\x88\xe7\xab\xaf\xe5\xad\x98\xe5\x9c\xa8\xef\xbc\x8c\xe4\xb8\x94\xe6\x9c\xaa\xe6\x8c\x87\xe5\xae\x9a askpass \xe7\xa8\x8b\xe5\xba\x8f\nSorry, try again.\nsudo\xef\xbc\x9a \xe6\xb2\xa1\xe6\x9c\x89\xe7\xbb\x88\xe7\xab\xaf\xe5\xad\x98\xe5\x9c\xa8\xef\xbc\x8c\xe4\xb8\x94\xe6\x9c\xaa\xe6\x8c\x87\xe5\xae\x9a askpass \xe7\xa8\x8b\xe5\xba\x8f\nSorry, try again.\nsudo\xef\xbc\x9a \xe6\xb2\xa1\xe6\x9c\x89\xe7\xbb\x88\xe7\xab\xaf\xe5\xad\x98\xe5\x9c\xa8\xef\xbc\x8c\xe4\xb8\x94\xe6\x9c\xaa\xe6\x8c\x87\xe5\xae\x9a askpass \xe7\xa8\x8b\xe5\xba\x8f\nSorry, try again.\nsudo\xef\xbc\x9a 3 \xe6\xac\xa1\xe9\x94\x99\xe8\xaf\xaf\xe5\xaf\x86\xe7\xa0\x81\xe5\xb0\x9d\xe8\xaf\x95\n' 2012-05-24 13:43:06 TRACE nova Traceback (most recent call last): 2012-05-24 13:43:06 TRACE nova File "/usr/local/bin/nova-network", line 7, in <module> 2012-05-24 13:43:06 TRACE nova execfile(__file__) 2012-05-24 13:43:06 TRACE nova File "/opt/stack/nova/bin/nova-network", line 49, in <module> 2012-05-24 13:43:06 TRACE nova service.wait() 2012-05-24 13:43:06 TRACE nova File "/opt/stack/nova/nova/service.py", line 448, in wait 2012-05-24 13:43:06 TRACE nova _launcher.wait() 2012-05-24 13:43:06 TRACE nova File "/opt/stack/nova/nova/service.py", line 148, in wait 2012-05-24 13:43:06 TRACE nova service.wait() 2012-05-24 13:43:06 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait 2012-05-24 13:43:06 TRACE nova return self._exit_event.wait() 2012-05-24 13:43:06 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait 2012-05-24 13:43:06 TRACE nova return hubs.get_hub().switch() 2012-05-24 13:43:06 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch 2012-05-24 13:43:06 TRACE nova return self.greenlet.switch() 2012-05-24 13 ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2012-06-01 08:08:14 -0500

Vincent gravatar image

Thank you, Max.

edit flag offensive delete link more
0

answered 2012-05-24 07:06:07 -0500

mx-chilly gravatar image

Looks like nova trys to use 'sudo'. Did you allow root-wrap: http://wiki.openstack.org/Packager/Rootwrap (http://wiki.openstack.org/Packager/Ro...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-05-24 05:53:32 -0500

Seen: 80 times

Last updated: Jun 01 '12