TypeError: not all arguments converted during string formatting

Bug #1785962 reported by licanwei on 2018-08-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Undecided
licanwei

Bug Description

log in http://logs.openstack.org/46/586546/7/check/watcher-tempest-zone_migration/d6a162b/controller/logs/screen-watcher-decision-engine.txt.gz

Aug 07 12:21:54.285659 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: Traceback (most recent call last):
Aug 07 12:21:54.285933 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: File "/usr/lib/python2.7/logging/__init__.py", line 861, in emit
Aug 07 12:21:54.290233 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: msg = self.format(record)
Aug 07 12:21:54.290485 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: File "/usr/local/lib/python2.7/dist-packages/oslo_log/handlers.py", line 168, in format
Aug 07 12:21:54.290725 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: return logging.StreamHandler.format(self, record) + record.reset_color
Aug 07 12:21:54.290972 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: File "/usr/lib/python2.7/logging/__init__.py", line 734, in format
Aug 07 12:21:54.291217 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: return fmt.format(record)
Aug 07 12:21:54.291466 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 502, in format
Aug 07 12:21:54.291764 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: return logging.Formatter.format(self, record)
Aug 07 12:21:54.292002 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: File "/usr/lib/python2.7/logging/__init__.py", line 465, in format
Aug 07 12:21:54.292297 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: record.message = record.getMessage()
Aug 07 12:21:54.292530 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: File "/usr/lib/python2.7/logging/__init__.py", line 329, in getMessage
Aug 07 12:21:54.293215 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: msg = msg % self.args
Aug 07 12:21:54.293819 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: TypeError: not all arguments converted during string formatting
Aug 07 12:21:54.294324 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: Logged from file zone_migration.py, line 661
Aug 07 12:21:54.294851 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: Traceback (most recent call last):
Aug 07 12:21:54.295229 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: File "/usr/lib/python2.7/logging/__init__.py", line 861, in emit
Aug 07 12:21:54.295697 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: msg = self.format(record)
Aug 07 12:21:54.296071 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: File "/usr/local/lib/python2.7/dist-packages/oslo_log/handlers.py", line 168, in format
Aug 07 12:21:54.296443 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: return logging.StreamHandler.format(self, record) + record.reset_color
Aug 07 12:21:54.296814 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: File "/usr/lib/python2.7/logging/__init__.py", line 734, in format
Aug 07 12:21:54.297191 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: return fmt.format(record)
Aug 07 12:21:54.297651 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 502, in format
Aug 07 12:21:54.298064 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: return logging.Formatter.format(self, record)
Aug 07 12:21:54.298356 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: File "/usr/lib/python2.7/logging/__init__.py", line 465, in format
Aug 07 12:21:54.298624 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: record.message = record.getMessage()
Aug 07 12:21:54.298860 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: File "/usr/lib/python2.7/logging/__init__.py", line 329, in getMessage
Aug 07 12:21:54.299091 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: msg = msg % self.args
Aug 07 12:21:54.299329 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: TypeError: not all arguments converted during string formatting
Aug 07 12:21:54.299559 ubuntu-xenial-rax-ord-0001178741 watcher-decision-engine[3154]: Logged from file zone_migration.py, line 315

licanwei (li-canwei2) on 2018-08-08
Changed in watcher:
assignee: nobody → licanwei (li-canwei2)

This issue was fixed in the openstack/watcher 1.12.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers