Bug 1960710
| Summary: | manila's OSC shell does not perform version auto negotiation | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Emilien Macchi <emacchi> |
| Component: | python-manilaclient | Assignee: | Ashley R <ashrodri> |
| Status: | CLOSED ERRATA | QA Contact: | Alfredo <alfrgarc> |
| Severity: | medium | Docs Contact: | RHOS Documentation Team <rhos-docs> |
| Priority: | medium | ||
| Version: | 17.0 (Wallaby) | CC: | apevec, ashrodri, eharney, gouthamr, lhh, mariel, vhariria, vimartin |
| Target Milestone: | z4 | Keywords: | Triaged |
| Target Release: | 17.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-manilaclient-2.6.4-17.1.20240830140806.7f7d7d3.el9ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-11-21 09:38:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1707979 | ||
|
Description
Emilien Macchi
2021-05-14 16:27:06 UTC
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! Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (RHOSP 17.1.4 bug fix and enhancement advisory), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2024:9974 |