[Rdo-list] Juno RPMs for EL6 sudo error
JuanFra Rodríguez Cardoso
jfrodriguez at keedio.com
Mon Aug 10 09:49:31 UTC 2015
Hi all:
While using openstack-nova-* RPMs EL6 released by CentOS Cloud SIG, I faced
with the following problem when I tried to start nova services:
2015-08-10 11:26:46.735 14822 TRACE nova.openstack.common.threadgroup Exit
code: 1
2015-08-10 11:26:46.735 14822 TRACE nova.openstack.common.threadgroup
Stdout: u''
2015-08-10 11:26:46.735 14822 TRACE nova.openstack.common.threadgroup
Stderr: u'sudo: sorry, you must have a tty to run sudo\n'
2015-08-10 11:26:46.735 14822 TRACE nova.openstack.common.threadgroup
For those of you interested, I got to fix it with:
1) echo "#includedir /etc/sudoers.d" >> /etc/sudoers
2) Create new file for nova in /etc/sudoers.d path:
# vi /etc/sudoers.d/nova
Defaults:nova !requiretty
nova ALL = (root) NOPASSWD: /usr/bin/nova-rootwrap /etc/nova/rootwrap.conf *
After that, services would be able to restart successfully ;)
Regards,
...................................................................
Juan Francisco Rodríguez Cardoso
jfrodriguez at keedio.com | +34 636 69 26 91
www.keedio.com
...................................................................
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20150810/9b996cf7/attachment.html>
More information about the dev
mailing list