383 Commits

Author SHA1 Message Date
junboli
042f7173f9 Remove auto generated files and unnecessary .gitignore file
1. doc/source/_static will be auto generated when build docs and usually
   cause difference with the original one after doc building.
2. manila/doc/.gitignore file is unnecessary because manila/.gitignore
   already ignore the doc/build directory.
3. add git ignore of doc/source/_static in manila/.gitignore

Change-Id: Ibf13e08f0b0b57718d453ee3240d30124940b521
2017-09-12 12:29:24 +08:00
Jenkins
51ba7b8e24 Merge "Fix html_last_updated_fmt in conf.py" 2017-09-10 09:39:17 +00:00
junboli
ee66db5dc9 Fix html_last_updated_fmt in conf.py
1. remove duplicate html_last_updated_fmt in doc/source/conf.py
   the second one cause the new added one not take effect.
2. update html_last_updated_fmt in api-ref/source/conf.py
   use the recommended '%Y-%m-%d %H:%M' data time format.

Change-Id: Ib37b8a05c88667b34438186c55b6eb3f64b64960
2017-09-09 23:01:08 +08:00
Jenkins
4796e49560 Merge "Fix wrong links in manila" 2017-09-07 15:41:39 +00:00
yanghuichan
ad1fbc92b7 Fix wrong links in manila
Some docs links have changed.
We should update the wrong links in our codes.

Change-Id: Id45d9f96abad7c6b5163e45ed7f1b1c2608ef022
Signed-off-by: yanghuichan <yanghc@fiberhome.com>
2017-09-07 12:02:02 +08:00
Jenkins
f0a3063963 Merge "Fix a typo in share_migration.rst" 2017-09-07 03:52:07 +00:00
chao liu
231fd07871 Fix a typo in share_migration.rst
replace "adminstrator" with "administrator"

TrivialFix

Closes-Bug: #1715106
Change-Id: I7dff5cb605298e6d5979b17c928d11f2fe7f5759
2017-09-05 09:49:47 +00:00
Monty Taylor
c8fada0de0
Remove vestigate HUDSON_PUBLISH_DOCS reference
This isn't actually used and is a leftover from a thing we did
seven years ago that survives today through copy-pasta.

Change-Id: I80972fec4c20bfaff82ebee56d84aac6aa65ac29
2017-09-02 08:49:00 -05:00
Jenkins
9582169110 Merge "doc migration: update the doc link address" 2017-08-29 14:43:45 +00:00
junboli
dd82e8f28b doc migration: update the doc link address
Update the doc link brought by the doc migration.

Change-Id: I6000856c22dbc47a1349d061927a47405ba0d66c
2017-08-28 16:38:05 +08:00
junboli
aa9b9df84c Fix incorrect literal_block error when build docs
This causes failure when use build_sphinx to generate docs.
Fix it by replace the ini code block  with console.

Change-Id: Iaf15fc99fefceb58c765fabc947f99ad8225723b
Closes-bug: #1713291
2017-08-28 09:51:40 +08:00
Jenkins
c5c7845edb Merge "doc migration: configuration reference" 2017-08-25 17:05:07 +00:00
Jenkins
ff1dcca6d7 Merge "Fix man page build" 2017-08-25 16:41:17 +00:00
Tom Barron
fae499cb73 doc migration: configuration reference
In accord with the OpenStack documentation migration spec [1],
this patch pulls over material from the centralized Configuration
Reference so that it will not be lost.  As indicated in the spec,
dynamic generation of this material will be left for later work.

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Closes-Bug: #1706181
Depends-On: Ib0fca0c16e14c05307bfc31ae50c65271b7402f1
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454

Change-Id: I7f3b584ac9907da1f07dedd26324cf4703bc7e6c
2017-08-25 13:21:08 +00:00
Javier Pena
b962dc9584 Fix man page build
"python setup.py build_sphinx -b man" was failing after the new
directory layout introduced by https://review.openstack.org/491092.

Change-Id: I7aa904c0a3b043ce4c3aa25aba25486cec07d22a
2017-08-25 09:54:56 +02:00
Tom Barron
2c353bc331 doc migration: cli reference
In accord with the OpenStack documentation migration spec [1],
this patch pulls over material from the centralized CLI Reference
so that it will not be lost.

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Partial-Bug: #1706181
Needed-By: I7f3b584ac9907da1f07dedd26324cf4703bc7e6c
Depends-On: I04237021943bb7501acb9cfb7252be2cbf07ac4b
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454

