nova/tools/conf
Luis Fernandez Alvarez 5dd1553cca Replaced default hostname function from gethostname to getfqdn
Fixes bug 1055503

The standard behaviour of the 'gethostname' function in Python differs from
Linux to Windows. A common Linux configuration returns the FQDN, while a
Windows one returns only the host name.

To resolve inconsistent node naming in deployments that mix windows and
Linux, it is proposed to use 'getfqdn' as default function instead of
'gethostname'. This is function is more predictable in all cases.

Change-Id: I3164d9a36df2b8484bbf9a57879c31fa0e342503
2012-09-26 13:43:16 +02:00
..
analyze_opts.py Added script to find unused config options. 2012-09-18 13:36:03 -07:00
extract_opts.py Replaced default hostname function from gethostname to getfqdn 2012-09-26 13:43:16 +02:00
generate_sample.sh Allow generate_sample.sh to be run from toplevel dir 2012-08-23 10:37:38 +01:00
README Added script to find unused config options. 2012-09-18 13:36:03 -07: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/conf/generate_sample.sh

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/conf/analyze_opts.py