manila/playbooks/legacy/manila-tempest-dsvm-contain...
Goutham Pacha Ravi e517c01ddb [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
(cherry picked from commit 36b1715e86)
(cherry picked from commit 94486eb4c0)
(cherry picked from commit e7b4507de4)
(cherry picked from commit 3f2f7b66b1)
(cherry picked from commit 4008c86f4e)
2020-05-21 07:29:43 -07:00
..
post.yaml Migrating legacy jobs 2017-10-19 10:15:06 +01:00
run.yaml [devstack][ci] Modify firewall in ds-plugin 2020-05-21 07:29:43 -07:00