266 Commits

Author SHA1 Message Date
Jenkins
4a9a07ea9f Merge "cephfs_native: add read-only share support" 2016-08-12 05:58:51 +00:00
Jenkins
d96ce2aa08 Merge "HPE3PAR make share from snapshot writable" 2016-08-11 22:55:03 +00:00
Ramana Raja
0f596c55df cephfs_native: add read-only share support
Add read-only share support for cephfs_native driver
using CephFSVolumeClient's enhanced authorize() interface.
Ensure backwards compatibility with older version of
CephFSVolumeClient by checking it's version attribute, or
lack thereof.

The support for read-only authorize() was added in
CephFSVolumeClient with the following commits in Ceph:

Master branch:
https://github.com/ceph/ceph/commit/011ea5e7fb35ee0

Jewel branch:
https://github.com/ceph/ceph/commit/2cd3ed8a59786be

Change-Id: I29eb45104c04da1706c3978441babe9c4a52ca02
DocImpact
Partially-Implements: bp cephfs-native-driver-enhancements
2016-08-11 14:58:47 +05:30
Jenkins
bbe36a9ec1 Merge "Add support for CIFS shares in HNAS driver" 2016-08-10 03:30:51 +00:00
Alyson Rosa
dfb9e587b1 Add support for CIFS shares in HNAS driver
Updating Manila Hitachi HNAS driver to support shares using CIFS protocol.
It accepts 'user' as access type and both rw and ro as access level.

Change-Id: I18fd5afcea6f91d870bbfc256c71a92aad014c91
Implements: blueprint hnas-driver-cifs-support
2016-08-09 10:11:30 -03:00
mark.sturdevant
18e3fcda0e HPE3PAR make share from snapshot writable
Use share mounting and copying to allow the
3PAR to export writable shares created from
snapshots. This version works without the
data service driver data helper.

Implements: blueprint hpe3par-rw-snapshot-shares
Change-Id: I6a15db0dea09e72e9d1de3c817852e5165eec956
2016-08-02 16:53:27 -07:00
Jenkins
56c0d2eb19 Merge "Huawei: Support reporting disk type of pool" 2016-07-31 03:27:16 +00:00
Jay Xu
86383ff900 Add EMC Unity Driver for Manila
EMC Unity arrays are capable of support manila.
Add a new Unity plugin in manila which allows user to create NFS/CIFS
share with a Unity backend.

The plugin should support following APIs:

* connect: Connect to the Unity Storage.
* check_for_setup_error: No implementation.
* create_share: Create a share and export it based on the protocol used
  (NFS or CIFS).
* create_share_from_snapshot: Create a share from a snapshot - clone a
  snapshot.
* delete_share: Delete a share.
* extend_share: Extend the maximum size of a share.
* create_snapshot: Create a snapshot for the specified share.
* delete_snapshot: Delete the snapshot of the share.
* allow_access: Allow access of a user/host to a share.
* deny_access: Remove the access of a user/host to the share.
* ensure_share: Check whether share exists or not.
* update_share_stats: Retrieve share related statistics from Unity.
* get_network_allocatins_number: Returns number of network allocations
  for creating VIFs.
* setup_server: Set up and configures share server with given network
  parameters.
* teardown_server: Tear down the share server.

DocImpact
Co-Authored-By: Cedric Zhuang <cedric.zhuang@emc.com>
Change-Id: Ic520539341fa19ec5c6c6b85c3c1dcecf70e5141
Implements: blueprint emc-unity-manila-support
2016-07-28 23:13:29 -07:00
Jenkins
20adb836c3 Merge "Add interface port configuration in EMC VNX driver" 2016-07-27 20:51:37 +00:00
Valeriy Ponomaryov
d953baefcb [ZFSonLinux] Add 'manage snapshot' feature support
Implement 'manage snapshot' feature in ZFSonLinux share driver.

Prerequisites:
- snapshot being managed should exist.

Details:
- snapshot being managed will be renamed by share driver based on
  taken ID.
- size for managed snapshot will be taken either from
  REST API (--driver_options size=5) or
  from its "used" attribute.

Implements BP zfsonlinux-manage-snapshot
DocImpact

