646 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
Goutham Pacha Ravi
865aac4ace Update IRC references
OpenStack community is moving irc servers [1][2]
by 31st May 2021. Since we refer to freenode by name
in a couple of places, we can change those to point
to OFTC, the new hub.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-May/022718.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-May/022724.html

Change-Id: Ic54ab0c40deb5ac0c519f9e4e54298eee6284c32
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2021-05-27 09:58:46 -07:00
Zuul
faf44b54dc Merge "Updates CephFS drivers docs" 2021-04-28 11:46:16 +00:00
Victoria Martinez de la Cruz
992ec82575 Updates CephFS drivers docs
As part of our work on updating CephFS drivers
to use the ceph-mgr interface, the related docs
on the admin guide need to be updated

- Updates ceph caps for manila to include mgr caps,
remove mds caps, and constrain mon caps
- Add the new cephfs_filesystem_name param to the
config
- Add upgrade to Wallaby considerations (minimum Ceph
version required)

Partially-Implement: bp update-cephfs-drivers
Change-Id: I113639cc9989bbaf224d19969993870d30b81c29
2021-04-28 09:23:58 +00: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
Victoria Martinez de la Cruz
5c81264346 Add create share from snapshot in CephFS
Adds create share from snapshot functionality to
CephFS drivers.

Depends-On: https://review.opendev.org/c/openstack/manila-tempest-plugin/+/778188

Co-Authored-By: Victoria Martinez de la Cruz <victoria@redhat.com>
Co-Authored-By: Ramana Raja <rraja@redhat.com>
Co-Authored-By: Tom Barron <tpb@dyncloud.net>

DocImpact
Partially-Implements: blueprint create-share-from-snapshot-cephfs

Change-Id: I825ab15af934cb37dfda48ea26ec1af9de8dd293
2021-03-24 22:24:30 +00:00
Zuul
8523d323e7 Merge "Adding Zadara Manila driver" 2021-03-09 17:44:03 +00:00
Zuul
16232ce01a Merge "[doc] remove project_id from api endpoints" 2021-03-08 14:15:18 +00:00
haixin
3bedb15bbb Fixed some syntax errors
Change-Id: I298cf625c869394ca3582b9224a737d722567dec
2021-03-08 09:20:07 +08:00
Ratnakaram Rajesh
4705a7d520 Adding Zadara Manila driver
Implements: blueprint zadara-manila-driver

Change-Id: Iae0eaf8b37d5eecc352af6546fd0cfa4cadab497
2021-03-06 10:02:09 +02:00
haixin
74415f6d4a Adds support min/max share size limited by share_type
Allows set min/max share size that can be created in
extra_specs for each share_type.the share size will
be checked at API level as part of share create,
extend, shrink, migration_start. when manage share,
check it after get true size of share at manager layer.
new extra_specs keys are supported for set min/max
size of share.
'provisioning:max_share_size'
'provisioning:min_share_size'

Implements: blueprint share-size-limited-by-share-type
Change-Id: I5ce0fabf59bfca5ebaf0be5ffe9986e2b0480295
2021-03-06 14:30:58 +08:00
kpdev
3b0358a1bc Doc: Add profiler support documentation
The profiler integration with the shared file system service(Manila)
allows to trace commands issued using both manila-client and
openstack-client.

Note that osprofiler should be run from admin user name & tenant.

Closes-Bug: #1915116
Change-Id: Ic16bc3cb03b851003c189450b398f8dd5dde8160
2021-02-25 05:18:21 +01:00
Goutham Pacha Ravi
de29398128 [doc] remove project_id from api endpoints
As of API version 2.60, a project_id is no
longer needed in the API URLs.

Fix the docs to indicate that.

Also fix up a few quota parameters that use
project_id in a different place in the API path.

Change-Id: I24b32c8521805a7d67d512d36d644c0f07c532ea
Implements: bp remove-project-id-from-urls
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2021-02-09 21:59:07 -08:00
liviacavalcanti
be794fb168 Remove backend deprecated variables
MANILA_MULTI_BACKEND has been deprecated for five years now, we should remove
it from our code base.

This variable was removed from the settings scripts along with:
MANILA_BACKEND1_CONFIG_GROUP_NAME and MANILA_SHARE_BACKEND1_NAME;
MANILA_BACKEND2_CONFIG_GROUP_NAME and MANILA_SHARE_BACKEND2_NAME.
Because they work in the same context.

