Wrong 'exc_info' called in __init__ of cinder/volume/flows/create_volume module

Bug #1220803 reported by Tom Zhou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Undecided
Tom Zhou

Bug Description

Found in e5b6d4d82c9f225911c549022820f0c76576cfd3 of cinder/master

The 'exc_info' is an attribute of cause object, not a method.

Traceback (most recent call last):
  File "/opt/stack/cinder/cinder/taskflow/utils.py", line 353, in rollback
    f(cause)
  File "/opt/stack/cinder/cinder/taskflow/utils.py", line 186, in __call__
    self.task.revert(self.context, self.result, cause)
  File "/opt/stack/cinder/cinder/volume/flows/create_volume/__init__.py", line 922, in revert
    if not self._is_reschedulable(cause):
  File "/opt/stack/cinder/cinder/volume/flows/create_volume/__init__.py", line 832, in _is_reschedulable
    exc_type, value = cause.exc_info()[:2]
TypeError: 'tuple' object is not callable

Tom Zhou (zhouqt)
Changed in cinder:
assignee: nobody → Tom Zhou (zhouqt)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/45080

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.