diff --git a/devstack/plugin.sh b/devstack/plugin.sh index d39c78fab..bb65c4366 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -202,7 +202,6 @@ function configure_inspector { mkdir_chown_stack "$IRONIC_INSPECTOR_RAMDISK_LOGDIR" inspector_iniset processing ramdisk_logs_dir "$IRONIC_INSPECTOR_RAMDISK_LOGDIR" inspector_iniset processing always_store_ramdisk_logs "$IRONIC_INSPECTOR_ALWAYS_STORE_RAMDISK_LOGS" - inspector_iniset processing log_bmc_address False if [ -n "$IRONIC_INSPECTOR_NODE_NOT_FOUND_HOOK" ]; then inspector_iniset processing node_not_found_hook "$IRONIC_INSPECTOR_NODE_NOT_FOUND_HOOK" fi diff --git a/example.conf b/example.conf index e32e1c5e1..2103c760b 100644 --- a/example.conf +++ b/example.conf @@ -848,8 +848,10 @@ # local_gb is calculated on the ramdisk side. (boolean value) #disk_partitioning_spacing = true -# Whether to log node BMC address with every message during -# processing. (boolean value) +# DEPRECATED: Whether to log node BMC address with every message +# during processing. (boolean value) +# This option is deprecated for removal. +# Its value may be silently ignored in the future. #log_bmc_address = true # File name template for storing ramdisk logs. The following diff --git a/ironic_inspector/conf.py b/ironic_inspector/conf.py index 61858e730..6082a3b3f 100644 --- a/ironic_inspector/conf.py +++ b/ironic_inspector/conf.py @@ -129,7 +129,8 @@ PROCESSING_OPTS = [ cfg.BoolOpt('log_bmc_address', default=True, help=_('Whether to log node BMC address with every message ' - 'during processing.')), + 'during processing.'), + deprecated_for_removal=True), cfg.StrOpt('ramdisk_logs_filename_format', default='{uuid}_{dt:%Y%m%d-%H%M%S.%f}.tar.gz', help=_('File name template for storing ramdisk logs. The ' diff --git a/releasenotes/notes/bmc-logging-deprecation-4ca046a64fac6f11.yaml b/releasenotes/notes/bmc-logging-deprecation-4ca046a64fac6f11.yaml new file mode 100644 index 000000000..db2967d71 --- /dev/null +++ b/releasenotes/notes/bmc-logging-deprecation-4ca046a64fac6f11.yaml @@ -0,0 +1,4 @@ +--- +deprecations: + - | + The configuration option "log_bmc_address" is deprecated.