Change-Id: If240ecde5676c334d39faaccd5703e93544aaa06
Depends-On: Ifc762a882a78159adacfe168a4edbe824178301a
2016-07-27 10:51:31 +03:00
Jenkins
9928ba0190 Merge "Fix devref README and remove Makefile" 2016-07-26 21:07:10 +00:00
Jenkins
71a720e466 Merge "[ZFSonLinux] Add 'manage share' feature support" 2016-07-26 20:08:29 +00:00
Jenkins
4e9f52022f Merge "Add share manage/unmanage of Oracle ZFSSA driver" 2016-07-26 18:11:19 +00:00
Goutham Pacha Ravi
d0e31ca6e1 Fix devref README and remove Makefile
The tox/Sphinx job does not use this makefile and
the README refers to some unrelated/cookiecutter
information.

TrivialFix

Change-Id: Ic9dc7818dd5f0e2a6d2f691046f6c1fb30cf0cd0
Co-Authored-By: Sean McGinnis <sean_mcginnis@dell.com>
2016-07-25 02:21:10 +00:00
liuke2
fed9412f13 Huawei: Support reporting disk type of pool
Adding support for reporting disk type of pool in huawei manila
driver. When creating share we can specify the disk type of the
pool we want to use ssd/sas/nl_sas/mix, manila driver will report
the disk type of the pools.

Implements: blueprint huawei-pool-disktype-support
Change-Id: I1f694e8c93f79851f838d226830d9ab5344cf35a
2016-07-22 01:47:14 +00:00
Jenkins
ea307ccb49 Merge "Huawei: Add share sectorsize config in Huawei driver" 2016-07-21 12:23:52 +00:00
Marc Koderer
829052d6dd Add tox job for db revision creation
Trivial-Fix

Change-Id: Ie87b84ddd546149ca5d9eaf2179c514071c75695
2016-07-15 05:06:25 +00:00
Tina Tang
55b04441ab Add interface port configuration in EMC VNX driver
Add a new list option 'emc_interface_ports' to configure the network
devices that can be used by share servers. And refined managed pools
selection method to use a new utility method.

DocImpact
Change-Id: Id44ca5e3e64b5a540c91119698e5191366cabfc5
Closes-Bug: #1600117
2016-07-14 09:27:15 +00:00
liucheng
96795787ae Huawei: Add share sectorsize config in Huawei driver
Data in the file system consists of fixed-length disk blocks.
The size of the blocks (also known as file system sector size)
affects disk space usage and performance.
The value of blocks can be 4 KB, 8 KB, 16 KB, 32 KB, or 64 KB.

Change-Id: I95a9aa7e071c470c21dc0fa009ba96a7c7439ce6
Implements: blueprint huawei-driver-block-size-config
2016-07-13 12:56:19 +08:00
Diem Tran
b0437670f2 Add share manage/unmanage of Oracle ZFSSA driver
- Manage share: ask Manila to take control of an existing ZFSSA share
not managed by Manila driver. Current share size will be rounded up
to the nearest whole GB value.
- Unmanage share: ask Manila to release control of a ZFSSA share
managed by the driver.

Change-Id: I0d4a46211dfd15cb7a261eddfa8c14be26adcfc3
Implements: blueprint oracle-zfssa-share-manage
2016-07-05 15:58:18 -04:00
Valeriy Ponomaryov
f284db4e07 [ZFSonLinux] Add 'manage share' feature support
Implement 'manage share' feature in ZFSonLinux share driver.

Prerequisites:
- share being managed should exist.
- share being managed should not be part of any replication relations.
- share being managed should not have redefined mountpoint.

Details:
- share being managed will be renamed by share driver based on taken ID.
- share being managed will get "quota" attribute set based on provided
  value in API (--driver_options size=5) or it will set quota
  to nearest bigger rounded integer of already
  used space (2,4 -> 3, 3.6 -> 4).

Implements blueprint zfsonlinux-manage-share
DocImpact

Change-Id: I03eab5e02835fe660dde0020601c02c0136bddeb
2016-07-04 13:26:57 +03:00
Jenkins
1e24c27317 Merge "Manage / unmanage snapshot in NetApp cDOT drivers" 2016-07-01 01:40:17 +00:00
Clinton Knight
4bac8b64e0 Manage / unmanage snapshot in NetApp cDOT drivers
With snapshot manage / unmanage in Manila core, we can
support that in the NetApp single-SVM driver.

