OpenStack Service Error Resolution:
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_image2014-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 chown2014-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 execute2014-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 execute2014-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 execute2014-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/ 333130da1ece657e40add7ba2ac68232d4a02f7e2014-11-28 05:06:52.212 4347 trace nova.openstack.common.periodic_task exit code: 12014-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/ 333130da1ece657e40add7ba2ac68232d4a02f7e2014-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 View individual component user launch rights, whether it is a nova user
2. See if the file permissions in the/var/lib/nova/tmp directory are Nova user rights
3. See if/etc/sudocers.d/has nova sudo permissions configured
This article from "Welcome comments, Welcome to like" blog, please be sure to keep this source http://swq499809608.blog.51cto.com/797714/1583998
OpenStack Nova:sudo nova-rootwrap/etc/nova/rootwrap.conf