Neutron is sudo command hardcoded somwhare
Does anybody form neutron development knows where is the hardcoded sudo command ? I need to use a different command for elevated privileges.
First time here? Check out the FAQ!
Does anybody form neutron development knows where is the hardcoded sudo command ? I need to use a different command for elevated privileges.
Maybe you can change root_helper
ubuntu@headnode220:/etc/neutron$ grep -r root_helper .
./plugins/ml2/ml2_conf.ini:root_helper = sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
./neutron.conf:root_helper = sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
./neutron.conf:# root_helper = sudo
./metadata_agent.ini:root_helper = sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
./dhcp_agent.ini:root_helper = sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
Its in multiple functions depending on what parts of neutron are running( dhcp, ovs, lbass....)
The best place to find this info is: https://github.com/openstack/neutron/...
Use the search bar and type sudo
to see all the functions that use sudo.
That is exactly what i did :). The parts that are running is dhcp, ovs, and all the controller services. I just thought the is a single config function that is passing along the sting param of sudo. Thank you for promped responce
Asked: 2015-01-28 22:22:41 -0600
Seen: 153 times
Last updated: Jan 29 '15