fuel-agent: wrong amount of arguments for logger fails provisioning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Critical
|
Alexey Stupnikov | ||
Mitaka |
Won't Fix
|
High
|
Alexey Stupnikov |
Bug Description
apparently, the fix for https:/
this is critical and could lead to provisioning failure.
Traceback (most recent call last):
File \"/usr/
msg = self.format(record)
File \"/usr/
return fmt.format(record)
File \"/usr/
return logging.
File \"/usr/
record.message = record.getMessage()
File \"/usr/
msg = msg % self.args
TypeError: not enough arguments for format string
Logged from file manager.py, line 519
tags: | added: area-python |
Changed in fuel: | |
milestone: | none → 10.0 |
Changed in fuel: | |
assignee: | nobody → Alexey Stupnikov (astupnikov) |
Changed in fuel: | |
status: | New → Confirmed |
The issue is reproducible only on custom 10.0 build with ubuntu xenial which probably contains newer version of oslo_log library.
All other fuel releases haven't been affected by it due to the fact that fuel-agent uses obsolete and stailed part of oslo_incubator's log.py which behaves in the following way:
The message will not be logged because a string formatting exception will occur. it just silently ignores the error and continues to work further with no visible side effects.