How do I specify a config file option on commandline for neutron-l3-agent

asked 2013-12-09 17:08:54 -0600

sayaji15 gravatar image

Hi, I have installed openstack havana using packstack. When I look at the neutron-l3-agent process (ps -ef | grep neutron) , I see

python /usr/bin/neutron-l3-agent --log-file /var/log/neutron/l3-agent.log --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf

How do I add a new command line option like this --config-file /etc/neutron/fwaas_driver.ini I know I can just update the above command and just add the option but I want the change to be persistent. If I reboot the machine the l3 agent should come up with the new option.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-12-10 13:14:09 -0600

Cristi Falcas gravatar image

Check the init script for neutron-l3-agent from /etc/init.d/

You can add there new config files. It has an array (from what I remember) where it keeps all config files.

edit flag offensive delete link more


Thanks, that works for me

sayaji15 gravatar imagesayaji15 ( 2013-12-12 22:19:35 -0600 )edit

answered 2014-02-19 04:34:10 -0600

Mathias Ewald gravatar image

Hi, just for completness: Running Havana on Ubuntu 12.04 /etc/init.d/neutron-l3-agent does not do much and there is no way to configure the parameter there. There is no config file in /etc/default either. Instead, edit /etc/init/neutron-l3-agent.conf as Ubuntu uses upstart.

cheers Mathias

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2013-12-09 17:08:54 -0600

Seen: 177 times

Last updated: Feb 19 '14