← Back to team overview

openstack team mailing list archive

Re: [Bug 1175179] Re: DHCP agent creation reports error !

 

On 05/01/2013 04:34 PM, Gary Kotton wrote:
Hi,
Can you please ensure that you have the following configured in the quantum.conf file:

[AGENT]
root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf

Thanks
Gary

Hi Gary,

No i don't ! I have this format actually :
root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf

I changed the root helper to your format but still got the same error in my log ! Stderr: "sudo: no tty present and no askpass program specified\nSorry, user quantum is not allowed to execute '/sbin/ip netns exec qdhcp-540fc9b1-4516-4cf4-bfae-f01043cba228 quantum-ns-metadata-proxy --pid_file=/var/lib/quantum/external/pids/540fc9b1-4516-4cf4-bfae-f01043cba228.pid --network_id=540fc9b1-4516-4cf4-bfae-f01043cba228 --state_path=/var/lib/quantum --metadata_port=80 --log-file=quantum-ns-metadata-proxy540fc9b1-4516-4cf4-bfae-f01043cba228.log --log-dir=/var/log/quantum' as root on node-f01.\n"

regards,
Bilel