11722 Commits

Author SHA1 Message Date
Adriano Rosso
d1f23f3634 HNAS: Cloned volume with different volume type
HNAS NFS driver allows the creation of cloned volumes using volume
types that are not the same as the ones from the source volume. This
could make cinder information inconsistent with the real volume
location in the backend when we have multiple pools configured.
As the clones are always created in the same pool as the source
volumes, this patch makes the driver accept the creation of cloned
volumes only if they have the same volume type as the source volume.

Closes-Bug: #1660411

Change-Id: I1272a6d27d7f172e77f1260a2acc6fc7c02e2e73
2017-02-01 13:41:31 -02:00
Jenkins
8c186565c3 Merge "3PAR: Inconsistency in copied and source CG" 2017-02-01 13:48:23 +00:00
Jenkins
f44e51b57d Merge "Revert "Mark the sheepdog driver as unsupported"" 2017-02-01 13:29:40 +00:00
Jenkins
c4ea8f598d Merge "Add cluster_name to temporary volumes" 2017-02-01 07:44:23 +00:00
Jenkins
362062935b Merge "Add create volume from image policy" 2017-02-01 04:36:18 +00:00
Jenkins
6550103562 Merge "clean up replication volume on an xiv backend" 2017-02-01 03:28:24 +00:00
Jenkins
bc9704f062 Merge "Cluster volume group fix in lvm" 2017-02-01 02:47:35 +00:00
Gorka Eguileor
da8f485337 Add cluster_name to temporary volumes
When we create temporary volumes, from another volume or from a
snapshot, we are not storing the cluster_name in the DB, so later on
it's problematic to delete them.

TrivialFix

Closes-Bug: #1660750
Change-Id: I87b73ae709411d21631654ac8d40cd4fe70bccaf
2017-01-31 20:12:31 +01:00
manishd
5c7323082e 3PAR: Inconsistency in copied and source CG
1. While creating a consistency group from a source consistency group
having thinly provisioned volume(s), the target volumes would not
be thinly provisioned because 'tpvv' parameter was not being passed.
Same thing was happening for thinly deduplicated volume(s).
Extracted the optional boolean parameters 'tpvv' and 'tdvv', if present
, from the source volume(s) to be used for corresponding target
volume(s) creation. In case these are not present, default value of
False is used.
Fixed the test case too so that it could accept these addtional two
parameters.

2. Cloning a CG with a bootable volume would create a CG with a
non-bootable volume. This was due to 'bootable' flag of source
volume not being used while creating DB entry for target volume.

Closes-Bug: #1655541

Change-Id: Ia997629a3b2189d1722f87edda5f3989fe79ffdb
2017-01-31 16:54:36 +00:00
Jenkins
e41e552f39 Merge "Adds API documentation for update snapshot status" 2017-01-31 16:19:25 +00:00
Jenkins
cdeb92096d Merge "Prohibit creating volume from source with dif encryptions" 2017-01-31 15:52:01 +00:00
Jenkins
c0fb005a13 Merge "Add descriptions to Pure drivers" 2017-01-31 11:37:44 +00:00
Jenkins
25a37650c6 Merge "create consistency group mishandles types" 2017-01-31 04:06:23 +00:00
Jenkins
33e745d49c Merge "Dell EMC SC: Delete doesn't account for migration" 2017-01-31 04:06:15 +00:00
Jenkins
30e251a944 Merge "Short-circuit notifications when not enabled" 2017-01-31 01:53:39 +00:00
Patrick East
b65db8406b Add descriptions to Pure drivers
They previously didn't have any description in the
driver list due to not having any doctoring for the
classes. This adds a little blurb in...

We also need to bump the driver versions for the O
release.

Change-Id: I237c70e24dcf2513f807e8dcb950d425148c001d
Closes-Bug: #1660479
2017-01-30 14:56:31 -08:00
Samantha Blanco
8362202e80 Adds API documentation for update snapshot status
Adds v2 and v3 API documentation for snapshot, actions API calls.

