yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #90356
[Bug 1996440] [NEW] Value is duplicated in log message (oslo_messaging_notifications.driver)
Public bug reported:
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.
** Affects: glance
Importance: Undecided
Status: New
** Attachment added: "Screenshot 2022-11-12 at 10.16.07 PM.png"
https://bugs.launchpad.net/bugs/1996440/+attachment/5630634/+files/Screenshot%202022-11-12%20at%2010.16.07%20PM.png
** Description changed:
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
+ * config:
+ - section: oslo_messaging_notifications
+ - key: driver
* 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
...
======================
- Envorinment: Ubuntu package, Zed release
+ 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.
** Description changed:
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:
+ * 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.
** Description changed:
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
+ - 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
+ * 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.
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1996440
Title:
Value is duplicated in log message
(oslo_messaging_notifications.driver)
Status in Glance:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1996440/+subscriptions