Ask Your Question
0

Newbie: How to make e.g. nova.conf changes active?

asked 2015-06-02 12:54:42 -0600

ahinrichs gravatar image

Hi,

just started with openstack. I've got a devstack and a fuel 6.0 community deployed 5 node stack running and start playing with it. Now I find lots of:

set scheduler_default_filters=AggregateInstanceExtraSpecsFilter, ... in nova.conf

everywhere. But I cannot find any explicit info on how to make such a change effective without restart everything/reboot. All g**gling just gives lists of available options e.g. in nova.conf an their meaning. But where can I find out which option belongs to which service(s).

The best answers I got came from greping the sources, but still one has to guess which services depends on which module. Nothing to say about service dependencies.

So my question is: How can I find out which services I need to restart after changing any option in the config files?

I know this must be trivial for most of you, so please just forgive and send some hints (links to docs of course very welcome). Any help is appreciated.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-06-22 11:20:58 -0600

mpetason gravatar image

The easiest way to see if you need to restart a service is to look at the init scripts to see which configuration file the service calls. If you edit/less the init script for each service you should see something like --config configfile. When you edit nova.conf on a controller you'll have to eat least restart nova-api as it reads directly from it. If you edit nova.conf on a compute node you need to restart nova-compute.

You can find the init scripts in:

/etc/init.d/
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-06-02 12:54:42 -0600

Seen: 338 times

Last updated: Jun 22 '15