We are eager to announce the release of:
manila 2.0.0: Shared Storage for OpenStack
This release is part of the mitaka release series.
For more details, please see below.
2.0.0
^^^^^
New Features
************
* Added APIs for listing export locations per share and share
instances.
* Added driver for Tegile IntelliFlash arrays.
* Manage and unmanage snapshot.
* Shares can be replicated. Replicas can be added, listed, queried
for detail, promoted to be 'active' or removed.
Deprecation Notes
*****************
* Removed 'export_location' and 'export_locations' attributes from
share and share instance views starting with microversion '2.9'.
Changes in manila 2.0.0.0b3..2.0.0
----------------------------------
296c995 Fix call of clients in post_test_hook.sh
7bf4f02 Add tests to ensure snapshots across replicas
430a18b NetApp cDOT: Handle replicated snapshots
94e04c8 Data Replication: Ensure Snapshots across replicas
70f59f7 Fix update_access concurrency issue
2da94bb Fix manage API ignoring type extra specs
b161889 Make ZFSonLinux driver handle snapshots of replicated shares properly
7fc492e Fix keystone v3 issues for all clients
9a9bc9c Fix for incorrect LVMMixin exception message
e663275 NetApp cDOT: Fix status updates for replicas
a4fa859 NetApp cDOT: Raise ShareResourceNotFound in update_access
7bf936b Fix generic and LVM driver access rules for CIDRs
c8bce99 Fix report of ZFSonLinux driver capabilities
b14566a Fix the scheduler choose a disable share service
ffcef13 Fix typos
806f8ba Fix error logged for wrong HPE 3par client
35e67cd 3PAR remove file tree on delete when using nested shares
bb9a290 HDS-HNAS: Fix exception in update_access not found
5dfbef4 Revert "LXC/LXD driver"
46eea39 Fix Hitachi HNAS driver version
bca18c6 service instance: also recognize instance name
42eccd2 Fix update of access rules in ZFSonLinux driver
3ef988e Check share-network in 'share create' API
ec5d9ca glusterfs volume layout: take care of deletion of DOA shares
51d9649 Fix delete when share not found in update_access
02a9a2c Remove default values for update_access()
4a22901 NetApp cDOT driver should not split clones
fe6bd97 Fix handling of share server details after error
b003e7a HDS-HNAS: fixed exception when export not found
e49324f Fix lock decorator usage for LVM and Generic drivers
fe0859e Fix HNAS snapshot creation on deleted shares
88c922c Move iso8601 from requirements to test-requirements
8b6cedf Fix typos
8aa37de glusterfs.common: GlusterManager.gluster_call error report fix
6d67c26 glusterfs.GlusterNFSVolHelper: remove __init__
3c56db6 Add tempest tests for Share Replication
04ce4a4 register the config generator default hook with the right name
a7f0fe6 Windows driver: fix share access actions
ce6924a Collapse common os_region_name option
0616fcb Disallow scheduling multiple replicas on a given pool
ce051b3 update quota of origin user on share extend/shrink
8d3e72f Update quota of proper user on resource delete
d2bebca Fix Share Migration access rule mapping
37c6e31 Fix unstable DB migration tests
b8e9ae8 Fix Share Migration KeyError on dict.pop
9c42513 NetApp cDOT APIs may get too little data
fba9f60 HNAS: Enable no_root_squash option when allowing access to a share
e986699 Fix HNAS driver crash with unmounted filesystems
e1d696c Fix compatibility with Tempest
2358f91 Set proper image name for tempest
fad7709 Remove nsenter dependency
f3b8026 Fix ZFSonLinux driver share replica SSHing
c357ac5 Fix ZFSonLinux access rules for CIDRs
adb6fa1 Fix HNAS driver thin_provisioning support
466a19f Fix pylxd hard dependencies
7da4bd5 Squash consequent DB calls in create_share_instance
9f0bd96 Fix slow unit test
7d3fc0e Run ZfsOnLinux gate tests with SSH enabled
bb608e9 Fix status update for replicas
ced9d38 Set TCP keepalive options
fd449f1 Fix manila devstack plugin for keystone v3 usage
71f8d0f Add /usr/local/{sbin,bin} to rootwrap exec_dirs
a243a43 Updated from global requirements
bfea3f4 Use official location for service image
1279dd9 Allow devstack plugin to work without Cinder
b0c510e Download service image only when needed
7f85400 glusterManager instantiation regexp validation
75d85aa Moved CORS middleware configuration into oslo-config-generator
6a0bd8c Remove unintended exposure of private attribute
7133cb8 glusterfs/common: don't suppress vol set errors
08e3e61 Fix scenario tests
Diffstat (except docs and test files)
-------------------------------------
contrib/ci/post_test_hook.sh | 58 +-
contrib/ci/pre_test_hook.sh | 22 +-
devstack/files/debs/manila | 1 +
devstack/files/rpms-suse/manila | 1 +
devstack/files/rpms/manila | 1 +
devstack/plugin.sh | 174 +---
devstack/settings | 20 +-
.../share_back_ends_feature_support_mapping.rst | 6 -
etc/manila/api-paste.ini | 3 -
etc/manila/rootwrap.conf | 2 +-
etc/manila/rootwrap.d/share.filters | 41 +-
manila/api/v1/share_networks.py | 6 +-
manila/api/v1/shares.py | 26 +-
manila/api/views/share_snapshots.py | 2 +-
manila/cmd/all.py | 3 +-
manila/common/client_auth.py | 113 +++
manila/common/config.py | 34 +-
manila/common/constants.py | 7 +
manila/compute/nova.py | 170 ++--
manila/data/manager.py | 2 +-
manila/db/api.py | 22 +-
manila/db/sqlalchemy/api.py | 123 ++-
manila/db/sqlalchemy/models.py | 77 +-
manila/exception.py | 10 +-
manila/network/neutron/api.py | 120 ++-
manila/network/neutron/neutron_network_plugin.py | 14 +-
manila/opts.py | 6 +-
manila/quota.py | 20 +-
manila/scheduler/filters/share_replication.py | 12 +-
manila/scheduler/host_manager.py | 12 +-
manila/scheduler/manager.py | 63 +-
manila/scheduler/rpcapi.py | 15 +-
manila/share/access.py | 51 +-
manila/share/api.py | 265 ++++--
manila/share/driver.py | 398 ++++++++-
manila/share/drivers/cephfs/cephfs_native.py | 4 +-
manila/share/drivers/ganesha/__init__.py | 4 +-
manila/share/drivers/ganesha/manager.py | 4 +-
manila/share/drivers/generic.py | 12 +-
manila/share/drivers/glusterfs/__init__.py | 5 -
manila/share/drivers/glusterfs/common.py | 30 +-
manila/share/drivers/glusterfs/glusterfs_native.py | 2 +-
manila/share/drivers/glusterfs/layout_volume.py | 17 +-
manila/share/drivers/helpers.py | 58 +-
manila/share/drivers/hitachi/hds_hnas.py | 39 +-
manila/share/drivers/hitachi/ssh.py | 33 +-
manila/share/drivers/hpe/hpe_3par_driver.py | 34 +-
manila/share/drivers/hpe/hpe_3par_mediator.py | 170 +++-
manila/share/drivers/huawei/huawei_nas.py | 4 +-
manila/share/drivers/huawei/v3/connection.py | 4 +-
manila/share/drivers/lvm.py | 15 +-
manila/share/drivers/lxd.py | 754 ----------------
.../share/drivers/netapp/dataontap/client/api.py | 8 +-
.../netapp/dataontap/client/client_cmode.py | 318 ++++++-
.../netapp/dataontap/cluster_mode/drv_multi_svm.py | 27 +-
.../dataontap/cluster_mode/drv_single_svm.py | 42 +-
.../netapp/dataontap/cluster_mode/lib_base.py | 257 ++++--
.../netapp/dataontap/cluster_mode/lib_multi_svm.py | 1 +
.../dataontap/cluster_mode/lib_single_svm.py | 1 +
manila/share/drivers/quobyte/quobyte.py | 12 +-
manila/share/drivers/service_instance.py | 4 +-
manila/share/drivers/tegile/tegile.py | 4 +-
manila/share/drivers/windows/windows_smb_driver.py | 21 +
manila/share/drivers/zfsonlinux/driver.py | 387 +++++++--
manila/share/drivers/zfsonlinux/utils.py | 25 +-
manila/share/manager.py | 595 +++++++++++--
manila/share/migration.py | 34 +-
manila/share/rpcapi.py | 27 +-
manila/test.py | 4 +-
.../scheduler/filters/test_share_replication.py | 20 +-
.../share/drivers/glusterfs/test_layout_volume.py | 18 +
.../share/drivers/hpe/test_hpe_3par_constants.py | 5 +
.../share/drivers/hpe/test_hpe_3par_driver.py | 38 +
.../share/drivers/hpe/test_hpe_3par_mediator.py | 350 +++++++-
.../share/drivers/netapp/dataontap/client/fakes.py | 243 ++++++
.../drivers/netapp/dataontap/client/test_api.py | 84 ++
.../netapp/dataontap/client/test_client_cmode.py | 588 ++++++++++---
.../netapp/dataontap/cluster_mode/test_lib_base.py | 957 ++++++++++++++++++---
.../dataontap/cluster_mode/test_lib_multi_svm.py | 2 +
.../dataontap/cluster_mode/test_lib_single_svm.py | 1 +
.../drivers/windows/test_windows_smb_driver.py | 48 +-
manila/utils.py | 16 -
manila/volume/cinder.py | 153 ++--
manila/wsgi.py | 16 +-
.../services/share/v2/json/shares_client.py | 174 ++++
requirements.txt | 5 +-
setup.cfg | 2 +
test-requirements.txt | 1 +
145 files changed, 9392 insertions(+), 3433 deletions(-)
Requirements updates
--------------------
diff --git a/requirements.txt b/requirements.txt
index a6297d2..0a98c3e 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -12 +11,0 @@ greenlet>=0.3.2 # MIT
-iso8601>=0.1.9 # MIT
@@ -31,2 +30,2 @@ PasteDeploy>=1.5.0 # MIT
-pylxd>=0.19.0 # Apache-2.0
-python-neutronclient>=2.6.0 # Apache-2.0
+python-neutronclient!=4.1.0,>=2.6.0 # Apache-2.0
+keystoneauth1>=2.1.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index f6d70d8..46306c9 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -12,0 +13 @@ mock>=1.2 # BSD
+iso8601>=0.1.9 # MIT