call_until_true raises error in water plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
zhufl |
Bug Description
1. Problem
watcher_
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/opt/stack/
File "/opt/stack/
File "tempest/
AttributeError: 'functools.partial' object has no attribute '__name__'
2. Analysis
if func is wrapped with functools.partial, then func.__
3. Solution
Though the usuage of functools.partial can be removed because now call_until_true supports args and kwargs that are passed to func, but it's better for call_until_true to get func.__
Fix proposed to branch: master /review. openstack. org/535610
Review: https:/