Change-Id: Ib0fca0c16e14c05307bfc31ae50c65271b7402f1
2017-08-24 17:56:47 +00:00
Tom Barron
47e3adbbf7 doc migration: user-guide
In accord with the OpenStack documentation migration spec [1],
this patch pulls over material from the centralized User Guide
so that it will not be lost.

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Partial-Bug: #1706181
Needed-By: Ib0fca0c16e14c05307bfc31ae50c65271b7402f1
Depends-On: Ibe3588c3f4560c037cf109058fc357234e70a846
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454

Change-Id: I04237021943bb7501acb9cfb7252be2cbf07ac4b
2017-08-24 17:55:59 +00:00
Tom Barron
66194ce622 doc migration: install guide
There is little material on manila in the centralized Install
Guide to migrate as outlined in the migration spec [1], so copy
from our local install guide.  After we complete this migration,
we can remove the job that builds the local install guide and
remove it from the manila tree.

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Change-Id: Ibe3588c3f4560c037cf109058fc357234e70a846
Partial-Bug: #1706181
Needed-By: I04237021943bb7501acb9cfb7252be2cbf07ac4b
Depends-On: I7924d94b82e7c8d9716bad7a219fc38c57970773
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
2017-08-24 17:55:39 +00:00
Tom Barron
2be2160ddb doc migration: admin guide
Migrate the shared file systems documents from the
centralized Admin Guide as outlined in the migration
spec [1].

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Partial-Bug: #1706181
Needed-By: Ibe3588c3f4560c037cf109058fc357234e70a846
Depends-On: Ieea33262101a1d2459492c1c8aaac5fe042279f6
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454

Change-Id: I7924d94b82e7c8d9716bad7a219fc38c57970773
2017-08-24 09:16:52 -04:00
Tom Barron
90060722a9 doc migration: new directory layout
This patch introduces a new directory layout
in doc/source in conformance with the OpenStack
manuals project migration spec [1], moves the
existing content in manila/doc/source into the
new directories, and adjusts index files accordingly.

This is the first step in the migration process
as outlined in the spec.

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Partial-Bug: #1706181
Needed-By: I7924d94b82e7c8d9716bad7a219fc38c57970773
Depends-On: Ifc80fc56648cef74c85464321d1850e8c68449a0
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Change-Id: Ieea33262101a1d2459492c1c8aaac5fe042279f6
2017-08-24 09:16:25 -04:00
Tom Barron
8da4333c7f doc migration: openstackdocstheme completion
Finish the transition to the openstackdocs theme in accord
with the OpenStack manuals project migration spec [1].

Also remove the already broken autodoc build since
it generates warnings (which we treat as errors) with
the new theme setup.

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Partial-Bug: #1706181
Needed-By: Ieea33262101a1d2459492c1c8aaac5fe042279f6
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454

Change-Id: Ifc80fc56648cef74c85464321d1850e8c68449a0
2017-08-24 09:15:18 -04:00
Jenkins
6f3ce2ab22 Merge "Enable IPv6 in manila(documentation)" 2017-07-28 14:43:08 +00:00
zhongjun2
236b7ad2e5 Enable IPv6 in manila(documentation)
Please read spec for design detail [1].

Add documentation for IPv6.

[1] f7202a6cfe32a057f752a4e393f848f8a0211c36

Change-Id: I27aa8e6fa30b6fffca93b580ef8fd05187a33a26
Partial-Implements: blueprint support-ipv6-access
2017-07-28 01:40:55 +00:00
zhongjun
5ce0879e23 Add share usage size tracking in doc
Add share usage size tracking feature description
in driver_requirements doc.

DocImpact

Change-Id: Iaca1bb541a34af862b938e17e4a56d53de7a9cc5
Implement-Blueprint: share-usage-size
2017-07-26 12:32:24 +08:00
Jenkins
b360a2475c Merge "NetApp cDOT: Add support for QoS/throughput ceilings" 2017-07-24 13:22:40 +00:00
Goutham Pacha Ravi
10395c9aea NetApp cDOT: Add support for QoS/throughput ceilings
ONTAP supports assigning QoS policy groups to storage
objects and workloads. [1]

Expose this functionality through the ONTAP manila
drivers (DHSS=True/False, NFS, CIFS).

The drivers will set the capability "qos" to True if the
configured credentials have access to create qos policy
groups on the configured ONTAP backend. When 'qos'
extra-spec is set in share types, scoped extra-specs can
be used to specify QoS ceiling values in iops or bps.

The drivers support the following QoS specs:
'netapp:maxiops', 'netapp:maxiopspergib', 'netapp:maxbps',
'netapp:maxbpspergib'. Policies are created on-demand
and manipulated as and when shares are manipulated
through manila.

[1] http://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.pow-perf-mon%2FGUID-38357C43-FB36-419D-B31F-6FD75B47254D.html

