79 Commits

Author SHA1 Message Date
Zuul
1a39505039 Merge "Add Pure Storage FlashBlade driver" 2021-07-16 18:49:03 +00:00
Simon Dodsley
9eb37eca8b Add Pure Storage FlashBlade driver
Change-Id: I8de380bca1b55d4d0ee44a5e5d052a7dced467df
2021-06-25 23:38:10 -04:00
Zuul
d26351bc0c Merge "[doc] clean up compute client options" 2021-06-22 01:47:00 +00:00
Zuul
fca72a2d23 Merge "Remove deprecated config and auth" 2021-06-22 01:46:56 +00:00
Elod Illes
4bfea794d7 Fix PDF build
With newer sphinx the pdf build fails and gives the following error:

! Dimension too large.

This could be memory issue, that can be fixed by not generating the
sample_policy file as that can be large.

This patch also sets back the tox-docs job as voting.

Closes-Bug: #1918707
Change-Id: I4f22fe7b45394045f672d5bbd3b46c4e5e4b2fd3
2021-06-11 21:06:09 +02:00
Tom Barron
5af3b8e68b Remove deprecated config and auth
Remove manila configuration options
and auth classes that were deprecated
before the Ussuri release.

Change-Id: I148225926cd249a0dd8d1f8c02b22ed06487f405
2021-04-26 11:53:58 -04:00
Zuul
42b709e446 Merge "Adds missing caps for mgr in cephfs configuration" 2021-01-22 21:15:14 +00:00
Jose Castro Leon
ba3275e9ba Adds missing caps for mgr in cephfs configuration
Adds a missing cap to access mgr and be able to list subvolumegroups
and subvolumes in a cephfs volume

