the error happened at starting nova-api-metadata

asked 2013-07-12 09:03:51 -0500

Hi All: WhenI started the service nova-api-metadate, it printed : —————————————————————————————————————————————————————— Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/eventlet/hubs/", line 336, in fire_timers timer() File "/usr/lib/python2.6/site-packages/eventlet/hubs/", line 56, in __call__ cb(args, *kw) File "/usr/lib/python2.6/site-packages/eventlet/", line 192, in main result = function(args, *kwargs) File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/", line 101, in run_server server.start() File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/", line 366, in start self.manager.init_host() File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/api/", line 42, in init_host self.network_driver.metadata_accept() File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/network/", line 424, in metadata_accept iptables_manager.apply() File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/", line 943, in inner retval = f(args, *kwargs) File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/network/", line 328, in apply attempts=5) File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/network/", line 812, in _execute return utils.execute(cmd, *kwargs) File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/", line 242, in execute cmd=' '.join(cmd)) ProcessExecutionError: Unexpected error while running command. Command: sudo iptables-save -t filter Exit code: 1 Stdout: '' Stderr: 'root is not in the sudoers file. This incident will be reported.\n' ———————————————————————————————————————————— Does anyone help me? Thank you very much

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2013-07-14 09:58:15 -0500

Does anyone can help me?

edit flag offensive delete link more

answered 2013-07-16 08:07:58 -0500

I figure out the problem: edit /etc/nova/nova.conf root_helper='sudo' root_helper=''

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-07-12 09:03:51 -0500

Seen: 44 times

Last updated: Jul 16 '13