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>
- Added CLI commands for managing and unmanaging share servers.
- Updated CLI command for managing shares to accept
share_server_id parameter.
API microversion has been bumped to 2.49.
Partially-implements: bp manage-unmanage-with-share-servers
Change-Id: If1403079b20471645bf869da74bf4db37d59811c
- Use roles from the openstack-infra/zuul-jobs
repository to gather appropriate files after
each job run.
- Gather the etc/ folder to gather test
configuration.
Change-Id: I07676362e3b83cf2e50e177c1f37d926bb86c4ac
Manila's ci scripts disable configuring the
default share and share group types if testing
with the dummy driver.
We want to continue using the the default types
mechanism in python-manilaclient, until we decide
not to.
Change-Id: I14544bea728286eeb33461e724d991fe556a4269
Closes-Bug: #1787292
This patch adds support to manila client for the mountable snapshots
feature.
Co-Authored-By: Miriam Yumi <miriam.peixoto@fit-tecnologia.org.br>
Co-Authored-By: Alyson Rosa <alyson.rosa@fit-tecnologia.org.br>
Implements: blueprint manila-mountable-snapshots
Change-Id: I785a784bcae7cf3bcef4fa6c64ba28ee58328389
Depends-On: I65f398a05f82eef31ec317d70dfa101483b44b30
For testing of manilaclient we need just some backend and
not some specific one. So, use dummy driver to avoid
possible real-driver-dependent problems in manilaclient functional
tests CI job.
Also fix NameError in functional tests that appears/reproducible
with such switch.
Change-Id: I14f3faf4c88eaca8d1cdec006fd1b4403dace66d
Closes-Bug: #1614981
Closes-Bug: #1631441
and use it in CI job.
Co-Authored-By: Alexey Ovchinnikov <aovchinnikov@mirantis.com>
Co-Authored-By: Valeriy Ponomaryov <vponomaryov@mirantis.com>
Change-Id: Ic5c495e8b712370a30da31c57c7ea1565c46537e
Closes-Bug: #1516562
We do not use any presets defined in manila project for CI jobs.
So, start using it. It will allow us to reduce random failures
we face now.
Change-Id: Idab828dfe9f1cabdbbf61d661321d613cdfc401c
Closes-Bug: #1630624
Logic of share-network creation was dependent on presense of "JOB_NAME"
env var. And it is unavailable now. Moreover, we do not really need to
depend on it. Therefore, remove dependency on it and assume we always
run CI without nova-network enabled.
Change-Id: Ic03e2166101a4deb13e8a8545d2fb2506454a20a
Closes-Bug: #1595160
Stop sourcing generated by Devstack rc files and call script
that sets proper env vars based on username and project.
Change-Id: I61722fc755d5c1ed08705559bdf60f09f3a262f5
Closes-Bug: #1550166
Our gate jobs are broken in two places:
- latest mock lib does not work on py26;
- post_test_hook.sh is not compatible with devstack anymore after change to devstack [1]
So, fix post_test_hook.sh and set proper version to mock lib.
[1]: I613f1bdc6673f0c4bfe29aaab7b514348a617a8c
Closes-Bug: #1474293
Closes-Bug: #1474261
Closes-Bug: #1474744
Change-Id: Ia849a06275e738078dc4543680d499c6149117d5
Add base client methods for shares and use them in rw functional tests.
Partially implements bp rw-functional-tests
Change-Id: Ibc611ed5c54d2635f36018f3590ca56f4f2eb7dd
Functional tests create a lot of share networks and may cause exceedance of
default limit. So, increase it, to be able to run tests not restricting
amount of threads.
Change-Id: I43ffdc54f924020bed876927bbd693593de726b2
Add base client methods for share types and use them in rw functional tests.
This commit covers case of 'public' share types.
Partially implements bp rw-functional-tests
Change-Id: Ia35dbe7f42ada319853642b893bc5c2fa2db4175
Make functional tests ci job save testr logs with list of run tests and their
results.
Change-Id: If93d3eac727fc13ef6c5d727818f67482572e2a6
Partially implements bp functional-tests
Add gate hook to contrib/ci dir to be able to configure functional tests job.
pre_test_hook just imports devstack extension for manila project to the
devstack project.
post_test_hook configures config file for manilaclient based on devstack
installation and runs related tox job.
Also fix default config file path within config module.
Partially implements bp functional-tests
Change-Id: Ibf90af083b9a8e0ec646e1bff676893528ff1914