978 Commits

Author SHA1 Message Date
Zuul
db39af431a Merge "[CI] Change rally and lower-constraints jobs" 2021-12-17 15:28:26 +00:00
Victoria Martinez de la Cruz
c34f59326f Move release notes to correct folders
Change-Id: I1992a9f4cce93fd2e6394c87a7d54a7ee2405fb9
2021-12-16 18:56:10 +00:00
Goutham Pacha Ravi
1f72195d31 [CI] Change rally and lower-constraints jobs
rally-dsvm-manila-multibackend and
rally-dsvm-manila-multibackend-no-ss were old
jobs whose definition was removed a while ago, however,
the check pipeline on this repo had these jobs
and this config error was not surfaced until
recently [1]. Replace these older jobs with the
correct ones.

The lower constraints job should only be run on
master, since it provides little value to stable branches
we've already shipped. We do not allow requirements
changes in these branches lightly. [2][3][4]

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-November/025797.html
[2] http://pyfound.blogspot.com/2020/11/pip-20-3-new-resolver.html
[3] https://pip.pypa.io/en/stable/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020
[4] http://lists.openstack.org/pipermail/openstack-discuss/2021-March/021204.html

Change-Id: I4a7de404bd02887e7a7b37fff8ce449846109cbb
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2021-12-14 11:34:56 -08:00
Victoria Martinez de la Cruz
dcb25e54e9 Fix the id attr for share group type access repr
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
2021-12-09 15:34:35 +00:00
Zuul
4ec4c58567 Merge "Add export location information to share replica show command" 2021-12-07 17:56:01 +00:00
archanaserver
31e231b7e5 Add export location information to share replica show command
This commit adds export location to the share replica show
command response output.

Closes-Bug: #1940701
Change-Id: I972023f142ff2db8ff7575677403baaa5695e1ba
2021-12-03 15:54:49 +00:00
Zuul
1bd0613794 Merge "api 2.64, manilaclient support force extend share" 2021-12-03 08:18:59 +00:00
haixin
81f9fc3125 api 2.64, manilaclient support force extend share
Partial-bug: #1855391

Change-Id: Ife4f42a77217a2c9d2553159126caa72da70fd83
2021-12-03 13:46:50 +08:00
Zuul
6e56c9e1fe Merge "Add --wait flag to the mange share server operation" 2021-11-29 17:59:05 +00:00
Zuul
4add131c0c Merge "[OSC] Implement share network subnet commands" 2021-11-29 11:29:07 +00:00
Maari Tamm
b095429783 [OSC] Implement share network subnet commands
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
2021-11-24 07:43:44 +00:00
Besjana Gjika
b5a4f9c396 Add support for ~name and ~description filtering when listing shares.
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
2021-11-16 17:07:57 +00:00
archanaserver
13ec1d3f44 Add --wait flag to the mange share server operation
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
2021-10-27 14:11:43 +00:00
Zuul
0f9ba9a7d3 Merge "Fix displaying column headers for OSC list commands" 2021-10-06 09:27:18 +00:00
Zuul
82de5e9d9d Merge "Remove check for args.force" 2021-10-04 16:47:12 +00:00
Zuul
834f88b4c2 Merge "Refractor logs" 2021-10-04 16:37:18 +00:00
Leslie Stevens
1e8330468f Fix displaying column headers for OSC list commands
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
2021-10-01 21:14:07 +00:00
celenamichaud
ea9b04f9df Remove check for args.force
Force flag will never be "none", so unnecessary check was removed

Closes-bug: #1934771
Change-Id: I1f7a60146a08183c1d208c431e562836a2a9fd19
2021-10-01 20:53:58 +00:00
altanai
4e73888b27 Refractor logs
Optimize usage of logger so that manilla client does not
import logger library when not needed.

