manila/manila
yogesh 53364e07a3 Handle manage/unmanage for replicated shares
Managing a share with a share type that has replication_type
extra_spec must be allowed. Drivers are expected to fail
this operation if the share was part of a replication relationship
that Manila does not know about.

Unmanaging a share with replicas must not be permitted
until all replicas are removed.

Managing and unmanaging of snapshots must not
be permitted for a share that has replicas.

Modify the NetApp driver for manage_existing to check
for existing replicas.

Also fix issue with manage retry where the share
data was being altered inappropriately by a DB API.

Closes-Bug: #1561641
Closes-Bug: #1565903

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

Change-Id: I82f1fef1e30114e017efd00fa7da70aceecab94c
2016-04-15 19:00:23 +00:00
..
api Handle manage/unmanage for replicated shares 2016-04-15 19:00:23 +00:00
cmd Detect addition of executable files 2016-04-08 14:28:42 +00:00
common Fix typos 2016-03-23 15:55:35 +09:00
compute Remove unused logging import and LOG global 2016-04-05 07:06:08 -04:00
consistency_group Add space to message in manila/consistency_group/api.py 2015-12-17 06:56:43 +00:00
data Fix Share Migration KeyError on dict.pop 2016-03-10 12:49:14 -03:00
db Handle manage/unmanage for replicated shares 2016-04-15 19:00:23 +00:00
hacking Add hacking check to ensure not to use xrange() 2016-03-17 18:02:44 +00:00
network Fix typos 2016-03-23 15:55:35 +09:00
scheduler Fix Manage API synchronous call 2016-03-29 16:57:25 -03:00
share Handle manage/unmanage for replicated shares 2016-04-15 19:00:23 +00:00
testing Rewrited mox tests to mock (part 2) 2014-06-17 17:55:21 +03:00
tests Handle manage/unmanage for replicated shares 2016-04-15 19:00:23 +00:00
volume Remove unused logging import and LOG global 2016-04-05 07:06:08 -04:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
context.py Define context.roles with base class 2016-02-25 19:35:04 +00:00
exception.py Data Replication: Ensure Snapshots across replicas 2016-03-18 20:29:11 -04:00
i18n.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
manager.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
opts.py Fix keystone v3 issues for all clients 2016-03-18 14:42:33 +01:00
policy.py Use oslo_policy lib instead of oslo-incubator code 2015-04-21 13:05:42 +03:00
quota.py Update quota of proper user on resource delete 2016-03-11 12:55:44 +01:00
rpc.py Drop use of 'oslo' namespace package 2015-04-29 16:51:33 +03:00
service.py Trivial Fix: fix missing import 2016-01-21 19:36:47 +08:00
test.py Fix keystone v3 issues for all clients 2016-03-18 14:42:33 +01:00
utils.py Revert "LXC/LXD driver" 2016-03-16 18:48:17 +04:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00
wsgi.py Merge "Set TCP keepalive options" 2016-03-11 18:43:44 +00:00