Commit Graph

599 Commits

Author SHA1 Message Date
Zuul
3fe0b8e835 Merge "[Unity] Implements default filter function" 2020-05-20 20:21:50 +00:00
Zuul
8530f07406 Merge "[devstack][ci] Modify firewall in ds-plugin" 2020-05-01 11:14:05 +00:00
Yong Huang
a5adb0bd11 [Unity] Implements default filter function
Implements the default filter function for Unity driver, if the
share size is smaller than 3GB, will not schedule the share
creation to Unity backend.

Change-Id: Iebb5063d4e1c4c2f5ddce0d5000b7d51dcb0605b
Closes-bug: #1652379
2020-04-30 14:58:39 +08: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
45b64631ee [doc] Fix tempest doc
The doc currently refers to an in-tree directory
that we used to have in the distant past.

Also link to config.py and the share backend feature
support matrix where appropriate.

Change-Id: Ic22eba0cedb7c6c7c89ef129a8c6a007d97c7e3b
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-04-27 13:05:49 -07:00
Goutham Pacha Ravi
72a8d19969 Trivial fix: Add spec website link to contributor doc
Change-Id: I3f9d78b6492f0d1bd8d0f9daa052e130098b84ec
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-04-24 18:27:28 -07:00
Goutham Pacha Ravi
cf83f96200 [cycle-goals] Add PTL and contributor quickstart
These documents borrow from the cinder, nova and
ironic guides put together painstakingly by
numerous developers.

Change-Id: Ida3480fd1b9cab8eeb9ad002cce7200d89e01cb6
Story: #2007236
Task: #38535
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-04-18 22:29:50 +00:00
silvacarloss
2a4a63effe Fix docs duplicated autoclass definition
Fixed an issue in the contributor reference. The share replicas
documentation has two references to the same driver interface and
it caused a problem while generating docs, since none of them was
tagged with ``:noindex:``.

Change-Id: I9db0f2c07a8178895490fbcab9bfd9dcd2ccf823
Closes-Bug: #1872479
2020-04-13 16:10:04 +00:00
Zuul
64af75d72a Merge "[Unity] Manage/unmanage share server/share/snap" 2020-04-09 05:32:21 +00:00
dingd
252a7e8118 [Unity] Manage/unmanage share server/share/snap
1. Try parse share_backend_id from export path in case
it is managed share.

2. Try to take snapshot id from 'provider_location' in case
this is managed snapshot

3. Try to get share server name from property 'identifier'
first in case this is managed share server

4. Add property 'provider_location' when creating snapshot

Implements: blueprint emc-unity-manage-unmange

Change-Id: I676475d0500ecce31a1a863926accec8585ac83a
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-04-08 16:02:12 -07:00
Andreas Jaeger
a4d4159820 Cleanup Python 2.7 support
OpenStack is dropping the py2.7 support in ussuri cycle.

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 section from setup.cfg: Wheel is not needed for python
  3 only repo
- Update requirements

Change-Id: Ibca03f9ebaeaca595e027be9cb5900c368c8de6d
2020-03-27 16:55:52 +01:00
Goutham Pacha Ravi
6f79bb6c89 Fix URLs in code and documentation
TrivialFix

Change-Id: I21863f7fdad2bdd5dee226a3f6872d25b1c4f8ad
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-03-18 18:59:27 -07:00
Andreas Jaeger
0aafb1c46f Cleanup docs building
* Remove doc/source/install/conf.py, it's not used
* Update openstackdocstheme version and remove settings that are now the
  default.
* Use docs dependencies for api-ref building.

Change-Id: If37ed5bdbf6a1ef3107e66073eca9917704edee2
2020-02-23 14:16:10 +01:00
Pierre Riteau
bf15efe318 Update devstack repository URL
Change-Id: I20e420e4f76ed5522a5fdbe939ad3109be29a9fd
2020-02-19 10:24:02 +01:00
Mohammed Naser
e224b83d7e Use StrOpt for instance type
The instance type ID can be a string for quite sometime (such as
a UUID by default).

Change-Id: Iad9f742c1dd2dfc9b99f0756123af0cf51389c55
2020-02-04 10:57:39 +01:00
liushuobj
7874ea9887 fix a typo
Change-Id: I595446580a171d38a4612e6849d0c16ae9fe5efd
2019-12-27 17:16:53 +08:00
Goutham Pacha Ravi
cb95b6f6f5 [ussuri][goal] Drop python2.7 support
As per the official python support timeline
set forth by the OpenStack TC [1][2], OpenStack
Train (in our case, manila 9.x) is the last
release that will support python2.7.

