OpenStack Nova:sudo nova-rootwrap/etc/nova/rootwrap.conf

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.