Instead of them, the already implemented and in use,
MANILA_ENABLED_BACKENDS variable was placed to garantee the successful
back-end setup. The same replacement was made in the contribution
samples scripts.

Apart from this, we avoid configuring generic1 and generic2 if
another backend/s are selected.

Closes-Bug: #1898791
Closes-Bug: #1878477

Change-Id: I67036a65da9255694a00a9c8d56cfdefbdf23c05
2021-01-27 10:14:42 +00: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
Tom Barron
dcdc1a98bb Update doc for manila-service-image download
It currently refers to the old openstack repository and as written
downloads redirect information rather than the image itself.

Add a '-L' argument to the ``curl`` command to handle redirects and
update the URL to use the opendev repository.

Related-bug: #1908838
Change-Id: I48509e5c9be41c04d00aa86efd4d657b067d9521
2021-01-21 20:00:59 +00:00
Zuul
084ed5cb46 Merge "Add developer reference to share server migration" 2021-01-21 00:00:12 +00:00
Zuul
78c6460e89 Merge "[Doc] Add admin doc for share group" 2021-01-20 19:12:30 +00:00
Zuul
8159232534 Merge "Update manila and Ceph matrix support doc" 2021-01-18 15:45:02 +00:00
Zuul
ebef6408c3 Merge "[goal] Deprecate the JSON formatted policy file" 2021-01-15 23:43:15 +00:00
Victoria Martinez de la Cruz
d7407afd55 Update manila and Ceph matrix support doc
Include Wallaby (master) support matrix and
some extra considerations to consider on manila
with cephfs backends.

Change-Id: Iad7cb229151b8dd707a59553cb6e966090d0eeae
2021-01-13 20:41:58 +00:00
zhongjun
3fa5cf4ed2 [Doc] Add admin doc for share group
Partial-Bug: #1659025
Change-Id: Ia0cc534e0bfb2ca5e495e575237e9911c746691b
2021-01-06 09:20:26 -03:00
silvacarloss
281b7dd1cd Add developer reference to share server migration
Updates the developer reference with informations regarding the
share server migration feature implemented during Victoria release.

Change-Id: Ia72cf037d2b7dc9fb9d4f19ce141cc044206d6fc
Partial-bug: #1897903
2021-01-06 08:47:25 -03:00
Zuul
249904842c Merge "Delete unavailable py2 package" 2020-12-29 01:03:36 +00:00
linpeiwen
bab899068c Delete unavailable py2 package
The openstack Ussuri and Victoria versions no longer support the
Centos7 and pyrhon2 environment packages. Correct the missing
problems in the latest document

Change-Id: If139927730071448abc04e1ea7ebb615749e7e3d
2020-12-16 01:11:41 +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
Zuul
10b3dc744f Merge "Updates to support in Ceph local.conf sample" 2020-12-10 21:30:07 +00:00
Tom Barron
8d1dcb1e0c Updates to support in Ceph local.conf sample
to make user devstack deployment a bit easier.

Since snapshot_support is now on by default for Ceph
backends, enable it in the default share type extra
specs.

Also specify the SHARE_DRIVER so the manila devstack
plugin doesn't think we're running the generic driver
and try to install kernel NFS and samba servers.

Change-Id: I636a047cacba7c5960df15a99fc79a35a818f45d
2020-12-10 15:44:08 -05:00
Tom Barron
c8087fa0a4 Docs: NFS-Ganesha and dbus
Added paragraph to the NFS-Ganesha docs with a brief
explanation of the role of ``dbus`` messaging when doing
dynamic updates of exports.  Key point is that ``dbus-send``
and NFS-Ganesha must be in the same namespace even if NFS-ganesha
runs in a container.

Close-bug: #1883961
Change-Id: I57b916b16d07a8373143f396b42ea34bf80330a6
2020-11-17 20:15:44 -05: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
Zuul
595c378b02 Merge "[DOC] Add admin and user documentation for share revert to snapshot" 2020-09-24 16:19:23 +00:00
debeltrami
c4617f4fff [DOC] Add admin and user documentation for share revert to snapshot
This patch adds the admin and user documentation for share revert to
the latest available snapshot.

