nova/tools/config
Dan Prince cf41124e5a Remove .pyc files before generating sample conf.
Updates the generate_samples.sh script so that we remove
.pyc files in the nova source tree before generating the sample file.

If you don't run unit tests the .pyc files won't get regenerated.
This can cause cryptic errors if you run tests, switch branches,
and then try to regenerate your config files if there are module
differences, etc.

Change-Id: I784a22c1cd7fb2c69ea1d9e02f87bd7da19d76aa
2013-10-18 11:28:15 -04:00
..
analyze_opts.py Use print function rather than print statement 2013-10-08 11:13:45 -04:00
check_uptodate.sh Sync sample config file generator with Oslo 2013-07-23 13:03:34 +08:00
generate_sample.sh Remove .pyc files before generating sample conf. 2013-10-18 11:28:15 -04:00
README Updates tools/config/README 2013-08-22 10:15:14 +08:00

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