In this patch the following openstack user messages
commands are added:
manila message-delete --> openstack share message delete
manila message-list --> openstack share message list
manila message-show --> openstack share message show
Partially-implements bp openstack-client-support
Change-Id: Ib1e4cca4f869d4e832e7b1814d48c838f75b42e1
To be able to create profiling traces for Manila, client should be
able to send special HTTP header that contains trace info.
Don't worry no security issue here, trace information is signed by HMAC
key that is setted in api-paste.ini. So only person that knows HMAC key
is able to send proper header.
Main patch (in Manila) is:
https://review.opendev.org/c/openstack/manila/+/769729
Change-Id: I20cdb404c6df1be51321afca90aac33ec7eb3475
This patch will prevent ambiguity between manila share creation
with name = 'None' and without name argument.
Closes-Bug: #1909477
Change-Id: Ie21cad4754f32afdaf2c3f69202acfd7aa10f57c
This patch adds the 'openstack share revert' command,
which implements the same functionality as 'manila revert-to-snapshot'
and can be used to revert a share to a specified snapshot.
Partially-implements bp openstack-client-support
Change-Id: I896f2bb4ae256dda637768672f833573f5c2475d
This commit adds openstack share show metadata command, which implements manila
metadata-show functionality.
Partially implements bp openstack-client-support.
Updated with working unit test.
Change-Id: Ibde82cf9c36be41403a0e68ecac17cb211725d84
Implement the functionality of 'manila reset-state' command as
'openstack share set <share> --status'
Partially-implements bp openstack-client-support
Change-Id: Ic8902272b81b7583df785b358d32c8e88609d93a
https://review.opendev.org/770537 introduced
a wait flag for shrink and extend methods.
The unit tests could use a tighter assert
statement so we catch possible future
regressions.
TrivialFix
Related bp: add-wait-to-async-commands
Change-Id: I5681a86589c5d59337dbad878a2bb0ebc732f831
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This option enables "extend" and "shrink"
commands to wait until the action has completed.
Change-Id: I41fc08f29149cf12abbf7ca75fd30f897061bd05
Partially-implements: bp add-wait-to-async-commands
Closes-Bug: #1898308
This commit implements the following openstack share commands:
openstack share export location show <share> <export_location>
openstack share export location list <share>
Partially-implements bp openstack-client-support
Change-Id: Ie65fdd644e7161d94947614a87933f36c1826bed
This commit adds 'openstack share adopt' and 'openstack share abandon'
commands, that implement the same functionality as 'manila manage' and
'manila unmanage' commands
Usage:
openstack share adopt <service-host> <protocol> <export-path>
openstack share abandon <share>
Partially-implements bp openstack-client-support
Change-Id: I39919d38854387af21da410849905698ad261e9f
This patch set adds the capability of creating
a share from snapshot in the openstack client.
This bug was fixed for the GHC2020 OSD by the
$author, Maari Tamm, Sol K, Priya, Zuleinis and Hieu.
Change-Id: If32d55d52cd0c04a10fd0f1b2ac19fad843cecf6
Closes-Bug: #1888327
We already had a test to verify the default behavior
of not using the "wait" option. Remove the
duplicate test case that was added as part of
I099ccf4bce383905aeefc770905bd4d06470eaf2
TrivialFix
Related bp: add-wait-to-async-commands
Change-Id: I3a579292cc59a0c0adf4f903711e15370dae5481
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This patch adds a '--wait' argument to the following commands:
openstack share create
openstack share delete
openstack share resize
When passing that flag, the command will return
only after the action has been performed. For share create and
share reszise, the command will return after the share reaches
'available' state. For deleting a share, the command will return
only after the share has been deleted.
Change-Id: I8d6ddb1eeba97313fd58f1f6d205906b7611af3a
Partially-implements: bp add-waiters
"openstack share type list" and "openstack share access list"
do not need a "--columns" option.
The OSC client has inherent support for output filtering
via the "-c/--column" options.
Closes-Bug:#1899325
Change-Id: I6666e279e5ec97ced2e03aaf1eb88faec7408531
Using the manilaclient without a subcommand while
passing an optional argument triggers the raw Python
error `ERROR: 'Namespace' object has no attribute
'func'`. This bug can be reproduced by issuing the
command `manila --os-cache`.
Added a default value to `func` and an empty value to
`command` as placeholders so that a help message is
shown instead of the Python error.
This patch uses the same fix implemented in the
python-cinderclient.
Closes-Bug: #1902873
Change-Id: I5fcafd4bdfb40b2054e1205c14493c2f4be1f77a
This project no longer supports running on
python2.
Change-Id: I67819b0da5bc763a06ab9aa8343ca731469d61c5
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This option enables "create" and "delete"
commands to wait until the action has completed.
There are numerous asynchronous operations
and this behavior is desirable for all
of them, however, the feature will be implemented
in parts and tracked as various "low-hanging-fruit"
bugs for new contributors to get a hang of
the contributor process.
This patch introduces a framework for future
implementations, including a sample set of
unit and functional tests for create/delete
operations on shares with the v2 shell client.
Partially-implements: bp add-wait-to-async-commands
Closes-Bug: #1898304
Change-Id: I099ccf4bce383905aeefc770905bd4d06470eaf2
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
The imp module is deprecated[1] since version 3.4, use importlib to
instead
[1]: https://docs.python.org/3/library/imp.html
Change-Id: I2c3fd6de32038a0429d49e670a5d1e7289325b7e
Co-Authored-By: zhoulinhui <df.some@foxmail.com>
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: Ice2f40eb8856bb5869b621725e5918560d843e06
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: If79ec726cddc9dd016551223c29a824a109f8b8c
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: I4140849aae765e2ba3368701a49997c6ae772702
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: I74a9a463774bad1dffa09bb810625539f703c834
Sem-Ver: feature
In this patch we add openstack commands for:
share snapshot create
share snapshot delete
share snapshot show
share snapshot set
share snapshot unset
share snapshot list
Partially-implements bp openstack-client-support
Change-Id: Idfe2033016f333da0169fd032ff95bf868099f70
Implements the commands for performing the share server migration.
They are: share-server-migration-reset-task-state,
share-server-migration-complete, share-server-migration-cancel,
share-server-migration-start, share-server-migration-check
and share-server-migration-get-progress.
Co-Authored-By: Daniel Tapia <danielarthurt@gmail.com>
Co-Authored-By: Andre Beltrami <debeltrami@gmail.com>
Co-Authored-By: Douglas Viroel <viroel@gmail.com>
Change-Id: Id829a375d828a4808306fd1a42bc7548721feb19
Partially-implements: bp share-server-migration
Depends-On: Ic0751027d2c3f1ef7ab0f7836baff3070a230cfd
Depends-On: I46a0cee0a4625d950f02fa7a5bf612de926451b5