Change-Id: Id35b99fdb47bb9de38f42034818fb4a29370bf36
Closes-Bug: #1657322
2020-09-24 15:40:14 +00:00
Goutham Pacha Ravi
22d6fe98a3 Fix capacity calculations in the CephFS driver
The driver inflated total and available capacity
due to an incorrect calculation. The driver was
also ignoring the configuration option
"reserved_share_percentage" that allows
deployers to set aside space from scheduling
to prevent oversubscription.

While this bugfix may have an upgrade impact,
some things must be clarified:
- Inflating the total, free space will allow
  manila to schedule workloads that may run
  out of space - this may cause end user
  downtime and frustration, because shares are
  created (empty subvolumes on ceph occupy no
  space) easily, but they could get throttled
  as they start to fill up.
- CephFS shares are always thinly provisioned
  but, the driver does not support oversubscription
  via manila. So, real free space is what
  determines capacity based scheduler decisions.
  Users however expect share sizes to be honored,
  and manila will allow provisioning as long
  as there is free space on the cluster. This
  means that Ceph cluster administrators
  must manage oversubscription outside of manila
  to prevent misbehavior.

Depends-On: Ic96b65d2caab788afca8bfc45575f3c05dc88008
Change-Id: I6ab157d6d099fe910ec1d90193783b55053ce8f6
Closes-Bug: #1890833
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-09-17 19:27:04 +00:00
Zuul
636f255546 Merge "Improve IPv6 documentation for access rules" 2020-09-10 17:44:36 +00:00
Douglas Viroel
56a6b39aa0 Improve IPv6 documentation for access rules
This patch improves the access rules API documentation
to include IPv6 information that was missing.
It includes a note on user guide and changes an access list
example to IPv6.

Change-Id: I5a9ff4e3c8a70cb0b14caa39f5f17740b17b719a
Closes-Bug: #1705045
Signed-off-by: Douglas Viroel <viroel@gmail.com>
2020-09-10 10:19:50 -03:00
Goutham Pacha Ravi
e0f51934a1 Update user doc index
We can link directly to the
API reference rather than including
a redirect page.

TrivialFix

Change-Id: I451f1e540f1678609b9d335d148de1b7ba98fb7b
2020-09-09 22:12:18 +00:00
Zuul
3cf2242fb6 Merge "Update "Create and manage shares" doc" 2020-09-09 02:07:24 +00:00
Goutham Pacha Ravi
bce5429d1a Update "Create and manage shares" doc
This is the basic user guide for manila:

- Update examples and outputs
- Add limits and metadata examples
- Add descriptions about common concepts
  including share type extra specifications
- Add contents for easy navigation

Change-Id: Idf374866a63e0da2c4af3157ac5f471af6173d5e
Closes-Bug: #1652375
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-09-08 23:58:01 +00:00
Zuul
90bf1cee86 Merge "Fix documentation for types and extra specs" 2020-08-21 22:58:30 +00: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
36a7ec422b Fix documentation for types and extra specs
Some content in the admin docs was incomplete,
and irrelevant to administrators.

Also add notes on a couple of missing common
capabilities:
- mount_snapshot_support
- availability_zones

Partial-Bug: #1816486
Change-Id: Ie55fd5bf80ca2ebacdb652c701aa9c213f758963
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-08-21 14:34:21 -07:00
debeltrami
dd770bd206 DOC: Update admin generic driver network-options immutable
This patch adds the behavior described in the bug #1713060
as known restriction in the generic driver.

Change-Id: Ic70fcd9f6cf159a960e0d75b4081c88af3d8973e
Closes-Bug: #1713060
2020-08-21 21:29:57 +00:00
Zuul
971b62932f Merge "Update docs for create share from snapshot in another back end" 2020-08-21 01:38:32 +00:00
Douglas Viroel
6b8f416e1b Update docs for create share from snapshot in another back end
This patch add some notes regarding the use of scheduler when
creating share from snapshot in another pool or backend.

Change-Id: I8d904cb3aab4d653178948284571f471bd59ac1b
Closes-Bug: #1878244
2020-08-20 21:15:13 -03:00
Zuul
4b756cd88d Merge "Update access rules documentation for user guide" 2020-08-21 00:13:53 +00:00