since validatios_libs 1.8.0 openstack CLI emits extra logging for each command in an env without syslog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
New
|
Undecided
|
Unassigned |
Bug Description
In validations_libs 1.8.0 a logger is added that expects that syslog always exists[1]. And if not it prints to the standard output.
This causes that if the openstack CLI is used in a container that has no syslog then each CLI command will result in extra output appearing in the terminal:
sh-5.1$ openstack project list
2022-12-13 17:31:40,021 logger Journal socket does not exist. Logs will not be processed by syslog.
Journal socket does not exist. Logs will not be processed by syslog.
2022-12-13 17:31:40,027 logger Journal socket does not exist. Logs will not be processed by syslog.
Journal socket does not exist. Logs will not be processed by syslog.
+------
| ID | Name |
+------
| 0ae18ad5d3b7447
| c46b2cdeada444b
+------
Versions:
sh-5.1$ dnf list installed | grep validations
openstack-
python3-
validations-
sh-5.1$
sh-5.1$ openstack --version
openstack 6.0.0
[1] https:/