Revision history [back]

the error happened at starting nova-api-metadata

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