← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1470826] [NEW] If action during handling BatchAction failed, then got Traceback in logs

 

Public bug reported:

If during operation some action (for example, delete action) became
failed, then got following traceback in logs:

Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 851, in emit
    msg = self.format(record)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 724, in format
    return fmt.format(record)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 464, in format
    record.message = record.getMessage()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 328, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting

It happens because of following line:
https://github.com/openstack/horizon/blob/master/horizon/tables/actions.py#L823

** Affects: horizon
     Importance: Undecided
     Assignee: Vitaly Gridnev (vgridnev)
         Status: In Progress

** Changed in: horizon
     Assignee: (unassigned) => Vitaly Gridnev (vgridnev)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1470826

Title:
  If action during handling BatchAction failed, then got Traceback in
  logs

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  If during operation some action (for example, delete action) became
  failed, then got following traceback in logs:

  Traceback (most recent call last):
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 851, in emit
      msg = self.format(record)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 724, in format
      return fmt.format(record)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 464, in format
      record.message = record.getMessage()
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 328, in getMessage
      msg = msg % self.args
  TypeError: not all arguments converted during string formatting

  It happens because of following line:
  https://github.com/openstack/horizon/blob/master/horizon/tables/actions.py#L823

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1470826/+subscriptions


Follow ups

References