Closes-Bug: #1940692
Change-Id: Idcd327c1f4a2d0b56eb8487fcc885e5e744f0289
2021-10-01 20:00:04 +00:00
Victoria Martinez de la Cruz
be8326b7cc Add share groups/share group snaps to quota class
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
2021-09-27 07:15:21 +00:00
Victoria Martinez de la Cruz
a20f85f3d7 Bump lower-constraints
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>
2021-09-24 17:36:47 +00:00
Zuul
8d00aae5dd Merge "Update master for stable/xena" 2021-09-15 00:21:46 +00:00
silvacarloss
1c3334d06b Fix python-manilaclient functional tests
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
2021-09-14 07:45:14 -03:00
3d7eb91d0d Update master for stable/xena
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
2021-09-10 14:32:46 +00:00
Zuul
32fad505c7 Merge "Add --scheduler_hints to share create command" 2021-09-08 19:24:17 +00:00
kpdev
9a2bcb8d87 Add --scheduler_hints to share create command
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
2021-09-07 19:22:38 +02:00
Goutham Pacha Ravi
89f7f2728b Fix OSC share groups
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>
2021-09-02 15:09:06 -07:00
archanaserver
7c8aa8efd1 [OSC] Implement Share Group Commands
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
2021-09-02 18:47:08 +00:00
Nahim Alves de Souza
92ca00cd64 Implement OSC share instance export location commands
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
2021-09-02 07:07:57 +00:00
Goutham Pacha Ravi
d40205a2f2 OSC Implementation for Share Networks
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>
2021-09-02 00:06:59 -07:00
Vida Haririan
cc440609bd [OSC] Implement Share Limits Show command
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
2021-08-31 03:52:56 -04:00
silvacarloss
2f173cb150 [OSC] Implement share instance commands
Added the implementation of the share instance commands to OSC.
Commands are:

- openstack share instance delete
- openstack share instance list
- openstack share instance set
- openstack share instance show

Co-Authored-By: Luisa Amaral <luisarfamaral@gmail.com>
Partially-Implements: bp openstack-client-support
Change-Id: I8d29651d4e3a74b9ade67ea0a8f20808ca33bdc8
2021-08-27 07:46:14 -03:00
Zuul
fa1188e8ef Merge "[OSC] Add Share Snapshot Instances commands" 2021-08-26 13:52:32 +00:00
Fabio Oliveira
1d591270bd [OSC] Add Share Snapshot Instances commands
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
2021-08-25 10:15:29 -03:00
Zuul
15631586be Merge "Fix incorrect dict member lookup" 2021-08-24 19:24:44 +00:00
Zuul
6856a8299a Merge "Add --wait flag to the create share group operation" 2021-08-24 13:04:31 +00:00
Goutham Pacha Ravi
2fc21c3e0c Fix incorrect dict member lookup
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>
2021-08-23 22:32:35 -07:00
Zuul
823f90c5c6 Merge "[OSC] Implement Share Pools List command" 2021-08-24 05:19:44 +00:00
Zuul
776f7340ea Merge "[OSC] Implement Replica Export Locations commands" 2021-08-24 01:13:18 +00:00
Maari Tamm
d566ecc09a [OSC] Implement Share Pools List command
This commit implements the following openstack share command:

openstack share pool list

Partially-implements: bp openstack-client-support
Change-Id: I5be047d6c81556b45773497f55323d1611c1eb48
2021-08-23 17:04:35 -07:00
archanaserver
376429ec1d Add --wait flag to the create share group operation
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
2021-08-23 11:55:53 +00:00
Maari Tamm
ca00798030 [OSC] Implement Replica Export Locations commands
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
2021-08-23 06:32:16 +00:00
Maari Tamm
fcbcf7521f [OSC] Implement Share Services Commands
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
2021-08-20 14:00:15 +00:00
Kafilat Adeleke
53275bec67 [OSC] Implement Availability Zones Command
This commit implements the following openstack share command:

openstack share availability zone list

Change-Id: I75d3c5441b82fb8f16896719544a81dd032cdd15
2021-08-19 06:35:28 +00:00
Luisa Ferraz do Amaral
616f3acf60 Fix issue while creating share from snapshot
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
2021-07-30 17:09:08 -03:00
Zuul
402d073376 Merge "Fix PDF docs issue" 2021-07-27 19:38:39 +00:00
Zuul
6c7cd9d61a Merge "tests: Remove unused fakes" 2021-07-27 14:21:51 +00:00
Zuul
cba59734ee Merge "utils: Remove unicode-related helpers" 2021-07-27 14:21:49 +00:00
Zuul
17d322b4cd Merge "tools: Remove dead tools" 2021-07-27 14:21:47 +00:00
Zuul
fd2a00f9b9 Merge "Remove six" 2021-07-27 14:21:45 +00:00