the error happened at starting nova-api-metadata

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

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/hub.py", line 336, in fire_timers timer() File "/usr/lib/python2.6/site-packages/eventlet/hubs/timer.py", line 56, in __call__ cb(args, *kw) File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 192, in main result = function(args, *kwargs) File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/service.py", line 101, in run_server server.start() File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/service.py", line 366, in start self.manager.init_host() File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/api/manager.py", 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/linux_net.py", line 424, in metadata_accept iptables_manager.apply() File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/utils.py", line 943, in inner retval = f(args, *kwargs) File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/network/linux_net.py", line 328, in apply attempts=5) File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/network/linux_net.py", line 812, in _execute return utils.execute(cmd, *kwargs) File "/usr/lib/python2.6/site-packages/nova-2012.1-py2.6.egg/nova/utils.py", 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
0

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

Does anyone can help me?

edit flag offensive delete link more
0

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

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

Stats

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

Seen: 44 times

Last updated: Jul 16 '13