| 1 |
--- |
| 2 |
prelude: > |
| 3 |
The manilaclient repository now includes a plugin to openstackclient. |
| 4 |
You can use the ``openstack share ..`` command line interface to |
| 5 |
administer the Shared File System service (manila) on any deployment |
| 6 |
alongside using it to provision and manage the life cycle of manila |
| 7 |
resources. Refer to the `official documentation <https://docs.openstack |
| 8 |
.org/python-manilaclient/latest/cli/osc_plugin_cli.html>`_ to find command |
| 9 |
syntax and usage information. You may also view this documentation |
| 10 |
directly in the CLI with ``openstack help share <subcommand>``. For |
| 11 |
example, ``openstack help share create``. |
| 12 |
upgrade: |
| 13 |
- | |
| 14 |
With the introduction of the openstackclient integration, we are also |
| 15 |
announcing our intent to deprecate the "manila" shell commands. These |
| 16 |
clients will emit a deprecation warning in a future release, and will |
| 17 |
eventually be removed. We recommend that you transition your workflows |
| 18 |
and tooling to use the "openstack" CLI when using the Shared File |
| 19 |
Systems service (manila) commands. The "manilaclient" SDK is unaffected |
| 20 |
by the introducion of OpenStackClient. |
| 21 |
other: |
| 22 |
- | |
| 23 |
The ``openstack share ..`` CLI is usable only with the "v2" API. At this |
| 24 |
time, we have no plans to support its use with the deprecated "v1" API |
| 25 |
provided by the Shared File System service (manila). |
| 26 |
- | |
| 27 |
The ``openstack share ..`` CLI does not yet support API microversion |
| 28 |
negotiation. This means that to use this release of the OpenStackClient |
| 29 |
with older Shared File System API service, users would have to set the |
| 30 |
API version in their environments. This can be done via cloud config |
| 31 |
(specify ``shared_file_system_api_version``) or via shell environment |
| 32 |
``OS_SHARE_API_VERSION`` or via the CLI overrride: |
| 33 |
``--os-share-api-version``. Without this override, the client will use a |
| 34 |
`hard-coded API version <https://opendev |
| 35 |
.org/openstack/python-manilaclient/src/branch/stable/zed/manilaclient |
| 36 |
/api_versions.py#L30>`_ to make API requests and this may fail in |
| 37 |
your deployment if the version is unsupported. |