- 论坛徽章:
- 0
|
按照这个教程搭建的http://doc.chinaunix.net/cloud/201205/2158241.shtml
启动nova-api-metadata的时候,报如下错误
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'
我本身用的root账户安装的,同时在/etc/sudoers 和 /etc/sudoer.d/nova都加了 root ALL=(ALL) ALL了 请问各位大神们是什么原因 |
|