Implements: blueprint netapp-cdot-qos
Change-Id: I6f82c012ea60cfb1e9f82a696e2346ee95c60df3
2017-07-23 16:44:08 -04:00
Jenkins
0ebb762c0c Merge "Update the documentation link for doc migration" 2017-07-17 15:58:25 +00:00
chenxing
082159cc54 Update the documentation link for doc migration
Change-Id: I0b4e59c9e2ad0375cdb6aae5369a7b43978c3d69
2017-07-14 07:27:16 +00:00
Alex Meade
dd630c3929 User Messages
For quite some time, OpenStack services have wanted to be able to send
messages to API end users (by user I do not mean the operator, but the
user that is interacting with the client).

This patch implements basic user messages with the following APIs.
GET /messages
GET /messages/<message_id>
DELETE /messages/<message_id>

Implements the basic /messages resource and tempest tests
The patch is aligned with related cinder patch where possible:
I8a635a07ed6ff93ccb71df8c404c927d1ecef005

DocImpact
APIImpact

Needed-By: I5ffb840a271c518f62ee1accfd8e20a97f45594d
Needed-By: I9ce096eebda3249687268e361b7141dea4032b57
Needed-By: Ic7d25a144905a39c56ababe8bd666b01bc0d0aef

Partially-implements: blueprint user-messages
Co-Authored-By: Jan Provaznik <jprovazn@redhat.com>
Change-Id: Ia0cc524e0bfb2ca5e495e575e17e9911c746690b
2017-07-13 13:05:57 +02:00
Thomas Bechtold
f0f78b84c7 Allow docs build without git
When build packages from sdist tarballs, git is not available. So
allow building the documentation without git.

Change-Id: I2e65c7eb6da2f87d97b8eae9fb7411de66416739
2017-07-11 13:55:19 +02:00
luqitao
2a6d9fa832 Add support for Guru Meditation Reports for manila
Oslo_reports enables OpenStack projects to dump Guru Meditation
Reports with useful debugging information to files or stderr.
By default it will genarate report to stdout stream.
To configure GMR you have to add the following section
to manila.conf:

[oslo_reports]
log_dir = '/path/to/logs/dir'

Implements: blueprint guru-meditation-report

Change-Id: Ia730d56374764231e5ec88f0b71ff8e23361fa6a
2017-06-22 23:27:04 -04:00
Ramana Raja
9de31168d3 cephfs/driver: add nfs protocol support
Add a NFS protocol helper class that can modify exports of a Ganesha
server based on share access rule changes. This allows the manila
guests to access shares in CephFS backend using NFS protocol through
NFS-Ganesha gateways.

And while adding the driver's helper class that subclasses Ganesha
library's GaneshaNASHelper2 identified minor issues in the
Ganesha library. Fix the issues by:

* escaping special character '=' in values of Ganesha conf's string
  options, except for option CLIENTS, by enclosing the values with
  double quotes.

* add a new callback interface to GaneshaNASHelper class to
  allow driver's to perform Ganesha FSAL specific cleanup.

Partially-implements: bp cephfs-nfs-support
Depends-On: I5234bae0595efdcd30305a32bf9c121072a3625e
Change-Id: I9709d94cdb6f8d3e92b8dfc91b2ec4e154a8ec20
2017-06-19 15:38:38 +05:30
Jenkins
385d832490 Merge "[Docs] Correct glusterfs references" 2017-06-14 12:32:43 +00:00
Jenkins
403aafacb6 Merge "Change example value in docs for CephFS snapshots" 2017-06-13 15:59:53 +00:00
Dustin Schoenbrun
9c4261557a Change example value in docs for CephFS snapshots
The documentation for the CephFS Native Manila driver would
show the configuration stanza with the
"cephfs_snapshot_support" option set to "true". The snapshot
support in CephFS is experimental and comes with a list of
caveats, so this patch changes the value shown in the example
to be "false" as well as adds a warning after the command to
enable snapshots in the doc explaining the risks involved with
CephFS snapshots.

Change-Id: I4f2c7ebf213c85abd25da078e3dd4999c5e7333d
2017-06-13 10:39:40 -04:00
Tom Barron
de44a8175d [Docs] Correct glusterfs references
glusterfs is an open source community supported distributed
filesystem so remove references to *Red Hat* GlusterFS since
that phrase gives the impression that the glusterfs drivers
are scoped only to the Red Hat Gluster Storage product.

TrivialFix

Change-Id: I373cbc75700cf0d8cc252500ebb7af0b0893497b
2017-06-13 12:22:54 +00:00
Ramana Raja
a8e522961c ganesha: dynamically update access of share
You can dynamically update access lists of exports with Ganesha
version >= 2.4. Make ganesha library use this feature in a new helper
class, GaneshaNASHelper2, to cleanly implement share access rules
changes without undesired interruptions.

