2890 Commits

Author SHA1 Message Date
Jenkins
20adb836c3 Merge "Add interface port configuration in EMC VNX driver" 2016-07-27 20:51:37 +00:00
Jenkins
200f2b02fb Merge "Add retry in VNX driver when DB lock error happened" 2016-07-27 19:51:39 +00:00
Jenkins
60a32f13f8 Merge "NetApp: Report hybrid aggregates in share stats" 2016-07-27 17:38:54 +00:00
Jenkins
c2889dfff0 Merge "[ZFSonLinux] Add 'manage snapshot' feature support" 2016-07-27 14:19:02 +00:00
Jenkins
cbb5a1306e Merge "Minor optimization and formatting corrections in Quobyte driver" 2016-07-27 12:56:38 +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
Silvan Kaiser
aa1268ded3 Minor optimization and formatting corrections in Quobyte driver
Removes a superfluous rpc and improves readability of method calls
with complex parameters (see
http://docs.openstack.org/developer/hacking/#calling-methods ).
Closes-Bug: #1498882
Closes-Bug: #1548227

Change-Id: I12585f213acb6f55a6e2eb1646455d79abeba930
2016-07-27 09:07:06 +02: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
Jenkins
accc7c6de5 Merge "Remove "host" from driver private data" 2016-07-26 17:37:28 +00:00
Jenkins
6c6d721cf1 Merge "Migrate API reference into tree" 2016-07-26 14:46:46 +00:00
Jenkins
07f508aa90 Merge "share/access: allow maintenance mode to be triggered" 2016-07-26 13:20:44 +00:00
Tina Tang
72650b54af Add retry in VNX driver when DB lock error happened
A DB lock error may be returned for provisioning operation due
to the DB lock on the array was acquired by other operations. This
patch add retry logic in the driver when this error happened.

Change-Id: Ief378bbaff969875ca29c5f3491d01e773ef44b7
Closes-Bug: #1604699
2016-07-26 07:15:51 +00:00
Accela Zhao
cd078020f6 Remove "host" from driver private data
The "host" field in driver private data related db and api is not
used and no longer needed. This patches removes it.

Change-Id: Ifd0b290b2992f6b0792250b86466d9329dfd08a7
Partially-Implements: blueprint driver-private-storage
2016-07-26 14:57:34 +08:00
Clinton Knight
4c4ee90854 NetApp: Report hybrid aggregates in share stats
NetApp cDOT controllers can mix SSDs and spinning disks
in the same aggregate, where the SSDs are used for a
cache.  This commit reports the hybrid aggregate attribute
as well as the aggregate name to the scheduler for each
pool for use in extra specs matching.

Implements: blueprint netapp-report-cdot-hybrid-aggrs-manila
Change-Id: Iaa0bcd79789449f977b48f1de2adf997c936db61
2016-07-25 22:16:00 +00:00
Jenkins
729c75cdc5 Merge "Add dummy driver" 2016-07-25 19:05:52 +00:00
Ramana Raja
8da0cb6f2f share/access: allow maintenance mode to be triggered
... by preserving the error state of the share
instance's ``access_rules_status``.

Closes-Bug: #1605203

Change-Id: Ib0b01ee4b52e6c05d36484bdf3faa1b4db4b849a
2016-07-25 22:19:02 +05:30
Daniel Gonzalez
3e86e3deac Migrate API reference into tree
The API Documentation team has requires [1] that
projects maintain their api-reference in-tree and
build it to the developer.openstack.org website.

This version of the API reference uses os-api-ref
and compiles API documentation close to that of
the OpenStack compute service (nova).

Co-Authored-By: Goutham Pacha Ravi <gouthamr@netapp.com>

[0] http://lists.openstack.org/pipermail/openstack-dev/2016-May/093765.html

Implements: bp move-manila-api-reference-in-tree
Change-Id: I67bb3354162d6e0e00fa2788edde864cc14920ee
2016-07-25 15:55:00 +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
Jenkins
225bae3920 Merge "Fix issue with testtool testrunner" 2016-07-23 17:34:19 +00:00
Jenkins
c6dea8fdce Merge "[Tempest] Create heavy scenario resources in parallel" 2016-07-23 05:02:51 +00:00
Jenkins
d8fc557289 Merge "Add DriverFilter and GoodnessWeigher to manila" 2016-07-22 19:05:00 +00:00
Jenkins
9dfde6dde7 Merge "Correct Quobyte driver capacity reporting" 2016-07-22 15:22:35 +00:00
Valeriy Ponomaryov
7145891ef8 Add dummy driver
Added dummy driver for ease of testing and development of REST APIs
and internal manila interfaces.
It can be enabled as backend in the same way as all other share drivers.
But, it does not provide any resources.

Also, update tempest to be able to work with share-networks when
networks are defined via config and not API.

CI hooks are configured to run tempest twice using both available
driver modes. Where DHSS=True mode uses StandAloneNetworkPlugin as
network backend.

Change-Id: I9053dddfc643cb5a6602f15235b91bbaea727dbd
Implements BluePrint dummy-driver
2016-07-22 17:57:59 +03:00
Silvan Kaiser
55fd2ec7ca Correct Quobyte driver capacity reporting
Current capacity reporting is based on logical values which can
differ significantly from real usage with e.g. sparse files.
This change switches to using physical values and includes free
space correction based on a Quobyte volumes internal replication
factor.
Closes-Bug: #1603434

Change-Id: I74ae2974709a13697412f43a448582be56c21e63
2016-07-22 14:06:20 +02:00
OpenStack Proposal Bot
4d4104c11f Updated from global requirements
Change-Id: Id98cb1598ca996523ed0b27017a4b46b2c872a6c
2016-07-22 04:00:07 +00:00
mark.sturdevant
443b61f668 HPE3PAR: Fix filestore quota decrement
HPE3PAR driver keeps a filestore fsquota to limit the space
available to all the nested shares. This fsquota should not
be decremented when read-only shares are removed. In this case
3PAR read-only shares are only used when the files exist in a
snapshot or in a read-write share. So the read-only share
itself does not hold any space. If a read-write share is
removed, then the decrement happens.

Change-Id: I1f006ce7e6cb2473f11b1505c1b7d4946aa5e1fc
Closes-Bug: #1599618
2016-07-21 20:18:00 +00:00
mark.sturdevant
6f506a8705 HPE3PAR: Handle exceptions on deleted shares
Fix to ensure that an attempt to delete a manila share will not
fail because the 3PAR filestore does not exist. When the filestore
does not exist, that means the share is already gone (or never was
created). Avoid the delete and all filestore use in this case to
prevent failures during delete.

Also catch and log exceptions during the post-delete cleanup.

Change-Id: I0e477d3dae5706547354bd029b40e3308349fabb
Closes-Bug: #1597940
2016-07-21 20:17:27 +00:00
Jenkins
e50114897c Merge "Huawei driver support access of all IPs" 2016-07-21 17:51:05 +00:00
vponomaryov
e8e8fb1396 Fix pep8 job
Recently merged commit [1] has passed gates somehow
but made all other commits to fail.

[1] I95a9aa7e071c470c21dc0fa009ba96a7c7439ce6

Change-Id: I232f69bdf4284f10e47cfc701d53244b4d489c3d
2016-07-21 16:07:34 +03:00
Jenkins
ea307ccb49 Merge "Huawei: Add share sectorsize config in Huawei driver" 2016-07-21 12:23:52 +00:00
Jenkins
cc2c74a362 Merge "Add reno notes about http_proxy_to_wsgi middleware" 2016-07-20 16:29:59 +00:00
Jenkins
196e3587ae Merge "Use http_proxy_to_wsgi instead of ssl middleware" 2016-07-20 12:24:49 +00:00
Juan Antonio Osorio Robles
a4625e7e7f Add reno notes about http_proxy_to_wsgi middleware
This note is meant for Id33a0f7eeb8ced77d09f9edd6b1d65697d8bcfe7

Change-Id: Ifee7256a67a2a9722879e85b109258f05fb1f349
2016-07-20 12:12:32 +00:00
tpsilva
f10776d832 Add DriverFilter and GoodnessWeigher to manila
This patch ports cinder's DriverFilter and GoodnessWeigher to manila.
These can use two new properties provided by backends,
'filter_function' and 'goodness_function', which can be used to filter
and weigh qualified backends, respectively.

Reference for cinder spec: I59b607a88953a346aa35e67e785a0417a7ce8cc9
Reference for cinder commit: I38408ab49b6ed869c1faae746ee64a3bae86be58

DocImpact
Change-Id: I873f4152e16efdeb30ceae26335a7974dc9b4b69
Implements: blueprint driver-filter-goodness-weigher
2016-07-18 17:28:40 -03:00
Juan Antonio Osorio Robles
8208841513 Use http_proxy_to_wsgi instead of ssl middleware
The ssl middleware from oslo.middleware is deprecated in favor of
http_proxy_to_wsgi, which is used by nova, cinder, glance and several
other services.

Change-Id: Id33a0f7eeb8ced77d09f9edd6b1d65697d8bcfe7
2016-07-18 09:26:14 +03:00
Andreas Jaeger
d2b2cc80e9 Use constraints for coverage job
OpenStack CI supports now constraints in the coverage job - as a first
job to check that the recent changes for zuul-cloner work correctly.

Use constraints for cover environment.

Change-Id: I81a985a2049221a8a7ac1f20642137f22847973f
2016-07-17 16:00:41 +02:00
Jenkins
46e825a2f4 Merge "Add tox job for db revision creation" 2016-07-15 18:41:29 +00:00
Jenkins
8bfeedd4d1 Merge "Do not put real hostname and IP address to manila config sample" 2016-07-15 18:40:54 +00:00
Petr Kuběna
6e87a8419a Do not put real hostname and IP address to manila config sample
For the moment, building manila configuration sample, we get real
hostname and IP address of host that runs "genconfig" tox job. It
should not be exposed. So, hide it using "sample_default" arg for
appropriate options.

TrivialFix

Change-Id: Id8e5bdbc352229cf6a908a545e23ce62fd162ca4
2016-07-15 12:26:09 +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
Jenkins
2c1cfc3a07 Merge "[Tempest] Handle errored shares correctly using recreation logic" 2016-07-13 22:46:34 +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
Jenkins
10a73b961c Merge "update min tox version to 2.0" 2016-07-12 13:46:24 +00:00
zhaohua
aa6a0e229b Huawei driver support access of all IPs
In access-allow and access-deny, change 0.0.0.0/0 to asterisk(*)
to represent IP addresses of all clients.

Change-Id: I7b79cf5fde88ba8eb273d71d6eb40bea5b744673
Closes-Bug: #1576557
2016-07-12 14:50:24 +08:00
Matt Riedemann
0b59a910fb update min tox version to 2.0
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: I27348462a21daab479d76b24b48e3a4e017504cc
2016-07-10 11:51:30 -04:00
OpenStack Proposal Bot
c3a8df136f Updated from global requirements
Change-Id: I9845348900fbb2d467c6f1c8d761d78224ec72cd
2016-07-09 19:21:38 +00:00
Valeriy Ponomaryov
bb01fe9314 [Tempest] Handle errored shares correctly using recreation logic
If we allow share recreation and get some share errored
making it part of CG, then we fail to create CG snapshot from CG
that owns this share. Because cleanup step was not reached yet.
Therefore, consider this case and delete errored shares immediately.

Change-Id: Ib05598de8fbd1c9a735ca91159f3f5cfb86d8889
Closes-Bug: #1577887
2016-07-08 10:02:24 +00:00