Set ramdisk logs path for ironic inspector

If the [processing] ramdisk_logs_dir option is set, logs returned by the
ironic inspection ramdisk following hardware inspection will be stored
at that location. This enables easier debugging if inspection fails.

Change-Id: I36bdf75c04b088b67b5f54fdf20251c10bdddb63
This commit is contained in:
Mark Goddard 2017-06-30 19:08:04 +01:00
parent c9a4d749f4
commit 7ebf548ff3
2 changed files with 8 additions and 0 deletions

View File

@ -39,3 +39,6 @@ dnsmasq_interface = {{ ironic_dnsmasq_interface }}
[database]
connection = mysql+pymysql://{{ ironic_inspector_database_user }}:{{ ironic_inspector_database_password }}@{{ ironic_inspector_database_address }}/{{ ironic_inspector_database_name }}
[processing]
ramdisk_logs_dir = /var/log/kolla/ironic-inspector

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The Bare Metal Inspection service is now configured to store logs from the
inspection ramdisk in the ``kolla_logs`` Docker volume.