ManilaShares.create_and_extend_share fails with Python3.9 on OSP17/RHEL9
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-browbeat |
Fix Released
|
Undecided
|
Sanjay Chari | ||
python-manilaclient |
Fix Released
|
Medium
|
Goutham Pacha Ravi |
Bug Description
The ManilaShares.
Traceback (most recent call last):
File "/home/
getattr(
File "/home/
self.
File "/home/
f = func(self, *args, **kwargs)
File "/home/
share.
File "/home/
self.
File "/home/
return method.func(obj, *args, **kwargs)
TypeError: extend() got an unexpected keyword argument 'force'
This is mostly because Python3.9 is used in OSP 17, and because of changes in the manila codebase since OSP 16.2.
Changed in python-manilaclient: | |
assignee: | nobody → Goutham Pacha Ravi (gouthamr) |
milestone: | none → zed-2 |
importance: | Undecided → High |
importance: | High → Medium |
Changed in openstack-browbeat: | |
assignee: | nobody → Sanjay Chari (sanjaychari) |
Hi, are these tests specifying an API microversion for manila?
This looks like a bug because you're using an older microversion, and the code's forcing the use of the "force" keyword:
Call:
https:/ /opendev. org/openstack/ python- manilaclient/ src/commit/ 91c0d7980713aec c220b7adaed1c97 b4d88b3cc8/ manilaclient/ v2/shares. py#L100
microversion based variants: /opendev. org/openstack/ python- manilaclient/ src/commit/ 91c0d7980713aec c220b7adaed1c97 b4d88b3cc8/ manilaclient/ v2/shares. py#L744- L754
https:/