Enable ironic debug logs by default

It's pretty impossible to debug anything without them. Particularly
security-conscious operators can set ironic_debug=False.

Change-Id: I09ab8fedb8ae45af607ea7eca9145605c16d31f2
This commit is contained in:
Dmitry Tantsur 2021-01-26 17:52:23 +01:00
parent c9c1762755
commit d84bfac02d
3 changed files with 7 additions and 1 deletions

View File

@ -25,6 +25,7 @@ create_image_via_dib: true
dib_image_type: vm
# Setting to install diskimage-builder
install_dib: "{{ create_image_via_dib }}"
ironic_debug: true
# If testing is true, then the environment is setup for using libvirt
# virtual machines for the hardware instead of real hardware.
testing: false

View File

@ -1,7 +1,7 @@
# {{ ansible_managed }}
[DEFAULT]
debug = {{ testing | bool }}
debug = {{ ironic_debug | bool }}
# NOTE(TheJulia): Until Bifrost supports neutron or some other network
# configuration besides a flat network where bifrost orchustrates the
# control instead of ironic, noop is the only available network driver.

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
Debug logging is now enabled in ironic by default, set the new
``ironic_debug`` parameter to ``false`` to override.