Change-Id: Ie9849ed875b996cf33aeb296f258ec84c8b720ef
Closes-Bug: #1907467
2021-01-22 20:07:13 +00:00
Ghanshyam Mann
0cc7cbc36d [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also convert manila/tests/policy.json to manila/tests/policy.yaml
using oslopolicy-convert-json-to-yaml tool and replace
policy.json to policy.yaml ref from doc and tests.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: I3748313912b2527c43c9b16a6ba3e3ccd4cf5221
2020-12-13 00:05:00 +00:00
Douglas Viroel
3ca9c7678e Add share server migration admin documentation
Partial-Bug: #1897903
Change-Id: Ia6dd260e6d2f9e2a7d9d381d345d952a3069f8c5
Signed-off-by: Douglas Viroel <viroel@gmail.com>
2020-10-08 09:43:09 -03:00
Tom Barron
d9d9fbcd77 [doc] clean up compute client options
Clean up some tables in our documention
that still mention obsolete, removed configuration
options.

When we fix https://bugs.launchpad.net/manila/+bug/1713062
fixes of this kind will no longer be required, since the
tables in question will (again) be auto-generated from our code.

Closes-bug: #1559265
Depends-on: https://review.opendev.org/#/c/745206/
Change-Id: I1b36f8d35162a3ac326ba24852d35dbae09c3aaa
2020-08-21 17:43:16 -04: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
e5f8763e8a Merge "Add documentation for share replica quotas" 2020-06-09 14:13:02 +00:00
silvacarloss
7bc4886a03 Add documentation for share replica quotas
Update documentation to fit into the new manila quota keys:
- `share_replicas`
- `replica_gigabytes`

Closes-Bug: #1881921
Change-Id: I91fa2222743da06557ceb52fcbae0f8928d0752c
2020-06-03 14:28:58 +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
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
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
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
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
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
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
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
3fec658712 Merge "Manila PowerMax - rebrand from VMAX to PowerMax" 2019-07-22 19:47:27 +00: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
0ae9c42b46 Merge "Manila VMAX docs - notification of removal of tags" 2019-06-06 10:16:18 +00:00
Helen Walsh
6afe12050d Manila VMAX docs - notification of removal of tags
Notification of the removal of deprecated tags
'emc_nas_server_container', 'emc_nas_pool_names' and
'emc_interface_ports' in the Train release.

Change-Id: I7a047da0fa7851ac6c9de6d2e6c546d69266dbff
2019-06-06 08:35:50 +00:00
Zuul
bd481249e6 Merge "Manila VMAX docs - clarify backend configurations" 2019-06-05 00:57:12 +00:00
Yong Huang
e71e805fce [Unity] Update doc for revert to snap support
Change-Id: I0114bfd3e050a7dd1110fba88075f22596cd571d
2019-04-24 16:17:48 -04:00
Helen Walsh
333d4ede94 Manila VMAX docs - clarify backend configurations
Clarify the difference between emc_share_backend and share_backend_name.

Change-Id: I3b4ecc7223205ad14bd8b47f12b4a4080f7be4b9
2019-03-28 14:58:58 +00:00
Lucian Petrut
1b83e92793 Document Windows SMB driver
The Windows SMB driver is currently undocumented. This change adds
a new page, describing the driver and helping deployers configure
it.

Change-Id: I089e6b1c92f8ef586779756ea61d5a8c4faa00e6
Closes-Bug: #1515594
2019-03-21 16:03:29 +02:00
Helen Walsh
9ab3b8e80b Manila VMAX docs - differences between quotas
Highlight the difference between nas_quotas and OpenStack manila
quotas.

Change-Id: I9eb2eb48b377c707191dc2f4e0a8a6f2dc606fe6
2019-03-14 10:40:11 +00:00
Helen Walsh
2528762a69 Manila VMAX docs - improve pre-configurations on VMAX section
Add storage pool and license configuration to the Pre-configurations
on VMAX section.

Change-Id: I9f598c6918455de7344d80d2663d9fd3a4cc3ed9
2019-03-12 16:38:42 +00:00
Helen Walsh
6bc9b90cab Manila VMAX docs - clarify snapshot support
As snapshot support is disabled by default, this clarifies how to enable
it for both create snapshot of share and create share from snapshot.

Change-Id: I40a7b8c72b8ce67689c6b9a769cdb3399a3c6242
2019-03-12 12:07:59 +00:00
Helen Walsh
9aac703672 Manila VMAX docs - clarify driver_handles_share_servers
Clarify that only driver_handles_share_servers = True is supported in
the VMAX manila driver.

Change-Id: Iac40b4d250a87d8c993ec2db5ad1d7e03eab189b
2019-03-11 17:28:12 +00:00
Helen Walsh
c8a0d1715f VMAX manila doc - SSL Support
Documenting the steps for setting up the Secure Socket Layer for
trusted communication between the manila host and the eNas Control
Station.

Change-Id: Ia2efb004125acea08d8bf72d99958c9a4f512dfd
2019-03-11 10:23:12 +00:00
Zuul
6b3650245e Merge "[Unity] Shrink share in Unity driver." 2019-02-15 23:12:00 +00:00
dingd
a6e1746a2f [Unity] Shrink share in Unity driver.
Change-Id: Iaa29088456e4dd46039511a2bf8bbf789ddd6e7f
2019-02-14 05:07:05 +00:00
Goutham Pacha Ravi
0f627aa6cf Deprecate [DEFAULT]/share_usage_size_audit_period
This option is unused and is likely going to confuse
deployers, especially when using the share usage size
tracking feature with a similarly named option
(share_usage_size_update_interval) [1].

We can remove this option in the Train release.

Closes-Bug: #1813054
[1] https://review.openstack.org/#/c/465055/

Change-Id: Id4585fa887e5bdfd5743dad2c490392ba0401061
2019-01-24 16:04:54 +00:00
Thomas Bechtold
5ce6f3843e Drop [DEFAULT]root_helper config option
The option is not used anywhere in the codebase. Manila uses "sudo"
together with "rootwrap".

Change-Id: If276a1bac32f5273c433805263d507e2fc3b2f26
2019-01-23 07:10:55 +01:00
Goutham Pacha Ravi
198bea78ac Deprecate old keystone session config opts
In the past, the options ca_certificates_file,
nova_ca_certificates_file, cinder_ca_certificates_file,
api_insecure, nova_api_insecure, cinder_api_insecure
were supplied to instantiate nova, neutron and cinder
clients. These options have now been subsumed in a more
generic way into the Keystone session logic as 'cafile'
and 'insecure'. Deprecate the older options in Stein so
that we can remove them in a future release.

This deprecation began many releases ago when we switched
to using keystone sessions [1]. However, we were still
overriding the values of "insecure" and "cafile" if provided,
forcing users to continue using deprecated parameters
"api_insecure" and "ca_certificates_file". So despite
this fix originating in the Stein release, it would be
prudent to backport it to all maintained releases and
remove support for these older options in/beyond Train
release (9.0.0).

[1] Ic211a11308a3295409467efd88bff413482ee58d
Change-Id: I148e9079c7c1ab119f519f727d4ad97758473325
Related-Bug: #1802393
Closes-Bug: #1809318
2018-12-20 17:29:40 -08:00
Zuul
0e82af6c51 Merge "VMAX manila doc - use of correct VMAX tags" 2018-11-27 17:06:11 +00:00