nova/tools/config
Davanum Srinivas e7b51eb27f Avoid MODULEPATH environment var in config generator
MODULEPATH is apparently a well known variable from
environment-modules package. So let's just use another
one as we don't care about the specific var name itself.

Closes-Bug: #1437904
Change-Id: Id79bbdaad498c771dc4c032256bd8160b5663ef9
2015-03-31 00:00:57 +00:00
..
README Updates tools/config/README 2013-08-22 10:15:14 +08:00
analyze_opts.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
check_uptodate.sh Sync latest config file generator from oslo-incubator 2014-01-31 22:03:01 +00:00
generate_sample.sh Avoid MODULEPATH environment var in config generator 2015-03-31 00:00:57 +00:00
oslo.config.generator.rc Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00

README

This generate_sample.sh tool is used to generate etc/nova/nova.conf.sample

Run it from the top-level working directory i.e.

  $> ./tools/config/generate_sample.sh -b ./ -p nova -o etc/nova

Watch out for warnings about modules like libvirt, qpid and zmq not
being found - these warnings are significant because they result
in options not appearing in the generated config file.


The analyze_opts.py tool is used to find options which appear in
/etc/nova/nova.conf but not in etc/nova/nova.conf.sample
This helps identify options in the nova.conf file which are not used by nova.
The tool also identifies any options which are set to the default value.

Run it from the top-level working directory i.e.

  $> ./tools/config/analyze_opts.py