← Back to team overview

openstack team mailing list archive

root_helper deprecated?

 

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?

Follow ups