rally-openstack: 1.2.0 broken with python-cinderclient >= 4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Python-CinderClient 4.0.0 broke backwards compatibility by rejecting the "source_replica" keyword in its volume "create()" which Rally-OpenStack <= 1.2.0 uses and causes errors on tests that create volumes with "TypeError: create() got an unexpected keyword argument 'source_replica'".
This has already been address in Rally-OpenStack Git commit 67882d55 which hasn't been released.
The Rally-OpenStack 1.2.0 wheel "Requires-Dist: python-cinderclient (>=3.3.0)" which doesn't prevent the backward incompatible 4.x. (Presumably that's based on PBR finding "python-
A work-around for installing Rally-OpenStack with Pip is creating and referencing a constraint file that contains "python-
Traceback (most recent call last):
File "/root/
getattr(
File "/root/
volume = self.cinder.
File "/root/
return func(instance, *args, **kwargs)
File "/root/
source_
File "/root/
return func(instance, *args, **kwargs)
File "/root/
source_
File "/root/
return func(instance, *args, **kwargs)
File "/root/
f = func(self, *args, **kwargs)
File "/root/
.volumes.
TypeError: create() got an unexpected keyword argument 'source_replica'
Changed in rally: | |
status: | Fix Committed → Fix Released |
I want this issue should be fixed in master branch. Please download repo from master branch, then install rally-openstack with `python setup.py install` to update your rally-openstack codes, or you could temporarily downgrade your cinder client to avoid this issue. will have a new release in soon future. Thanks for your report.