Change-Id: I7d6d511d353d5a2acd3c2c31356c28e8ae589604
Closes-Bug: #1532645
2017-01-30 17:14:01 -05:00
Jenkins
ac6022811f Merge "VMAX driver - removed incorrect six.text_type" 2017-01-30 15:33:24 +00:00
Jenkins
c611362164 Merge "Fix double call to "qemu-img create"" 2017-01-30 15:32:08 +00:00
TzurEliyahu
9dac47696d clean up replication volume on an xiv backend
in the xiv portion of the ibm_storage driver, delete volume
silently failed if the volume was replicated, due to
invalid argument name.
The result was an unmanaged volume left on the storage,
taking up space.
The argument name has been fixed and the volume is cleaned up.

Change-Id: I58bc8f91bdee713dc064547e682f95d9b2cb6cd2
closes-bug: 1660127
2017-01-30 17:15:08 +02:00
Gorka Eguileor
c71d978bd6 Add create volume from image policy
When deploying Cinder as an SDS without Glance we have no way to prevent
volume creation from images even when we know they will not succeed.

This patch adds a specific policy so we can prevent this specific
creation action from being accepted.  By doing so the user will know
immediately that this is not possible, instead of having to look through
the logs to see that this is not an option.

TrivialFix

Change-Id: Iabc10a1927eea6419dd677a632cfc7d32dc08091
2017-01-30 12:56:26 +01:00
Gorka Eguileor
a130387b45 Short-circuit notifications when not enabled
When running Cinder with notifications disabled we are still doing all
the work and calls to Oslo message notifier and it's there, at the very
last moment when it's going to send the message that it checks that
there's no actual extension loaded in the driver manager and skips the
actual send of the data.

This is considerably wasteful considering that for some of the
notifications we are actually querying the DB to get data, for example
volume attachments and glance metadata information when notifying about
volume usage.

This patch proposes short-circuiting notification methods as much as
possible to optimize code execution when Cinder has no notification
transport mechanism configured, as is the case when deployed as a
standalone SDS service.

Closes-Bug: #1660303
Change-Id: I77f655d3ef90088ce71304da5d4ea7b543991e90
2017-01-30 12:31:45 +01:00
Jenkins
2db1f6bdef Merge "Rebrand and move EQLX driver to dell_emc folder" 2017-01-30 05:32:13 +00:00
Helen Walsh
61972f7f59 VMAX driver - removed incorrect six.text_type
When we received feedback from volume replication we removed
six.text_type from a dict instead of the intended
replication_status field.  This causes an exception.

Change-Id: Ibb74ec6b5fe52e3ec15515bb180259d64c7a6cf4
Closes-Bug: #1659531
2017-01-29 18:12:11 +00:00
Jenkins
f19fa647c6 Merge "VMAX driver - QoS key fix" 2017-01-28 22:11:52 +00:00
Jenkins
fa58002719 Merge "Set image_owner before adding location to glance" 2017-01-28 22:11:38 +00:00
Jenkins
7b2854b244 Merge "Add driver interface for groups" 2017-01-28 21:51:42 +00:00
Jenkins
1fb64ac25b Merge "Fix Live Migration for Nimble Storage Driver" 2017-01-28 19:17:17 +00:00
OpenStack Proposal Bot
0159704bec Updated from global requirements
Change-Id: I5ef60094001b851781ce15e0a7d0bb732d55b062
2017-01-28 03:38:48 +00:00
Jenkins
d0057c7d5a Merge "NetApp cDOT: Add NetApp Volume Encryption support" 2017-01-28 00:21:49 +00:00
Jenkins
d189da7c91 Merge "IBM driver update CI_WIKI_NAME" 2017-01-28 00:19:05 +00:00
Jenkins
77ffa914cf Merge "Switch to using generic groups with Pure driver" 2017-01-27 23:06:35 +00:00
Jenkins
7b4b9aade3 Merge "Adds getfattr and mount to Cinder rootwrap volume.filters" 2017-01-27 23:05:07 +00:00
Jenkins
3ef9e8775b Merge "VMAX driver - remove global mock of volume_types" 2017-01-27 22:25:39 +00:00
Jenkins
36d05f6d01 Merge "backup of active 3par ISCSI bootable volume fails" 2017-01-27 22:25:23 +00:00
Jenkins
e7c00dede2 Merge "Modify the spelling mistakes" 2017-01-27 20:13:47 +00:00
Jenkins
bdc23409e1 Merge "Huawei: Mask unnecessary log print" 2017-01-27 20:13:32 +00:00
Jenkins
9d888e0812 Merge "Added unit test coverage to test_limits.py for api v2" 2017-01-27 20:13:18 +00:00
Jenkins
8ff7adb245 Merge "Windows SMB: use os-brick remotefs client" 2017-01-27 20:13:05 +00:00
Sean McGinnis
4e5c2be01d Rebrand and move EQLX driver to dell_emc folder
Rebrand and organize the EqualLogic driver under the dell_emc
volume driver folder. The EqualLogic product has gone by PS
Series for some time, so this also changes the name to match.

