OpenStack CLI option is added to support user friently export location.
example command:
$ openstack share create nfs 1 --name share_name --mount-point-name custom_export_path
partially-implements: bp human-readable-export-locations
Depends-On: I72ac7e24ddd4330d76cafd5e7f78bac2b0174883
Change-Id: If896065a74fc4ebabd09b677e5eb0329cecfaab9
Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: I9bcaa2e248292f0e77132caeab03e4d31a225769
only reno command was possible to add a
release notes. modify tox config to allow
newnote command too.
Change-Id: Iae8ec60ed91708f428ef24d5fec07e95d68986ac
Adds cli option to allow users to give reason
for service-disable.
Closes-Bug: #2037700
Depends-On: I3d7c46945366ac9e1d305c2f6de2233859259bf7
Change-Id: I0b6ac3a3a16a3eaa56758bc0b7f77bfbf2eef9e7
Manilaclient force delete sends two REST requests, first
force delete and then delete. Fix it.
Change-Id: I8257c04f2b5f1a02533dc0fa5d37ae6ff923a56a
Closes-Bug: #2051737
The "per_share_gigabytes" quota param was introduced
in API version 2.62; when using older API versions,
we shouldn't be setting this parameter.
Closes-Bug: #2047249
Change-Id: I1eceee52726cef3494648521e4516010ca02f095
Added line to the list implementation versions 2.35 to 2.68 to point
the search_opts variable to an empty dict if it was set to none.
Closes-bug: #1967312
Change-Id: Ibbd95047ad082665c323f58b735e843d32001c45
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg
Change-Id: I2b58e5bf83c733c9bb63bcaff99fb6895f10765a
The "updated_at" attribute on access rules is
now properly set in manila, and can no longer
be empty.
Related-Bug: #2031193
Change-Id: I9c24aff7dc88c628aaf9419cd75f23357fede050
the file path to the decoder is better resolved
with the module path.
share transfer commands exist in the manila
shell, it'll be helpful to show the OSC translations
to these as well.
Implements: bp/openstack-client-support
Change-Id: I85d7ebd5c5c34c95402c0ea95f358bef91d26657
Adds osc functional tests for share snapshot instances
show, list, and set
Partially-implements: bp openstack-client-support
Change-Id: I9f6f5adbd7905a23b2fcfafc204e0477983bb630
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: I36b6f62cbca78394b942b0d6dbe2d98a137c2c3d
This issue [1] is showing up on the functional jobs in the gate,
which are using the system tox. So tell tox to upgrade itself
to the version that gets around that issue.
[1] https://github.com/tox-dev/pyproject-api/issues/101
Change-Id: Ib2a3ddb4bc8175f2769d1cd3510f00485349192a
Add share backup feature. This will allow the user to create,
restore and delete backups as well as listing backups and showing
the details of a specific backup.
Implement: blueprint share-backup
Depends-On: Ice01ab7892b1eb52b3202f2c79957977f73f3aca
Change-Id: I2c3848cbbeb921ede74756e25e58ef82277e0d2b
Access rules can now have the visibility of sensible fields
restricted, as well as the deletion can be prevented.
To do so, two new parameters were implemented in the access create
command: `restrict_visibility` and `restrict_deletion`.
In order to drop the delete restriction, users must specify
the `unrestrict` option while issuing the share access delete
command.
Depends-On: Iea422c9d6bc99a81cd88c5f4b7055d6a1cf97fdc
Change-Id: I31899a563c621e6f799e320fd990f9e510a8a9cc
Add OSC and SDK interfaces to create,
view, update and delete resource locks.
Depends-On: I146bc09e4e8a39797e22458ff6860346e11e592e
Partially-Implements: bp allow-locking-shares-against-deletion
Change-Id: Ib8586a4f80aa8c172d876c6745ae73b7bdaf4705
This has been a long time coming; we have finally
reached full feature parity and new features have
only been permitted in the openstack CLI plugin for
a couple of releases now.
We're signalling a major version bump for the package
with this change.
Implements: bp/openstack-client-support
Change-Id: I0a72883f1cd8a5ab9df9c349b6876248fe9edee3
Added support for display count info in share snapshot list
and detail APIs:
1. /v2/snapshots?with_count=True
2. /v2/snapshots/detail?with_count=True
Microversion upgraded to 2.79
Related-Bug: #2024556
Depends-On: I37d8ca9022e2ea2c107c6695e20e951d7950043a
Change-Id: I230c2195c414eec28ebc5e5e9714726731307a95
"manila" CLI isn't being installed globally
due to a recent change in devstack [1]. We
can switch to OSC since that's being installed
and linked appropriately.
[1] https://review.opendev.org/c/openstack/devstack/+/558930
Change-Id: I93d5a400cd562a599309da0e5f0e92c8657b4265
As part of our efforts to enhance automation and CI for Manila,
we have begun developing code in the Tobiko tool to support the
Manila client. During create/get operations, we have observed
that the returned body contains solely the resource id in the
format <Share: <id>>.
To address this, we are introducing a patch that allows retrieving
the full body response, not just the id resource.
Change-Id: Ia15274e75aa5d3da04d861a64a2f437cd4a9a584
Extend these into OSC capabilities where appropriate.
Bumps max microversion to 2.78.
Depends-On: I8d5a03eb127941a84eea5e6e9bdf76b3489f17a8
Implements: bp/metadata-for-share-resources
Change-Id: I204cd0aeb66dfb7f0b4da29413b80d76a6034aa3
The format of the osc share network subnet create command
output has been updated to return a list of hosts instead
of a dictionary, as we do for other commands in the client.
With this change, we are enhancing the consistency of the
client and the readability of the output.
Closes-bug: #1989818
Change-Id: I05413e9e8b846d725d8fe021daf5d320857aac2f
In manilaclient i.e. manila commands, if user supplied version is above
the max version supported by server, manilaclient adjust to max version.
This was missing in openstack commands which results in failure that
version is not supported. Fix by discovering most suitable version and
use it for client creation.
Closes-bug: #1960490
Change-Id: I734f6953e8b0266b38f0cb6e1581c4201f2bd676
Previously, "share network create" command was trying to look up
the availability-zone provided by the user. However, this is not supported
by the AvailabilityZoneManager.
Drop the AZ lookup if the option is used and pass the user provided value
to the API.
Closes-Bug: 1962288
Change-Id: I3ec926122eed932caebcb31b9afd0f811f1f3c8e
Allows to configure optional field 'defaultadsite' in security-service
for microversion >= 2.76.
Closes-bug: #1988146
Depends-on: I8e21e9170eace134a51efed84de1ccc58eb7eaaa
Change-Id: I0cc280b1d8e25980c2723688fb0f221faa057f2e
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: Ibc6f421579b459e30e4305dfb5f1f023062e1632