diff options
author | Jan Horstmann <j.horstmann@mittwald.de> | 2020-08-10 13:09:52 +0200 |
---|---|---|
committer | Jan Horstmann <j.horstmann@mittwald.de> | 2020-08-25 16:20:53 +0200 |
commit | f98aef09e2ac0191fb7fb6b949154fedde0bc525 (patch) | |
tree | 1e3df9aac76935fdb973a20b199dc0b49aceaeb6 /releasenotes/notes | |
parent | 65de8cb43694bb2063248dff920cc1f0e06c851f (diff) | |
download | heat-f98aef09e2ac0191fb7fb6b949154fedde0bc525.tar.gz |
Bump MANILACLIENT_VERSION and use sharev2 endpoint
This commit bumps MANILACLIENT_VERSION to 2.13 and changes the used
service type to sharev2.
In order to support the value of "cephx" in property
'{"access_rules": [{"access_type": ""}]}' in ressource
OS::Manila::Share, manilaclient needs to use at least version 2.13 of
the manila API ([1]). The default minimum version in manilaclient, which
is used when only a mayor version is specified is 2.0.
Additionally the sharev2 service type endpoint has to be used to access
the manila v2 API.
The export_locations response was removed in version 2.9 of manila API
from the "Show share details" request ([2]) and moved to its own
endpoint in [3]. Thus it is requested from there now.
Additionally the new endpoint is more verbose, so only its path
attribute is returned, in order to match the previous behaviour.
[1]
https://docs.openstack.org/manila/latest/contributor/api_microversion_history.html
[2]
https://docs.openstack.org/api-ref/shared-file-system/?expanded=show-single-export-location-detail,show-share-details-detail#show-share-details
[3]
https://docs.openstack.org/api-ref/shared-file-system/?expanded=show-single-export-location-detail,list-export-locations-detail#list-export-locations
Change-Id: I4c37be8fad1edb05d812fed260e97e9188fd23ce
Story: 2007986
Task: 40612
Diffstat (limited to 'releasenotes/notes')
-rw-r--r-- | releasenotes/notes/support-cephx-access-type-in-manila-share-71a416bf55aea214.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/releasenotes/notes/support-cephx-access-type-in-manila-share-71a416bf55aea214.yaml b/releasenotes/notes/support-cephx-access-type-in-manila-share-71a416bf55aea214.yaml new file mode 100644 index 000000000..9ccb63370 --- /dev/null +++ b/releasenotes/notes/support-cephx-access-type-in-manila-share-71a416bf55aea214.yaml @@ -0,0 +1,8 @@ +--- +upgrade: + - | + Manila resources now use the 'sharev2' endpoint and API version '2.13'. +fixes: + - | + OS::Manila::Share now properly supports 'cephx' as a value for property + '{"access_rules": [{"access_type": ""}]}'. |