Volume creation fails through cinder client using Pike and >=4.0.0
Bug #1786479 reported by
Gianpietro Lavado
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
New
|
Undecided
|
Unassigned |
Bug Description
Volume creation fails with cinderclient versions 4.0.0 and 4.0.1 and using Pike, whose recommended OpenStack Client (3.12.1) only requires a cinder client with version >3.3.0
ubuntu@
create() got an unexpected keyword argument 'source_replica'
When downgrading cinder client to 3.6.1, problem disappears.
description: | updated |
summary: |
- Voluem creation fails through cinder client using Pike and >=4.0.0 + Volume creation fails through cinder client using Pike and >=4.0.0 |
To post a comment you must log in.
+1, reproduces on openstack client v3.14.0 & python- cinderclient- 4.0.1:
create() got an unexpected keyword argument 'source_replica' ubuntu/ charm-test- infra/. tox/clients/ lib/python3. 6/site- packages/ cliff/app. py", line 402, in run_subcommand parsed_ args) ubuntu/ charm-test- infra/. tox/clients/ lib/python3. 6/site- packages/ osc_lib/ command/ command. py", line 41, in run parsed_ args) ubuntu/ charm-test- infra/. tox/clients/ lib/python3. 6/site- packages/ cliff/display. py", line 116, in run action( parsed_ args) ubuntu/ charm-test- infra/. tox/clients/ lib/python3. 6/site- packages/ openstackclient /volume/ v2/volume. py", line 232, in take_action hints=parsed_ args.hint, ubuntu/ charm-test- infra/. tox/clients/ lib/python3. 6/site- packages/ osc_lib/ shell.py" , line 135, in run Shell, self).run(argv) ubuntu/ charm-test- infra/. tox/clients/ lib/python3. 6/site- packages/ cliff/app. py", line 281, in run subcommand( remainder) ubuntu/ charm-test- infra/. tox/clients/ lib/python3. 6/site- packages/ osc_lib/ shell.py" , line 175, in run_subcommand Shell, self).run_ subcommand( argv) ubuntu/ charm-test- infra/. tox/clients/ lib/python3. 6/site- packages/ cliff/app. py", line 402, in run_subcommand parsed_ args) ubuntu/ charm-test- infra/. tox/clients/ lib/python3. 6/site- packages/ osc_lib/ command/ command. py", line 41, in run parsed_ args) ubuntu/ charm-test- infra/. tox/clients/ lib/python3. 6/site- packages/ cliff/display. py", line 116, in run action( parsed_ args) ubuntu/ charm-test- infra/. tox/clients/ lib/python3. 6/site- packages/ openstackclient /volume/ v2/volume. py", line 232, in take_action hints=parsed_ args.hint,
Traceback (most recent call last):
File "/home/
result = cmd.run(
File "/home/
return super(Command, self).run(
File "/home/
column_names, data = self.take_
File "/home/
scheduler_
TypeError: create() got an unexpected keyword argument 'source_replica'
clean_up CreateVolume: create() got an unexpected keyword argument 'source_replica'
Traceback (most recent call last):
File "/home/
ret_val = super(OpenStack
File "/home/
result = self.run_
File "/home/
ret_value = super(OpenStack
File "/home/
result = cmd.run(
File "/home/
return super(Command, self).run(
File "/home/
column_names, data = self.take_
File "/home/
scheduler_
TypeError: create() got an unexpected keyword argument 'source_replica'
All works fine if python- cinderclient- 3.6.1 is installed manually.
Looks like this change was introduced in https:/ /github. com/openstack/ python- cinderclient/ commit/ 32251f0ea386309 8b4d4d54364c8ee 18ff170a44 .