The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: Ice2f40eb8856bb5869b621725e5918560d843e06
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
Testing has migrated to focal and python3.8;
and we get F811 errors on the microversioned
and hence redefined methods
E.g.:
F811 redefinition of unused 'list' from line 37
Closes-Bug: #1886298
Change-Id: I065b15f9b81036727ce9bdeae5f34c473d14d10c
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
In this patch we add openstack commands for:
share quota set
share quota show
share quota delete
Change-Id: I3520feec09a6c491f436809a5f620efce1b1f8c2
Partially-implements: bp openstack-client-support
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8
support in their later version.
- noqa for pep8 F811 check.
Closes-Bug: #1886298
Story: #2007865
Task: #40194
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal
Change-Id: Id8300f4dbde7e59b8d6275b0671328e35670312c
In this patch we add some unit tests for exception cases
to improve overall test coverage. Tests added:
test_share_set_visibility_exception
test_share_set_property_exception
test_share_unset_name_exception
test_share_unset_property_exception
Change-Id: I7604da8943dca8f3eada7c5ac1311086772f41a5
Partially-implements: bp openstack-client-support
This patch creates initial documentation for OSC, with
general plugin information and a few examples.
New commands, that are implemented, should be then
referenced in doc/source/cli/osc/v2/index.rst
Change-Id: I6fa9fcb3cf41a2992a4b5c7b38c54825106e9ce5
Partially-implements: bp openstack-client-support
In this patch we add the 'openstack share resize' command.
This command combines 'manila shrink' and 'manila extend' commands
into one and can be used to change the size of a share.
usage: openstack share resize <share> <new-size>
Change-Id: I052977f689ad4c1e9fb5f63d773519cd880c5b6c
Partially-implements: bp openstack-client-support
The manilaclient functional test job
"manilaclient-dsvm-neutron-functional"
is currently broken due to a change to its
parent job in the devstack repository.
Instead of investing to fix that legacy style
job, we'd be better off rewriting it to be
in native zuulv3 style, i.e., without the
use of the deprecated devstack-gate project.
- Introduce a new job "python-manilaclient-functional"
which replaces "manilaclient-dsvm-neutron-functional"
but preserves the testing done by the latter.
- The new job runs on a minimal devstack (keystone,
neutron, manila, mysql and rabbit) and uses an ansible
role introduced to setup test configuration.
- Add a "bindep.txt" file to call out test system
dependencies, and install them via the new job.
- Cleanup the old job, the associated devstack gate
hooks and playbooks.
Change-Id: I3b67f3b566bdadf1cc228f885b7253435a4507b5
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Set openstackdocs_auto_name to use 'project' as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I1d02403727831c29f3a38cfc11949325614ac7d0
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: Ibe524fb12fe41de8a825e7b06647afb6c463deba
print_function has been available since python 3.0.0
We can drop its import from __future__
Change-Id: I5f8c45c85ba66d29dc89ee6c0589044e413a549c
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
- Add a top level CONTRIBUTING.rst for
repo browsers
- Refactor existing contributor guide
- Add a contributor/contributing.rst file
with links back to relevant manila
documentation.
- Rearrange some things in the main doc
index file to make things prettier.
Change-Id: I68ea17a71c4ea1e7aac5bea1ec8b95344cb256b7
Story: #2007236
Task: #39553
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.
Change-Id: Id0c402a1a9fb3375bf7ba07dbcc4ee7a108e1dc4
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I1df78551c90cd3578a558409c0cc308b9b4e8f84
Sem-Ver: feature
- Removed all experimental mentions from share group feature
commands.
Depends-On: I080683541d527657f01008d43529fc53c19a09cd
Change-Id: I585c9c845851fcd581e08b0084fc2528b85cd632
Partially-Implements: bp graduate-share-groups-feature
This patch updates the python manila client
api version in order to consider the changes
implemented in the view of shares and share
replicas. A new field called ``progress`` was
added and will show the progress of the
create share from snapshot operation.
Partially-implements: bp create-share-from-snapshot-in-another-pool-or-backend
Depends-On: Iab13a0961eb4a387a502246e5d4b79bc9046e04b
Change-Id: Id73f6facca03e8490846b68c404593f16e95f8bd
- Added support to two new quotas for share replicas, being
`share_replicas` and `replica_gigabytes`.
Depends-On: I8ba7bc6f167c28d6c169b2187d0e1bda7cad3f69
Partially-Implements: bp limit-share-replicas-per-share
Change-Id: I700adc0cb64e03ef66cf7123601a406891d526f2
This change affects all the help text and
provides command line aliases to the usage
of "tenant" on the manila v2 shell.
Change-Id: Ia0b0a675257ebabecb7dd571a5417d8ad981254b
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg: Wheel is not needed for python
3 only repo
- Update requirements, no need for python_version anymore
- Remove old variables from conf.py, update openstackdocstheme
requirement.
- Remove hacking and friends from lower-constraints, they are
not needed in installed system.
Change-Id: I179d61545169f3d329c746c88dd4d38035d4075d
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix found problems.
Change-Id: I78ee32da2b158abda1ca4438c23c5245dd8849b2
In this patch we add openstack commands for:
share type create
share type delete
share type set
share type unset
share type list
share type show
share type access create
share type access list
share type access delete
These commands can be used to replace all “manila type-” commands.
“openstack share type set” combines “manila type-key” with
“manila type-update” commands and can be used to set name, description,
visibility and extra specs.
Change-Id: I10cb6ea800908ebbe48eae7ba8c18680249ff1d2
Partially-implements: bp openstack-client-support
In this patch we add openstack commands for:
share access create
share access delete
share access list
share access show
share access set
share access unset
These commands can be used to replace all 'manila access-...' commands.
'manila access-metadata' is replaced by:
'openstack share access set --property <key=value>' and
'openstack share access unset --property <key>'
Change-Id: Id2bd92bcb629905c7db12951d6e4ebe2d5b4d916
Partially-implements: bp openstack-client-support
In this patch we create the base for osc functional testing
and add tests for 'openstack share' commands that are currently
implemented.
Change-Id: I3732229e4a61182a80f6f35ad7050075db84f6ce
Partially-implements: bp openstack-client-support
In this patch set we add the implementation
for openstack share set and openstack share unset command.
These commands are used to change share properties
and replace the manila update and manila metadata commands.
Partially-implements: bp openstack-client-support
Change-Id: Ic09802fa5dc9c7f0180341397c2740ac0cadbcd4
The manila api accepts all_tenants as a parametes
in the API. Users can send --all-projects via OSC
and the client translates to all_tenants.
Change-Id: I5f9e685659160e676e70281e8f258a19b6133bfa
Partially-implements: bp openstack-client-support
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
Having osc in an upper level module meant that
all osc unit tests were not being run.
We had two options: either create a new job purely
for osc unit tests or put all tests on the same module.
The latter made more sense for simplicity reasons (KISS)
Change-Id: Iabf76d8ac7ef886d736f3e30d466fe3f992287da
Delete one share, force delete one share,
delete many shares and show share unit tests
were broken. Those failures were not caught up
because we were not running tests on our gate.
This patch set fix those tests. The dependeny will
add osc unit tests to main python jobs
Change-Id: I14fe8601b0a9b82d55473a38916b13ded38f4bc5
Add an OSC plugin for manila, the subcommand
chosen is "share". Add initial commands parser
for create, delete, list and show shares.
Also initializes basic unit testing structure for
the added commands.
Co-Authored-By: Soledad Kuczala <sol.kuczala@gmail.com>
Co-Authored-By: Victoria Martinez de la Cruz <victoria@redhat.com>
Partially-implements: bp openstack-client-support
Change-Id: I90a36f4332796675ea808e0c2a0f5ce32709624a