标签:nova nova-api nova-network sudo nova-compute kvm
OpenStack 服务报错解决:
2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task self._handle_base_image(img, base_file) 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagecache.py", line 550, in _handle_base_image 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task virtutils.chown(base_file, os.getuid()) 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/utils.py", line 504, in chown 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task execute(‘chown‘, owner, path, run_as_root=True) 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/utils.py", line 50, in execute 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task return utils.execute(*args, **kwargs) 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task File "/usr/lib/python2.6/site-packages/nova/utils.py", line 177, in execute 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task return processutils.execute(*cmd, **kwargs) 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task File "/usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py", line 178, in execute 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task cmd=‘ ‘.join(cmd)) 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task ProcessExecutionError: Unexpected error while running command. 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task Command: sudo nova-rootwrap /etc/nova/rootwrap.conf chown 162 /data/instances/_base/333130da1ece657e40add7ba2ac68232d4a02f7e 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task Exit code: 1 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task Stdout: ‘‘ 2014-11-28 05:06:52.212 4347 TRACE nova.openstack.common.periodic_task Stderr: ‘sudo: sorry, you must have a tty to run sudo\n‘ Command: sudo nova-rootwrap /etc/nova/rootwrap.conf chown 162 /data/instances/_base/333130da1ece657e40add7ba2ac68232d4a02f7e 2014-11-28 03:33:02.939 10469 TRACE nova.openstack.common.service Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c
1, ps 查看 各个组件用户启动权限,是否是Nova 用户
2, 查看/var/lib/nova/tmp目录下文件权限是否是nova 用户权限
3, 查看/etc/sudocers.d/是否有Nova sudo 权限配置
本文出自 “欢迎评论,欢迎点赞” 博客,请务必保留此出处http://swq499809608.blog.51cto.com/797714/1583998
OpenStack Nova : sudo nova-rootwrap /etc/nova/rootwrap.conf
标签:nova nova-api nova-network sudo nova-compute kvm
原文地址:http://swq499809608.blog.51cto.com/797714/1583998