[1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I5b4dc1853d7e4f8f736dd2a22eb08bcfdeac3411
2019-12-08 19:32:52 -08:00
Zuul
99d10c72b1 Merge "[Unity] Sync Unity related Docs" 2019-10-12 02:42:07 +00:00
dingd
c9d8506f80 [Unity] Sync Unity related Docs
1. Add DHSS=False mode support
2. Update emc_unity_driver.rst and dell-emc-unity-driver.rst
to almost same, easy for update doc change in the future

Change-Id: If2ca14772e9083866f619e3f2c364fb530775eac
Closes-bug: #1657605
2019-10-11 02:02:16 +00:00
Zuul
2cfc0b0f0c Merge "[Infortrend] Add Infortrend Manila Doc" 2019-09-27 21:00:02 +00:00
Zuul
77ecab5f36 Merge "Remove support for `data_node_access_ip`" 2019-09-13 16:40:15 +00:00
Thomas Bechtold
ac97bdbcd8 Add manila-status to man-pages list
manila-status was missing in the list of man-pages. So when building the
man-pages with:

    sphinx-build -b man doc/source doc/build/man

there is no "manila-status" in doc/build/man.

Change-Id: Ia2065af8d0ab51a0248d53b3474845ab429803d1
2019-09-12 15:30:50 +02:00
Zuul
89383d9bfa Merge "[Unity] Driver supports the mode that does not create and destory share servers (DHSS=False)" 2019-09-11 02:14:53 +00:00
Goutham Pacha Ravi
9551623c22 Remove support for `data_node_access_ip`
It was deprecated in the Queens release, in
favor of ``data_node_access_ips``.

Change-Id: I01f24c2e0d66e1da4c30c579c02afc8f3930c8f8
Related-Bug: #1745436
2019-09-09 14:45:30 +00:00
dingd
8d26a34cd1 [Unity] Driver supports the mode that does not create and destory share servers (DHSS=False)
Support 'driver_handles_share_servers = False' in manila.conf.
In such mode, need set unity_share_server in manila.conf, driver
will use this NAS server for share creation.

Change-Id: Iebc30d289fdb9f250e4951257313d630faa8bdf7
2019-09-05 04:01:33 +00:00
Zuul
f1e10ec2ff Merge "[Nexenta] Refactored NexentaStor5 NFS driver" 2019-09-04 13:24:37 +00:00
Andreas Jaeger
cef3bee057 Change PDF file name
The previously choosen PDF file name conflicts in some repos with the
project logos (badge). Thus change https://review.opendev.org/679777
renames the desired PDF name to be doc-PROJECT.pdf to allow using the
badge in PDF files.

Follow this rename.

Change-Id: I98d52f3b259cfffeb0e8ec996279ad4ff782276d
2019-09-04 06:46:25 +02:00
Alexey Khodos
361b15da21 [Nexenta] Refactored NexentaStor5 NFS driver
- Support for storage pool failover
- Implemented NEF objects interfaces in jsonrpc
- Manage existing support.
- Revert to snapshot support.

Implements: blueprint refactored-nexentastor5-nfs-driver

Closes-Bug: #1619457

Change-Id: I6f7483c35ac0af644a77b18a449480367a8c100c
2019-08-29 10:42:50 -07:00
Thomas Bechtold
b1713e6255 Add PDF documentation build
This commit adds a new tox target to build PDF documentation.
It's a community goal[0] to have PDF docs available.

Also some minor fixes are needed for PDF:
- Only show genindex and search for HTML. Theses elements do not make
sense within PDF documents
- Do not include full config sample files. This will not work and
produces a "Dimension too large" error during the latex run.

[0]
https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html

Change-Id: I66b8c47d599c97e66c2ca76faa66204d5e7c9c3b
2019-08-27 14:40:04 +02:00
Kuirong.Chen
8c7c9e4012 [Infortrend] Add Infortrend Manila Doc
This patch updates the Manila administrator reference adding
documentation to the recently introduced Infortrend driver.

Closes-Bug: #1839486

Change-Id: I3332f90bc84fbc8918277d23ab7c51ede16376f2
2019-08-26 10:49:03 +08:00
Zuul
7a3fb6b325 Merge "Remove support for "lvm_share_export_ip"" 2019-08-22 11:13:03 +00:00
ericxiett
8688a1988c Fix subsections for container driver.
Change-Id: I11f4098de2331ff739734a3fc25016b6c066d142
2019-08-21 16:18:25 +08:00
Woohyung Han
b917fabf14 Add extend/shrink feature for glusterfs directory layout
- Implements extend/shrink feature for glusterfs directory layout backend
- Update share_back_ends_feature_support_mapping.rst
- Add a release note

Depends-On: https://review.opendev.org/#/c/673771/
Change-Id: I37b315ec61e81e8ce6f4b72bc03e887cc145464d
Implements: bp glusterfs-direcotry-layout-extend-shrink-share
2019-08-15 06:34:44 +00:00
Zuul
7273bfb534 Merge "Add Infortrend Manila Driver" 2019-08-08 14:04:35 +00:00
ericxiett
0f4997d0ee Fix incorrect 'cephfnfs1' to 'cephfsnfs1'
Change-Id: Icdd7eafac412982e5770f9a8a7b7d57c91ad6cea
2019-08-08 09:30:08 +08:00
ericxiett
9603287c10 Add missing space
The first half of the Key concept 'Security Services' display
 format is incorrect because a space is missing. This commit
Adds one space.

Change-Id: Idfdf9380031cba39bc27da799167ade81ae0dc8e
2019-08-05 15:41:13 +08:00
Kuirong.Chen
266972ab91 Add Infortrend Manila Driver
This driver supports NFS and CIFS shares.

The following operations are supported:
 - Create a share.
 - Delete a share.
 - Allow share access.
 - Deny share access.
 - Manage a share.
 - Unmanage a share.
 - Extend a share.
 - Shrink a share.

DocImpact
Implements: blueprint infortrend-support-manila-driver

Change-Id: Ib1adbd8f7f55805387b126851dbb0ff50cfbcd75
2019-08-02 17:58:16 +08:00
zhangbailin
25506de0e4 Add manila-ui config instructions
In Devstack, even though horizon and manila plugins are enabled, if the
manila ui plugin is not explicitly enabled it won't show up.

This change adds config instructions in the readme and in the manila
contributor docs to enable Manila UI when deploying with Devstack.

Change-Id: I421db5b8ed56fecc90ac7e6d32078d443a3eaa2e
2019-07-31 18:31:22 +08:00
Goutham Pacha Ravi
8e1343c9cd Remove support for "lvm_share_export_ip"
The LVM driver accepts a "lvm_share_export_ips"
option instead of "lvm_share_export_ip" since
the Pike release [1]. Let's drop support for this
option and cleanup compatibility code.

[1] Ib3594aa5d7751c829820fce830d87f6ceea6b049

Change-Id: Ifdeb470438c204cc6cc370517833cb2cab5b7822
2019-07-30 16:57:35 -07:00
Zuul
cec13b8057 Merge "add IPv6 support for CephFS/NFS back end" 2019-07-25 18:59:20 +00:00
Tom Barron
9be39cbef2 add IPv6 support for CephFS/NFS back end
Change-Id: Id2b4edfa02521f9c9d9c27635e9f4945af79a0b7
2019-07-22 17:13:13 -04:00
Zuul
3fec658712 Merge "Manila PowerMax - rebrand from VMAX to PowerMax" 2019-07-22 19:47:27 +00:00
Andreas Jaeger
7916986e64 Update api-ref location
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that the location API location /shared-file-system and not
/shared-file-systems.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: I86f50af83be699fa7e0fb064abb20324e2d87b86
2019-07-22 19:15:50 +02:00
Helen Walsh
6995b9f975 Manila PowerMax - rebrand from VMAX to PowerMax
Rebrand from VMAX to PowerMax includes change tags, directory structure,
file names and documentation.

Implements: blueprint powermax-rebrand-manila

Change-Id: Ie9ba5939b223d7061a3b2707ee9ef899f1fe7f66
2019-07-19 12:19:30 +01:00
Zuul
9e96b8823f Merge "Manila share driver for Inspur InStorage series." 2019-07-02 11:32:42 +00:00
pengyuesheng
5c1f27f69f Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

This will show other versions of the doc, too.

Change-Id: I2f8e4fec3aa48b91d6ab636504ecc90553a4b802
2019-07-01 15:30:47 +08:00
Zuul
8a1b465ea8 Merge "Adding documentation for User Messages in Manila Documentation" 2019-06-26 12:33:16 +00:00
Zuul
8fa8bad8cf Merge "Add admin ref for manage/unmanage servers DHSS=True" 2019-06-25 22:21:25 +00:00
wang yong
54d855877b Manila share driver for Inspur InStorage series.
Features that Inspur InStorage driver support:
share create/delete.
extend share size.
update_access.
protocol: NFS/CIFS.
ThirdPartySystem: INSPUR CI

Change-Id: I931902901668c295fb12523bf3d414a897c36275
Implements: Blueprint inspur-instorage-manila-driver
2019-06-25 14:31:21 +08:00