Value is duplicated in log message (oslo_messaging_notifications.driver)

Bug #1996440 reported by EunYoung Kim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
New
Undecided
Unassigned

Bug Description

Hello,
When I set a value in 'glance-api.conf', the value is printed duplicated in the log message.

I think it does not affect operation, but some people may be confused.
I confirmed the function(notifications to MQ) works correctly.

* Config:
  - section: oslo_messaging_notifications
  - key: driver
  - value: messagingv2

* Expected: ...oslo_messaging_notifications.driver = ['messagingv2']...
* Actual: ...oslo_messaging_notifications.driver = ['messagingv2', 'messagingv2']...

======================
* Actual full log line
2022-11-11 15:45:15.090 317397 DEBUG glance.common.config [-] oslo_messaging_notifications.driver = ['messagingv2', 'messagingv2'] log_opt_values /usr/lib/python3/dist-packages/oslo_config/cfg.py:2609

* glance-api.conf
...
[oslo_messaging_notifications]
driver = messagingv2
...

======================
* Actual full log line with multiple values
2022-11-11 15:06:59.093 309559 DEBUG glance.common.config [-] oslo_messaging_notifications.driver = ['messagingv2,log', 'messagingv2,log'] log_opt_values /usr/lib/python3/dist-packages/oslo_config/cfg.py:2609

* glance-api.conf
...
[oslo_messaging_notifications]
driver = messagingv2,log
...

======================
* Environment: Ubuntu package, Zed release

I attached a screenshot of part of the log message. (/var/log/glance-api.log)
If you have trouble with reproduce or lack of information, please let me know.

Revision history for this message
EunYoung Kim (lilac94) wrote :
description: updated
description: updated
EunYoung Kim (lilac94)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.