[Openstack] root_helper deprecated?

Liu Wenmao marvelliu at gmail.com
Tue Apr 9 07:15:15 UTC 2013


Hi all:

In quantum dhcp grizzly log, I find the following warnings:
2013-04-09 15:12:48  WARNING [quantum.agent.common.config] Deprecated:
DEFAULT.root_helper is deprecated!

I do set root_helper in the ini file:
 root_helper = sudo /usr/local/bin/quantum-rootwrap
/etc/quantum/rootwrap.conf

After I remove this line, it gives the following error:
Stderr: 'sudo: no tty present and no askpass program specified\nSorry, try
again.\nsudo: no tty present and no askpass program specified\nSorry, try
again.\nsudo: no tty present and no askpass program specified\nSorry, try
again.\nsudo: 3 incorrect password attempts\n'
2013-04-09 15:07:56    DEBUG [quantum.agent.linux.utils] Running command:
['sudo', 'cat', '/proc/5609/cmdline']
2013-04-09 15:07:56    DEBUG [quantum.agent.linux.utils]
Command: ['sudo', 'cat', '/proc/5609/cmdline']


So it seems that I still have to use root_helper, then how can I get the
warning removed?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130409/9ed1f1ea/attachment.html>


More information about the Openstack mailing list