When updating a share's access rules, the new helper class differs
from the older GaneshaNASHelper class as follows:
* Looks for an existing export and edits its client access list;
  creates a new export if it can't find one; and removes an export if
  the access list ends up empty. Rather than awkwardly create or
  remove an export per addition or removal of an access rule.
* Issues DBUS UpdateAccess command to dynamically update an export.

Implements: bp ganesha-dynamic-update-export

Co-Authored-By: Csaba Henk <chenk@redhat.com>

Change-Id: I01ec100c0afe28a84e9afa8e0660d299e4b3d160
2017-06-05 22:36:15 +05:30
Ngo Quoc Cuong
ea252c4341 Fix typos in document
TrivialFix

Change-Id: I1feabe6d29aa84c2320fca85b243eea2ce01084d
2017-05-08 09:17:22 +00:00
Yuval Brik
65f4a1c564 devstack: clone Manila client only if marked to
Currently, Manila's devstack plugin clone manilaclient. Some projects
depend on Manila but would like to install packaged manilaclient.
Clone the manilaclient only if it was marked to be used from git

Change-Id: Ia8e726b9358f6901c172a31f638a59eba523e0fa
Depends-On: I94d2f143159b60c4f8693e35fe844bc1e411e580
2017-05-03 11:21:01 +03:00
Ramana Raja
23075e6c0b Refactor and rename CephFSNativeDriver
Refactor CephFSNativeDriver as a driver class using protocol helper
classes. The helper classes would handle protocol specific driver
actions such as controlling access and fetching share's export
locations. For now, the driver uses a protocol helper to support
CephFS's native protocol. The driver can be made to support other
NAS protocols later on by adding protocol helper classes.

Since the driver would not just support the native protocol
rename the driver's file name and its driver class as
`driver` and `CephFSDriver` respectively. The driver would by
default support the native protocol, and can be referred to
by its previous class name and module name.

DocImpact

Partially-impelements: blueprint cephfs-nfs-support

Change-Id: I8a33be1df4864131435b794e791cc2d651fbe741
2017-04-18 10:45:25 +05:30
Jenkins
eaa22371cb Merge "Fix dedup/compression description in doc" 2017-04-07 19:31:14 +00:00
Davanum Srinivas
3cc7fa6485 Fix docs failures caused by latest eventlet
Change-Id: I3aed40314d3df86716991d9815ead910bd5dceee
Closes-bug: #1674687
2017-03-21 13:29:12 -04:00
Tom Barron
66a6505d79 remove hacking rule that enforces log translation
Log translation is no longer being done [1] [2] so there
is no point in enforcing it going forwards.

Remove the hacking enforcement so that new commits need
not include this unused feature and so that we can remove
this unused il8n markup in existing code.

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-March/thread.html#113365
[2] https://review.openstack.org/#/c/446762/

Change-Id: I31f35b0597e161a1654467f5a0a2348789292d83
2017-03-17 05:54:03 -04:00
Tom Barron
24a650d0be docs: fix build failure on html_last_updated_fmt
Set this option using the expected type.

Change-Id: Icfece0f2252ea724f7ed7c84e7c17ecbf00d61a6
Closes-Bug: #1673720
2017-03-17 05:53:37 -04:00
Tom Barron
58bd5b0179 Unblock gate failure on docs build
Our form of todo extension does not work with sphinx 1.5.2.

Remove it to unblock gate: we can add todos back in later with
more current methods.  Also clean up some dangling cross-references
in the doc.

Co-Authored-By: Valeriy Ponomaryov <vponomaryov@mirantis.com>
Change-Id: If74b9e32ad2b5d8d70da60895d85588ff993797e
2017-03-03 18:21:45 +02:00
Jenkins
65a6a09c44 Merge "Use https instead of http for git.openstack.org" 2017-02-26 06:23:03 +00:00
melissaml
5ddbc047e7 Use https instead of http for git.openstack.org
Change-Id: I4ec2501d64103a430fdf4eaaf9044c4ff6b92682
2017-02-21 17:20:14 +08:00
Jenkins
2e87ac9e82 Merge "doc: verify all rst files" 2017-02-16 21:34:19 +00:00
Jenkins
803db7110e Merge "Adds manila-manage 'db purge' command to man page" 2017-02-16 11:52:18 +00:00
Danny Al-Gaaf
a8ec3317be doc: verify all rst files
Make use of doc8 to verify all rst files which are not
autogenerated for errors and fail if there are any issues
found. The doc8 checks are now part of the tox 'docs'
environment and ran automatically. Checks can also be called
direcly via 'tox -e docs'.

Fix all issues found by doc8.

Closes-Bug: #1664841

Change-Id: I9215524d35646de7485504e4c5ff86fd91a1d09f
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2017-02-15 07:07:42 +01:00