Most OpenStack services use the same configuration options to enable the debug logging that is also used to troubleshoot your OpenStack environment.
To enable the debug mode for an OpenStack service:
Log in to each controller node.
Locate and open the required OpenStack service configuration file in the
/etc
directory, for example, /etc/nova/nova.conf
.
In the DEFAULT
section, change the value for the debug
parameter
to True
:
debug = True
If the configuration file that you edit contains the use_syslog
parameter, change its value to False
:
use_syslog = False
Disabling syslog will protect the Fuel Master node from overloading debug messages.
Save the changes.
The following services require additional configuration to enable the debug mode:
/etc/glance/glance-api.conf
and /etc/glance/glance-registry.conf
./etc/nova/nova.conf
file of the nova-compute
service configured to work with Ironic.Restart the service. See Restart an OpenStack service.
Caution
Remember to revert the original values in the OpenStack service configuration file when troubleshooting is done.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.