The correct attribute name for the share group type access
repr is share_group_type_id, not id. This patch set fixes that.
Closes-Bug: #1953670
Change-Id: I651f3cc6429801db4c04813a60ddb4ec2871f2a1
This commit adds export location to the share replica show
command response output.
Closes-Bug: #1940701
Change-Id: I972023f142ff2db8ff7575677403baaa5695e1ba
This patch adds the following openstack share commands:
share network subnet create
share network subnet delete
share network subnet show
Partially-implements: bp openstack-client-support
Change-Id: I4e066a982fa40b079f969e7c3ca3276d3a842074
This fix addresses a TODO item for the "openstack share list" command. It adds support for ~name and ~description filtering when listing shares.
Closes-Bug: #1949091
Change-Id: If6bb9e7d379672116d88012682069686f5aedb52
This patch set adds the --wait flag to the share server
manage operation. This will make the CLI to wait for the
operation to be completed before returning to the prompt.
Updated test_share_server_manage to be test_share_server_
manage_wait and included the waiter flag.
Change-Id: I88a0a9e38b176cb5f241a4ac7997f6af92f9f38b
Add consistency to displaying column headers for the following
list commands:
openstack share type list
openstack share type access list
openstack share access list
Partial-Bug: #1945170
Change-Id: I88b3103696ab2f47b11d6d938193788e69b5a739
Optimize usage of logger so that manilla client does not
import logger library when not needed.
Closes-Bug: #1940692
Change-Id: Idcd327c1f4a2d0b56eb8487fcc885e5e744f0289
Share groups and share group snapshots can be now updated
through the quota class API
This change adds this option to the manilaclient CLI
Closes-Bug: #1871252
Change-Id: If2faf8a88a0a0e39d7fd0554bc3e530e18c3e922
Bump the lowest version of openstacksdk to 0.53.0
(shipped during wallaby cycle). Align some other
lower constraints (decorator, dogpile.cache,
keystoneauth1) to the versions constrained by
that release of openstacksdk.
Change-Id: I24f88cbc545f9c7503b9ccefb3d83a0976248a7d
Depends-On: I1b3a463211b65b6aaa3e0e127a1b32962ad6bf9f
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Fixes share server migration functional tests in the
python-manilaclient. Recently, this change [1] was introduced, and
before such change was merged, Manila used to keep the source share
server even after the complete operation.
As of the merge of [1], Manila is no longer keeping the source
share server, and it is automatically removed after the complete
phase is triggered.
In this change, we stop waiting for the share server task state
to be a migration completed task state, and instead, expect that
the source share server won't be encountered after the migration
complete.
[1] https://review.opendev.org/c/openstack/manila/+/803623
Change-Id: I7d53a65f1a3b1d5112b3e4de7dc60925191920fa
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: I58fe22d8c9862a2e1826717d7b50450f64e1ab68
This commit add --scheduler_hints option to share create command. Users
can specify affinity/anti-affinity share ids to share create command as
value in <key=value> pairs of scheduler hints. The possible keys are
same_host and different_host. Available from microversion 2.65.
Partially-implements: bp affinity-antiaffinity-filter
Change-Id: I8a9598eb16f08ed6539e8996e28cfc6e19586483
Some issues were identified in the commit
that added share groups OSC commands in
https://review.opendev.org/c/openstack/python-manilaclient/+/801740
We were also missing an import.
Change-Id: If72f4ecafd6c986f44b769fc47970374da9c008b
Partially-implements: bp openstack-client-support
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Added the implementation of the share group commands to OSC.
Commands are:
- openstack share group create
- openstack share group delete
- openstack share group list
- openstack share group show
- openstack share group set
- openstack share group unset
Change-Id: I9eb31449fef4eae73f1db91f2bad133d0fe8df2e
In this patch we add openstack commands for:
- share instance export location show
- share instance export location list
Co-authored-by: Eduardo Santos <eduardo.experimental@gmail.com>
Partially-implements: bp openstack-client-support
Change-Id: Ic1b5616a363059a941caa3cce6bd2b24bd379068
Add the following OSC commands:
share network create
share network list
share network show
share network set
share network unset
share network delete
Partially-implements: bp openstack-client-support
Change-Id: I6ddb2fec1d9421bfa8b11c82da5379ada80f610b
Co-Authored-By: Vida Haririan <vhariria@redhat.com>
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Adding the following openstack command,
share limits show --absolute
share limits show --rate
Partially-implements: bp openstack-client-support
Co-Authored-By: Goutham Pacha Ravi <gouthampravi@gmail.com>
Change-Id: I68b98a6c3ee369be1422d2f45e75d034e68da2e0
In this patch we add the following openstack share commands:
share snapshot instance list
share snapshot instance show
share snapshot instance set --status
share snapshot instance export location list
share snapshot instance export location show
Partially-implements: bp openstack-client-support
Co-Authored-By: Caique Mello <caiquemellosbo@gmail.com>
Change-Id: I7feb6219b0c684d2e88d0d077f776bfb331e3955
Lookup by 'id' was missing quotes
causing sporadic functional test
failures - sporadic because the test
gets into this code section only when
it runs in parallel to some migration
tests.
Change-Id: Iadce9d910370246f83f56f27039d9f5585642fbc
Related-Bug: #1821945
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This commit implements the following openstack share command:
openstack share pool list
Partially-implements: bp openstack-client-support
Change-Id: I5be047d6c81556b45773497f55323d1611c1eb48
This patch set adds the --wait flag to the share group
operation. This will make the CLI to wait for the
operation to be completed before returning to the prompt.
Updated test_share_group_create to be test_share_group_create_wait
and included the waiter flag
Partial-Bug: #1898318
Change-Id: Id3e163de48bdd918ae55438d812187ba4d5461c9
In this patch we add the following openstack share commands:
share replica export location list
share replica export location show
Partially-implements: bp openstack-client-support
Change-Id: Ib7ae453da665ae17b40c7b91b3563bc301769410
In this patch we add the following openstack share commands:
share service list
share sevice set
manila service-enable command is implemented as:
openstack share service set <hostname> <binary> --enable
manila service-disable command is implemented as:
openstack share service set <hostname> <binary> --disable
Partially-implements: bp openstack-client-support
Change-Id: I41852e93fce356549ca0600b02d972742a105a38
This commit implements the following openstack share command:
openstack share availability zone list
Change-Id: I75d3c5441b82fb8f16896719544a81dd032cdd15
Fixed the issue that didn't allow users to create share from
snapshot when the snapshot name was specified instead of the id.
Now, the manila client will search for snapshots regardless if the
name or id of the snapshot was specified.
Closes-Bug: #1798229
Change-Id: I2b29b6d2ba232aa390e7c3708ee589c82e3e7e72