[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Rdo-list] Juno RPMs for EL6 sudo error



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 keedio com +34 636 69 26 91

www.keedio.com

...................................................................


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]