Commit Graph

15 Commits

Author SHA1 Message Date
Goutham Pacha Ravi db3f3b5c99 [victoria][goal] Native Zuulv3 CI jobs
Replace "legacy" style jobs with native zuulv3
ones built within the manila-tempest-plugin
repository. This refactoring is driven by a
community wide goal to stop relying on devstack-gate,
a deprecated component of the OpenDev CI system [1]

Remove in-tree devstack gate hook script portions
that are no longer necessary; and mark the rest as
deprecated, since third party CI could still be
relying on these hooks.

Replace "manila-tempest-dsvm-mysql-generic",
"manila-tempest-dsvm-postgres-generic-singlebackend",
"manila-tempest-dsvm-generic-no-share-servers" and
"manila-tempest-dsvm-scenario" jobs with
"manila-tempest-plugin-generic" which preserves
coverage for the generic driver, while removing
unnecessary duplication/separation. See commit
message in [2] for more details.

Remove older CentOS and HDFS jobs since they
were not being executed.

Remove "custom" image jobs targeting custom
manila-image-element based builds, the jobs
now originate in the manila-image-elements
repository. [3]

The dummy driver job has been split into two parts
for testing DHSS=True and DHSS=False in separate
jobs. Read more about the motivation in the commit
message for the change that created that job [4]

While some name tags such as "postgres" and
"ipv6-only" have been removed from the job
names, the functionality of the job hasn't
been changed.

This change will not be backported. Instead, new
changes akin to this may directly target older
branches of manila.

[1] https://governance.openstack.org/tc/goals/selected/victoria/native-zuulv3-jobs.html
[2] https://review.opendev.org/726291/
[3] d9d2f16360/zuul.d/manila-image-elements-jobs.yaml (L34-L67)
[4] https://review.opendev.org/740534/
Change-Id: I2be6fc12c787c05c7df68297990fcdca96f57c5d
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-07-28 14:55:14 -07:00
Goutham Pacha Ravi 2d7c464453 Enable cephfs snapshots
The CephFS driver optionally advertised snapshot
support to manila, based on a configuration
option "cephfs_enable_snapshots". Manila does not
provide snapshots by default to users, unless an
administrator chooses to set the "snapshot_support"
extra-spec in the share type they're using. So this
configuration option is really an unnecessary safeguard
at this point.

Moreover, CephFS snapshots are fully supported from
Ceph Nautilus, and with Id847b1b5e6623172f2600afd69e51182067444cb,
manila added a support statement for the Victoria
release that indicates that Nautilus is the minimum
version of ceph supported. So let's default this
option to True, and deprecate this option at the same
time to eliminate this duplicate safeguard.

Partially-implements: bp update-cephfs-drivers
Depends-On: I885ff78586540d01590f98cca2a00d55161dbe04
Change-Id: I1ef42b414f8af0b8f9a912655757ec200a75c309
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-07-07 22:13:08 -07:00
Zuul 8530f07406 Merge "[devstack][ci] Modify firewall in ds-plugin" 2020-05-01 11:14:05 +00:00
Goutham Pacha Ravi 36b1715e86 [devstack][ci] Modify firewall in ds-plugin
To set up some first party backends such as
ZFSOnLinux, CephFS via NFS gateway, Container
(where the NAS server is containerized) and LVM,
manila's devstack plugin creates a NAS server
on the devstack host.

On test machines, access to this NAS server is
firewalled from networks outside of the host's
internal network namespace (including from private
project networks that are in different network
namespaces, on the same devstack host).

We currently use a legacy devstack-gate script
to disable firewall on NFS ports; however,
anyone that installs devstack with LVM, Container,
ZFSOnLinux, CephFS-NFS drivers will need these
firewall ports to be opened to be able to mount
shares exported off their devstack host machines.

Move these firewall commands to the devstack plugin.
These commands can be invoked by setting the localrc
variable MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST to True.
The value of this variable is False by default,
to preserve existing behavior.

Change-Id: Ic9cad47662f1edf2e5c710dbe64d580bc5f01d44
2020-04-29 21:15:21 +00:00
Goutham Pacha Ravi ffb283a04a [devstack][ci] Stop requiring g-reg service
When using manila's devstack plugin, we pull down
the latest manila testing image created with the
manila-image-elements project, and upload it to the
stack's Glance/Image service.

Glance's V2 API no longer needs g-reg which was a
legacy database proxy service for the older glance
API. Our devstack plugin should not have a hard
dependency on this service.

[1] http://lists.openstack.org/pipermail/openstack-dev/2016-May/094773.html
[2] https://specs.openstack.org/openstack/glance-specs/specs/newton/approved/glance/deprecate-registry.html

Change-Id: I58603032fb215ac0be2f76c8cd9fbce775be41dd
Closes-Bug: #1859847
2020-04-28 16:44:59 -07:00
Goutham Pacha Ravi cb01633380 [ci] Stop requiring neutron-tempest-plugin
We needed this plugin because neutron-dynamic-plugin's
code base included its tempest plugin in-tree. This
issue was addressed in https://review.opendev.org/#/c/695014/.

So we no longer need to install neutron-tempest-plugin
in manila jobs.

Change-Id: I34b77c95aad7ee2b67ba876db8aa64bbc44adb79
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-03-24 13:50:53 -07:00
Goutham Pacha Ravi 8d03a2a46e Make manila-tempest-plugin installation optional
manila-tempest-plugin can be installed with its
devstack plugin; Installing it via manila's plugin
is unnecessary. So, deprecate its installation
in the DevStack plugin.

Change-Id: I21c08069ff82b3bfb52ef7ac960183ddc866c2ee
2019-07-29 17:54:09 -07:00
Tom Barron 9be39cbef2 add IPv6 support for CephFS/NFS back end
Change-Id: Id2b4edfa02521f9c9d9c27635e9f4945af79a0b7
2019-07-22 17:13:13 -04:00
Zuul 302a142b63 Merge "[CI] Run scenario tests in the cephfs-nfs job" 2019-06-18 22:12:07 +00:00
Goutham Pacha Ravi fd21f5f246 [CI] Run scenario tests in the cephfs-nfs job
Add required components for scenario
testing and enable api and scenario tests
on the same job. The experimental
cephfs-nfs-centos-7 job has not been modified.

Depends-On: https://review.opendev.org/#/c/657669/
Depends-On: https://review.opendev.org/#/c/665039/
Change-Id: I74508fd02d7d4ff54270e91743c7ea06103299b1
2019-06-13 00:15:04 +00:00
OpenDev Sysadmins 8790c293e1 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:27:35 +00:00
Ian Wienand 4c42246b2a Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I4df9f22a60ef50677867eaf4baf9e7e55a951dda
2019-03-24 20:34:07 +00:00
Tom Barron 3442a930f5 Match job names in playbooks to their names
in .zuul.yaml.

TrivialFix

Change-Id: I9376bea74b54abcd36ff1124afb6dd733c183a72
2019-01-31 14:37:09 -05:00
Tom Barron 4cf7f97981 Run cephfs jobs under py3
Change-Id: Ic9e04c6e8746ae9b017b0cf7a13763caf4e7b140
2019-01-30 10:34:05 +00:00
Tom Barron 859d5ed80d Add Ubuntu Bionic CephFS jobs
We need these for python3 support since the CentOS
jobs will not run correctly under python3.

Depends-on: https://review.openstack.org/#/c/627037/
Change-Id: I0e4baaaca5046f9c0ee32cf3de78133f743fd66d
2019-01-02 14:59:54 -06:00