When deploying Manila with TripleO from master, it's impossible to create shares using openstackclient from the Undercloud because the version of Manila API is too old for manilaclient. $ rpm -qa|grep manilaclient python3-manilaclient-2.6.0-0.20210323054047.1075210.el8.noarch $ openstack share type create cephfsnfstype false Version 2.63 is not supported by the API. Minimum is 2.0 and maximum is 2.60. (HTTP 406) (Request-ID: req-cb62d943-ea63-4cd2-b3d9-5130bb3b0e1a) Manila API is latest from tripleo master. It works fine if the manilaclient installed is olded (tested on python3-manilaclient-2.1.0-2.fc33.noarch).
Hi Emilien, manilaclient doesn't yet have the API negotiation bits of the OpenStackClient. However, this looks like an anomaly, the latest from tripleo master should bring in version 2.63 [1] (which the client is requesting) - but somehow manila API is still at 2.60. Perhaps the latest wallaby code hasn't been promoted yet? As a workaround for the problem you're hitting, you can set a version if you wish with: $ openstack --os-share-api-version 2.60 share type create cephfsnfstype false alternatively, via env variable: $ export OS_SHARE_API_VERSION=2.60 [1] https://docs.openstack.org/manila/latest/contributor/api_microversion_history.html#maximum-in-wallaby
(In reply to Goutham Pacha Ravi from comment #1) > As a workaround for the problem you're hitting, you can set a version if you > wish with: > > > $ openstack --os-share-api-version 2.60 share type create cephfsnfstype > false Thank you!