Config options are kept with the eqlx_ prefix since changing
that would add little value and just create additional work for
operators.

Change-Id: I16bd0ba7755ddfcd5a4edd3e11077725093c4d3d
2017-01-27 13:16:02 -06:00
Raunak Kumar
0b7e783837 Fix Live Migration for Nimble Storage Driver
The previous fix for Live Migration
https://review.openstack.org/#/c/420214/ broke our Live
Migration. When checking for Error message in exception,
it needs to be typecast to six.text_type()
This patch resolves the problem.

Change-Id: I0871fb0f5a63cfe17ebf328e7ce8a2fff34fcdb4
Closes-Bug: #1481953
2017-01-27 09:25:00 -08:00
Alon Marx
1df882d700 create consistency group mishandles types
In the xiv portion of the ibm_storage driver, create_consistencygroup
fails when it receives a Group object instead of a ConsistencyGroup
object. Need to handle both objects, and handle multiple group ids.

Change-Id: I21783db166515f80d83ef0d152d0795f8ca0297d
Closes-bug: 1658782
2017-01-27 18:23:15 +02:00
Helen Walsh
d4d88f31c6 VMAX driver - QoS key fix
QoS key value was changed from 'qos_specs' to 'qos_spec' in a
feedback comment in _initial_setup. The side effect of this
was QoS was never enabled.  Please refer to
https://review.openstack.org/#/c/307502/

Change-Id: I32a203c1a29e214656f6684268266df589db67bd
Closes-Bug: #1656029
2017-01-27 12:01:25 +00:00
Helen Walsh
d063ed99e5 VMAX driver - remove global mock of volume_types
Some test classes mock volume_types.get_volume_type_extra_specs
globally, if other drivers use it and run after it, they will
have problems.

Change-Id: Ie25c35e8c04457a09f95230185586703b1fce83f
Closes-Bug: #1659481
2017-01-27 11:17:29 +00:00
Jenkins
6932b2b517 Merge "Check if volume node has enough space for image operations" 2017-01-27 09:09:15 +00:00
Jenkins
0b49ee9aa2 Merge "Zero out SolidFire capacity when unreachable" 2017-01-27 09:08:47 +00:00
Jenkins
b50aec0b84 Merge "Fix Qos for clone for Nimble Storage Driver" 2017-01-27 09:08:32 +00:00
Jenkins
e613aac656 Merge "VMAX driver - rename and restructure driver" 2017-01-27 07:20:06 +00:00
Jenkins
f096f597ba Merge "VMAX driver - storage group cleanup on error" 2017-01-27 07:19:51 +00:00
Jenkins
1d2f0322b4 Merge "Remove useless FIXME" 2017-01-27 07:19:36 +00:00