281 Commits

Author SHA1 Message Date
zengyingzhe
d0e2380324 huawei driver default create thin type share
Currently, huawei driver will use the "AllocType" configuration
or default "thick" type to create share, if "thin-provisioning"
not specified in share_type, but scheduler default uses thin
type in this situation, so huawei driver isn't consistent with
scheduler.

This patch removes the "AllocType" configuration from huawei
driver configuration file and default use "thin" type if
"thin-provisioning" not given.

Depend on change I238a7962425ea35c356c5ed2e31b8f68462b3769.

DocImpact
Change-Id: I5b7128657e089113da44bc862e9c864de2ec59b2
Closes-Bug: #1609718
2016-09-12 14:23:55 +08:00
xing-yang
2d957f3890 Documentation changes for thin/thick provisioning
This patch adds documentation changes for the logic changed
to address thin/thick provisioning in the following patch:
    https://review.openstack.org/#/c/315266/

Change-Id: I6a15a572abd7ccec59917bd58db5e3cca32d77a3
Partial-Bug: #1578718
2016-07-21 17:38:45 -04:00
Jenkins
df008f20b5 Merge "Add documentation for EMC Unity Driver for Manila" 2016-09-03 12:19:03 +00:00
Alexey Khodos
1fd7e88191 Nexenta: adding share drivers for NexentaStor
Share drivers to support NexentaStor4 and NexentaStor5 via
NFS protocol. Supports all minimal required features.

Implements: blueprint nexenta-manila-driver

DocImpact

Change-Id: Ib8b8525397626162968458ec837f9239ff5dbb2b
2016-09-01 18:06:14 +03:00
Jenkins
3b73777227 Merge "Add neutron driver for binding" 2016-08-27 00:07:10 +00:00
Cedric Zhuang
5e852325a7 Add documentation for EMC Unity Driver for Manila
Enhance the development document for EMC Unity Driver for Manila.
Details including:

* Add configuration description section to list all configuration
  options.
* Add restrictions for NFS and CIFS access control.
* Add Unity pre-configurations section.
* Add module section.

Change-Id: Ib617dfd07b8d98269677e3dca907162187cdf15d
Closes-Bug: #1608002
2016-08-23 18:19:21 -07:00
Jenkins
04d8ed79a1 Merge "Add dedupe report in HNAS driver" 2016-08-19 05:43:52 +00:00
Marc Koderer
78e10bc060 Add neutron driver for binding
Add new neutron plugin which enables port bind actions for network
fabrics. This driver waits until all ports are in state "active"
and sets the binding host flag. Default vNIC type is set to
"baremetal" in order to benefit from the code already in place for
Ironic. It's also possible to switch to 'normal' which assumes an
neutron agent in place.

The feature can be tested using the docker driver.

DocImpact

Co-Authored-By: Daniel Gonzalez <daniel@gonzalez-nothnagel.de>
Partially-Implements: bp manila-hpb-support

Change-Id: I3156d7468d48f84f1b46885780a2426f9b99a387
2016-08-17 15:20:11 +02:00
Jenkins
0a87493573 Merge "Add Hitachi HSP driver" 2016-08-16 17:15:28 +00:00
tpsilva
2a7d480d01 Add Hitachi HSP driver
This patch adds the Hitachi HSP driver.

Co-Authored-By: Marcus V R Nascimento <marcusvrn@gmail.com>

DocImpact
Implements: blueprint hsp-driver
Change-Id: Ie3028cbff56873721dc51ff4d7fccf7fb7e99611
2016-08-16 08:44:27 -03:00
Jenkins
2f047eb25a Merge "Container driver" 2016-08-15 21:04:11 +00:00
Alexey Ovchinnikov
ddf960a2d9 Container driver
This driver exploits a Docker container as a share server instead
of a virtual machine. The container acts as a CIFS server
and shares logical volume attached to it. The volume gets created
simultaneously to the container on a host in a volume group
specified by the user.

DocImpact
Change-Id: I711813a2022d765ab7a70ed670e34f68f9cf1399
Implements: blueprint manila-container-driver
2016-08-15 16:30:23 +03:00
Jenkins
647d133d29 Merge "[dev-docs] Changed small case letters to capital" 2016-08-14 05:11:54 +00:00
Prudhvi Rao Shedimbi
ff4a33aefb [dev-docs] Changed small case letters to capital
Changed small case letters to capital case at appropriate
places like beginning of the line.

TrivialFix

Change-Id: Ib7d219af2e531a8bb315377a177e233863759c5c
2016-08-12 16:13:08 +00:00
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
Alyson Rosa
9a178f5254 Add dedupe report in HNAS driver
HNAS backend has support for enabling dedupe in file systems. This
commit adds a report for this capability in Manila HNAS driver.

DocImpact
Closes-Bug: #1610956
Change-Id: I6f83da1e51cfdcd8d20b607619c131d13f9e513f
2016-08-11 09:39:33 -03: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