test_existing_snapshot_failed_quota_reserved fails with TaskFlow 2.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Sean McGinnis | ||
Mitaka |
Fix Released
|
Medium
|
Sean McGinnis |
Bug Description
With the release of TaskFlow 2.0 we now fail due to the removed Failure class. We need to move from taskflow.
2016-06-02 07:38:50.676 | cinder.
2016-06-02 07:38:50.676 | -------
2016-06-02 07:38:50.676 |
2016-06-02 07:38:50.677 | Captured traceback:
2016-06-02 07:38:50.677 | ~~~~~~~~~~~~~~~~~~~
2016-06-02 07:38:50.677 | Traceback (most recent call last):
2016-06-02 07:38:50.677 | File "/home/
2016-06-02 07:38:50.677 | return func(*args, **keywargs)
2016-06-02 07:38:50.677 | File "cinder/
2016-06-02 07:38:50.677 | snap)
2016-06-02 07:38:50.677 | File "/home/
2016-06-02 07:38:50.677 | self.assertThat
2016-06-02 07:38:50.677 | File "/home/
2016-06-02 07:38:50.677 | mismatch_error = self._matchHelp
2016-06-02 07:38:50.678 | File "/home/
2016-06-02 07:38:50.678 | mismatch = matcher.
2016-06-02 07:38:50.678 | File "/home/
2016-06-02 07:38:50.678 | mismatch = self.exception_
2016-06-02 07:38:50.678 | File "/home/
2016-06-02 07:38:50.678 | mismatch = matcher.
2016-06-02 07:38:50.678 | File "/home/
2016-06-02 07:38:50.678 | reraise(*matchee)
2016-06-02 07:38:50.678 | File "/home/
2016-06-02 07:38:50.678 | result = matchee()
2016-06-02 07:38:50.678 | File "/home/
2016-06-02 07:38:50.678 | return self._callable_
2016-06-02 07:38:50.679 | File "cinder/
2016-06-02 07:38:50.679 | flow_engine.run()
2016-06-02 07:38:50.679 | File "/home/
2016-06-02 07:38:50.679 | for _state in self.run_
2016-06-02 07:38:50.679 | File "/home/
2016-06-02 07:38:50.679 | self._change_
2016-06-02 07:38:50.679 | File "/home/
2016-06-02 07:38:50.679 | self.force_
2016-06-02 07:38:50.679 | File "/home/
2016-06-02 07:38:50.679 | six.reraise(
2016-06-02 07:38:50.679 | File "/home/
2016-06-02 07:38:50.680 | failure.
2016-06-02 07:38:50.680 | File "/home/
2016-06-02 07:38:50.680 | failures[
2016-06-02 07:38:50.680 | File "/home/
2016-06-02 07:38:50.680 | six.reraise(
2016-06-02 07:38:50.680 | File "/home/
2016-06-02 07:38:50.680 | result = task.revert(
2016-06-02 07:38:50.680 | File "cinder/
2016-06-02 07:38:50.680 | if isinstance(result, misc.Failure):
2016-06-02 07:38:50.681 | AttributeError: 'module' object has no attribute 'Failure'
Changed in cinder: | |
importance: | Undecided → High |
milestone: | none → newton-2 |
Fix proposed to branch: master /review. openstack. org/325009
Review: https:/