Implements: blueprint netapp-cdot-snapshot-manage-unmanage
Change-Id: I7c6c005fb3fd8613da9e9ac04b9dd832781e35ca
2016-06-30 16:25:14 +00:00
Deepika Gupta
58d4d926df Fixed a spelling mistake of "seperate" to "separate"
Change-Id: Ib194c67963d7e6a5d42f4f3aab46761e8e1161c3
2016-06-29 11:52:35 -07:00
Valeriy Ponomaryov
797bbcb303 [Tempest] Add valuable tags to tests
To be able to run tests based on following criteria:
- Only API is required and tested.
- API and share back-end required, API is tested.
- API and share back-end required, back-end is tested

Also, add doc with detailed description of running subset of tests.

Change-Id: I9ae105eaa527621c85d5038bba15edf4b065eaa3
Closes-Bug: #1587874
2016-06-08 11:25:32 +03:00
Jenkins
ba8d9ef692 Merge "Adding info to use venv of tox for reno" 2016-06-01 19:50:07 +00:00
Goutham Pacha Ravi
3a4c77790a Document instructions for documentation
A lot of things have been changing with OpenStack's
documentation. As a community, we could do a better
job at catching up with these changes and
documenting our project well enough for the
benefit of all stakeholders.

Add instructions on where to document what and
provide tips to manila developers on documentation.

Change-Id: I660bfd5ac3d61c253e1e7b4b02c51424a03fa0a0
Partially-implements: bp improve-manila-developer-docs
2016-05-31 13:32:27 +00:00
Tom Patzig
739925a69f Adding info to use venv of tox for reno
The tool reno is used to generate yaml releasenotes files.
This patch adds doc info, how to use venv of tox to use reno, if
reno is not installed globally on your system.

TrivialFix

Change-Id: Id1d2e8969db60f78eb6b4aebdff3329c5b35bc5b
2016-05-31 14:25:00 +02:00
Jenkins
0607ab12c6 Merge "Removed the invalid link from Manila Dev Guide" 2016-05-25 14:07:55 +00:00
sharat.sharma
c8916d194f Removed the invalid link from Manila Dev Guide
The Module Index link points to a non-existing page.
So, the link is removed to avoid confusions.

Change-Id: I2ed9d04a347eec2399dfd8e4276533e5ea706614
Closes-Bug: #1566818
2016-05-24 14:14:20 +00:00
Goutham Pacha Ravi
e4e61905ed Fix tox errors and warnings in the devref
Formatting errors have crept into the manila devref
and have been accumulating over time. It would
be nice to fix these as part of the devref cleanup.

Closes-Bug: #1583850
Partially-implements: bp improve-manila-developer-docs
Change-Id: I7ec954e720b4b88a21e265cd71ea598ea9a5213b
2016-05-22 10:50:02 -04:00
Jenkins
e9776762a4 Merge "[Doc] Update quick start guide to Mitaka release" 2016-05-19 17:53:07 +00:00
Tin Lam
07b1779605 [Doc] Update quick start guide to Mitaka release
Also, corrected casing in the usage of the project names.

Change-Id: I2077bd27f6f3b8ef84b91c81b08e9d6eba1f68fd
Closes-Bug: #1562086
2016-05-18 19:10:46 -05:00
Sumit Kumar
724d8dfa0a Fix docs for REST API history and Scheduler
In manila/api/openstack/rest_api_version_history.rst,
underscores were used instead of hyphens to underline version '2.14'.
Fix to remove visual incongruity.

In doc/source/devref/scheduler.rst, not all drivers were added or
updated. Fix to include all drivers.

Partially-implements bp improve-manila-developer-docs

Change-Id: I513a4b51ab5f3d8c0cdb5aa013c93ecd07a85a20
2016-05-16 14:32:29 -04:00
Alfredo Moralejo
cb1a69082c Fixed references for scheduler drivers in doc
References for base and simple scheduler drivers must
reference to the right location in drivers folder.

Change-Id: I7698efd9c656c1204641567b1009ad270a20aa21
2016-05-09 19:29:19 +02:00
Goutham Pacha Ravi
8de817d16e Developer Reference: Adopt the openstackdocstheme
To allow for our developer reference to be consistent with
the rest of the openstack documentation, we need to import
and render this theme on our developer reference.

This gives users a consistent experience as they may
be acquainted with the rest of the OpenStack documentation
(Admin Guide, User Guide, API Guide etc.)
before perusing the Manila developer reference.

It also provides our devref the "log-a-bug" feature so
readers may bring any mis-information to our attention.

This patch is part of a series of commits to improve
in-tree documentation.

Change-Id: I0e4686a273c5bf45c1d57764cd4c312870b06d6e
Partially-implements: bp improve-manila-developer-docs
2016-05-05 17:15:41 +00:00
Jenkins
c44d2f17c8 Merge "cephfs_native: doc fixes" 2016-05-05 11:32:11 +00:00
Ramana Raja
affc78e711 cephfs_native: doc fixes
Add more details about driver specific concepts and usage.
Also, add known restrictions of the Mitaka version and license
details.

Change-Id: I03e767454a0f69fce9aebb10aa9866520acc1413
2016-05-05 11:33:39 +05:30
Dustin Schoenbrun
fef3c1e7db Added docs for commit message tags
Added some documentation for how and when to use commit message tags
in git commit messages. Also added a link to the new article in the
index for the dev ref.

Change-Id: I5aa4c128cd0e25fb12316de21eed262cca810e08
2016-05-04 17:42:40 +00:00
Jenkins
7b7f3cf46b Merge "Add doc for Share Replication" 2016-04-14 22:57:45 +00:00
Goutham Pacha Ravi
f14808a2d1 Add doc for Share Replication
- Document extra_spec and capabilities involved
- Document driver interfaces properly to please Sphinx
- Document scheduler behavior
- Document replica and snapshot workflows
- Fix trailing white spaces in the descriptions of capabilities

Change-Id: I054aebda9618968ab8bd3881ccdd8164e1283682
Closes-Bug: #1544812
2016-04-14 16:11:52 -04:00
Thomas Bechtold
fd9b5c0435 Fix doc build if git is absent
When building packages if git is absent, then we should not set
html_last_updated_fmt. It can still be set via the -D switch
when building with sphinx-build.

Change-Id: I02a6bcb43c8283848fb3866bb52cc4c0f50f4c92
Closes-Bug: #1552251
2016-04-13 09:36:41 +02:00
Jenkins
024a50bd7b Merge "update dev env doc for Fedora releases" 2016-04-12 02:54:15 +00:00
Jenkins
b959b98ced Merge "Add release notes usage and documentation" 2016-04-08 18:12:01 +00:00
Goutham Pacha Ravi
9b55b6dd3e Add release notes usage and documentation
Clarify guidelines for Manila developers to use
reno appropriately.

Change-Id: I2cbb93dd3e331e4f6f6b80e0acb165b2041592a4
2016-04-07 21:23:53 +00:00
Alex O'Rourke
db5c9f66e2 Update HPE 3PAR devref docs
With the Mitaka release multiple changes have been made to the
Manila driver:
    - Access rules changes for both NFS and CIFS shares.
    - IP and user access rules changes for both NFS and CIFS shares.
    - Client version bump.
    - Deleting of file tree for nested shares.

Change-Id: I09fbaad15e18c5babdbe8a419737ffc7b23d0d7d
2016-04-05 17:02:47 -07:00
Jenkins
c814e8a2eb Merge "Update ZFSonLinux share driver docs" 2016-04-05 12:59:12 +00:00
Tom Barron
5121ee2fb8 update dev env doc for Fedora releases
This commit updates the development environment devref document's
instructions of package installation on Fedora-based releases.

Change-Id: Ia35f8632c45a77fce92f48a8dd7c654a20037c9d
2016-04-04 11:37:50 -04:00
Jenkins
ffc0d5962a Merge "Fix typos" 2016-03-25 20:18:16 +00:00
Dustin Schoenbrun
a5b5c05e13 Add common capabilities matrix to devref
Add a new matrix to the share backends feature support mapping page
in the developer reference to indicate which backends support which
common capabilities, such as QoS and Thin Provisioning.

The Driver Handles Share Servers capabilities I retrieved from the
share creation column earlier in the same page. Other common
capabilities are currently filled in with information gathered from
the _update_share_stats() methods for each driver.

Change-Id: I5dfff0a62c91a047fc142018ece5f65edab3866a
2016-03-24 11:46:30 -04:00