]> review.fuel-infra Code Review - openstack-build/cinder-build.git/log
openstack-build/cinder-build.git
9 years agoAdd SmartX support for Huawei driver
chenzongliang [Fri, 5 Jun 2015 10:21:16 +0000 (18:21 +0800)]
Add SmartX support for Huawei driver

This patch aims to add SmartX features for Huawei driver,
including SmartQos, SmartTier, SmartPartition and SmartCache.

Co-Authored-By: Bob-OpenStack liuxinguo@huawei.com
Change-Id: I4bc8b227ff0b24847b8c8b30174d23b4e6d51af1
Implements: blueprint support-smartx-for-huawei-volume-driver

9 years agoMerge "Add mock cases for IBM FlashSystem"
Jenkins [Sun, 2 Aug 2015 19:57:34 +0000 (19:57 +0000)]
Merge "Add mock cases for IBM FlashSystem"

9 years agoMerge "Updated from global requirements"
Jenkins [Sun, 2 Aug 2015 19:57:23 +0000 (19:57 +0000)]
Merge "Updated from global requirements"

9 years agoMerge "Set VERSION on the Nimble driver."
Jenkins [Sun, 2 Aug 2015 18:16:49 +0000 (18:16 +0000)]
Merge "Set VERSION on the Nimble driver."

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Sat, 1 Aug 2015 23:39:49 +0000 (23:39 +0000)]
Updated from global requirements

Change-Id: I28ca73bbf23d2a29fb58af4ce9975f0707d2639d

9 years agoMerge "VMware: Fix protocol in backend stats"
Jenkins [Sat, 1 Aug 2015 16:00:27 +0000 (16:00 +0000)]
Merge "VMware: Fix protocol in backend stats"

9 years agoMerge "Fix multi-line docstrings to meet hacking rules"
Jenkins [Fri, 31 Jul 2015 22:24:40 +0000 (22:24 +0000)]
Merge "Fix multi-line docstrings to meet hacking rules"

9 years agoMerge "Use prefix for SolidFire template account"
Jenkins [Fri, 31 Jul 2015 15:35:59 +0000 (15:35 +0000)]
Merge "Use prefix for SolidFire template account"

9 years agoMerge "sqlalchemy exception kills FixedIntervalLoopingCall thread"
Jenkins [Fri, 31 Jul 2015 13:48:00 +0000 (13:48 +0000)]
Merge "sqlalchemy exception kills FixedIntervalLoopingCall thread"

9 years agoMerge "RBD: use user-configured value for max_clone_depth"
Jenkins [Fri, 31 Jul 2015 13:22:54 +0000 (13:22 +0000)]
Merge "RBD: use user-configured value for max_clone_depth"

9 years agoMerge "Remove deprecated SimpleScheduler"
Jenkins [Fri, 31 Jul 2015 13:22:38 +0000 (13:22 +0000)]
Merge "Remove deprecated SimpleScheduler"

9 years agoMerge "Fix error message in cinder/api/v2/volumes.py"
Jenkins [Fri, 31 Jul 2015 12:21:17 +0000 (12:21 +0000)]
Merge "Fix error message in cinder/api/v2/volumes.py"

9 years agoMerge "Fix concurrent attaches on HNAS iSCSI driver"
Jenkins [Fri, 31 Jul 2015 04:54:46 +0000 (04:54 +0000)]
Merge "Fix concurrent attaches on HNAS iSCSI driver"

9 years agoMerge "Add I/T mapping check for IBM FlashSystem"
Jenkins [Thu, 30 Jul 2015 21:57:33 +0000 (21:57 +0000)]
Merge "Add I/T mapping check for IBM FlashSystem"

9 years agoMerge "Posix backup driver"
Jenkins [Thu, 30 Jul 2015 21:57:10 +0000 (21:57 +0000)]
Merge "Posix backup driver"

9 years agoMerge "Add iSCSI multipath support for Huawei driver"
Jenkins [Thu, 30 Jul 2015 21:51:06 +0000 (21:51 +0000)]
Merge "Add iSCSI multipath support for Huawei driver"

9 years agoUse prefix for SolidFire template account
John Griffith [Thu, 30 Jul 2015 17:43:00 +0000 (11:43 -0600)]
Use prefix for SolidFire template account

The SolidFire template account was not using the
account_prefix setting when the account was created.

This means that if a deployment is configured to use
the prefix, that calls to make the actual clone will fail
because the clone routine prepends the prefix from the
config settings on every lookup.

This patch just adds the same account adjustment that
we use in our regular account creation routines.

Change-Id: I4d3c22f96c9ca90192b88f1802997c8680b81483
Closes-Bug: #1479897

9 years agoFix multi-line docstrings to meet hacking rules
Cindy Pallares [Thu, 21 May 2015 15:54:34 +0000 (10:54 -0500)]
Fix multi-line docstrings to meet hacking rules

According to the PEP8(H405), multi-line docstring summaries
should be separated by an empty line.

Change-Id: I5cd8a9064dcefc504e85946ecdf1f56f10145d35
Closes-bug: #1407162

9 years agosqlalchemy exception kills FixedIntervalLoopingCall thread
scottda [Thu, 30 Jul 2015 16:08:41 +0000 (16:08 +0000)]
sqlalchemy exception kills FixedIntervalLoopingCall thread

Transient DB errors should not kill the thread for FixedIntervalLoopingCall.
This was noticed and fixed for the DBError case in Bug#1466991, but the
exception from sqlalchemy is not handled. Basically, self.model_disconnected
should be set to True, but the looping thread should carry on regardless of
the error.

Change-Id: I4bf04392269a2c33b77166b6c7408b38e1bc992d
Closes-Bug: #1478971

9 years agoMerge "Fix exception on uploading a volume to image with glance v2 API"
Jenkins [Thu, 30 Jul 2015 11:29:34 +0000 (11:29 +0000)]
Merge "Fix exception on uploading a volume to image with glance v2 API"

9 years agoMerge "Move update_migrated_volume() to BaseVD"
Jenkins [Thu, 30 Jul 2015 11:24:15 +0000 (11:24 +0000)]
Merge "Move update_migrated_volume() to BaseVD"

9 years agoVMware: Fix protocol in backend stats
Vipin Balachandran [Thu, 30 Jul 2015 08:58:01 +0000 (14:28 +0530)]
VMware: Fix protocol in backend stats

The VMDK driver reports the protocol as 'LSI Logic SCSI' in
backend stats. This patch changes the protocol to 'vmdk'
which is in sync with driver support matrix at:
https://wiki.openstack.org/wiki/CinderSupportMatrix

Change-Id: I8f9255088ce3d25a6b0d7f38dcbabfd15082ff32
Closes-Bug: #1479693

9 years agoFix error message in cinder/api/v2/volumes.py
lisali [Thu, 30 Jul 2015 03:18:25 +0000 (11:18 +0800)]
Fix error message in cinder/api/v2/volumes.py

Minor fix.

Change-Id: I1269e271581cc523368b3e59fe4b8ced4febf9de
Closes-Bug: #1479598

9 years agoFix concurrent attaches on HNAS iSCSI driver
Erlon R. Cruz [Fri, 10 Jul 2015 18:36:22 +0000 (15:36 -0300)]
Fix concurrent attaches on HNAS iSCSI driver

It might happen that multiple cinder nodes/backends are trying to add
volumes to the same target. In this situation, the driver can get an
error trying to add a volume to a hlun just taken by other instance.
This patch fix this avoiding concurrency using mutual exclusion and adds
retries to the failed attempts to cover scenarios where multiple cinder
hosts are used.

Closes-bug: #1475007
Change-Id: Ie2d3b286eecbf0299ac0c0e32d3e098bb5d11e4f

9 years agoMerge "LVM: Support efficient data copy for LVM driver"
Jenkins [Wed, 29 Jul 2015 17:38:26 +0000 (17:38 +0000)]
Merge "LVM: Support efficient data copy for LVM driver"

9 years agoMerge "Windows iSCSI: Add CHAP authentication support"
Jenkins [Wed, 29 Jul 2015 05:36:04 +0000 (05:36 +0000)]
Merge "Windows iSCSI: Add CHAP authentication support"

9 years agoMerge "Add deactivate step to extend_lv"
Jenkins [Wed, 29 Jul 2015 05:32:46 +0000 (05:32 +0000)]
Merge "Add deactivate step to extend_lv"

9 years agoMerge "Updated from global requirements"
Jenkins [Tue, 28 Jul 2015 21:15:23 +0000 (21:15 +0000)]
Merge "Updated from global requirements"

9 years agoMerge "Adding NFS support to the GPFS Driver"
Jenkins [Tue, 28 Jul 2015 21:11:04 +0000 (21:11 +0000)]
Merge "Adding NFS support to the GPFS Driver"

9 years agoAdd deactivate step to extend_lv
Curt Bruns [Mon, 6 Jul 2015 15:09:41 +0000 (15:09 +0000)]
Add deactivate step to extend_lv

Extending a linear LVM volume that has a snapshot requires
that the LV be deactivated explicitly prior to extending.

This adds a deactivate_lv method and calls it prior to
issuing the extend call. If auto_activation_volume_list
is not defined lvm.conf, then volumes will be reactivated
automatically after the extend.  If auto_activation_volume_list
is defined, then volumes that should be automatically
reactivated should be added to the auto_activation_volume_list
or they won't be activated automatically.
NOTE: This doesn't apply to thin provisioned LVs as they don't
require the deactivation step.

DocImpact: When a user extends LVM Volumes with a snapshot, the
volumes will be deactivated.  Their re-activation is automatic,
unless auto_activation_volume_list is defined in lvm.conf.
See lvm.conf for more info.  Thin provisioned LVM Volumes
will not be deactivated as they don't require it.

Co-Authored-By: John Griffith <john.griffith8@gmail.com>
Change-Id: If746625cfe658c3528525dc7f4bf869f1c9704dc
Closes-Bug: #1470558

9 years agoFix exception on uploading a volume to image with glance v2 API
Tomoki Sekiyama [Tue, 28 Jul 2015 18:08:15 +0000 (14:08 -0400)]
Fix exception on uploading a volume to image with glance v2 API

This fixes an exception on uploading a volume to image when
the glance v2 api is enabled. Also, this adds the unit tests
for updating metadata and data both with glance API v1 and v2.

Change-Id: Id70eff82837c0af1f033a2bb749ef367cd9e32fb
Closes-bug: #1478737

9 years agoSet VERSION on the Nimble driver.
Sonia Ghanekar [Tue, 28 Jul 2015 17:11:50 +0000 (10:11 -0700)]
Set VERSION on the Nimble driver.

The Nimble driver does not set the VERSION variable
causing its version to be logged as N/A. This patch
updates that variable so that the correct version
number is reflected in the log.

Change-Id: I922257cf79e1a65247fd5384fa1fa746660efae3
Closes-Bug: #1476859

9 years agoMerge "Remove deprecated config options for Liberty"
Jenkins [Tue, 28 Jul 2015 16:49:55 +0000 (16:49 +0000)]
Merge "Remove deprecated config options for Liberty"

9 years agoLog which service is down
Eric Harney [Mon, 27 Jul 2015 17:24:36 +0000 (13:24 -0400)]
Log which service is down

This changes the message "Manager for service cinder-volume
is reporting problems..." to
"Manager for service cinder-volume myhost@backend1 is
reporting problems..."

This makes it more clear in the log file which backend this
message is referring to.

Change-Id: I62172080084a01c0324ffb6ab8a0e4af2b47fb85

9 years agoMove update_migrated_volume() to BaseVD
Erlon R. Cruz [Tue, 7 Jul 2015 14:30:15 +0000 (11:30 -0300)]
Move update_migrated_volume() to BaseVD

The update_migrated_volume() function on volume/manager.py
calls the update_migrated_volume() from the driver. If the
driver does not implement the function, the manager falls
back (by catching the NotImplementedError exception) and
implements a default behavior, not renaming the volume.  If
the driver does not have the function implemented, the
migration will fail as in this case, an AttributeError
exception can be raised.

We fix this by implementing the method
update_migrate_volume() in the BaseVD driver so all drivers
now throw the proper exception.

Change-Id: I9f3cbdc5ae1cdcbf8fe61168abf35b985d4182c6
Closes-Bug: #1471807

9 years agoPosix backup driver
Kevin Fox [Thu, 12 Mar 2015 19:27:56 +0000 (12:27 -0700)]
Posix backup driver

Add Posix backup driver. Supports simple nas too.

Co-Authored-By: Bharat Kumar Kobagana <bharat.kobagana@redhat.com>
Partially Implements: blueprint nfs-backup
Change-Id: I99383aa23b6dda217c8df6b33561111a8823b452

9 years agoMerge "Port StorwizeSVCDriver to use ABCMeta driver model"
Jenkins [Tue, 28 Jul 2015 10:22:13 +0000 (10:22 +0000)]
Merge "Port StorwizeSVCDriver to use ABCMeta driver model"

9 years agoMerge "EMC VMAX Modify CG"
Jenkins [Tue, 28 Jul 2015 08:32:13 +0000 (08:32 +0000)]
Merge "EMC VMAX Modify CG"

9 years agoAdd mock cases for IBM FlashSystem
YuanHui Xu [Mon, 27 Jul 2015 04:13:49 +0000 (23:13 -0500)]
Add mock cases for IBM FlashSystem

This patch adds the mock method into create_volume for the IBM
FlashSystem unittest code.

* Case for create_volume with mocked empty return value
* Case for create_volume with mocked error message for storage backend

Closes-Bug: #1477820
Change-Id: Ic96551b19ccde18943279f979b952d8eea45f1f7

9 years agoMerge "Fix cleanup_temp_volume_snapshots for missing vol"
Jenkins [Tue, 28 Jul 2015 00:08:02 +0000 (00:08 +0000)]
Merge "Fix cleanup_temp_volume_snapshots for missing vol"

9 years agoMerge "Port XIVDS8K Driver to use ABCMeta driver model"
Jenkins [Tue, 28 Jul 2015 00:02:41 +0000 (00:02 +0000)]
Merge "Port XIVDS8K Driver to use ABCMeta driver model"

9 years agoMerge "XtremIO support for iscsi discovery auth"
Jenkins [Mon, 27 Jul 2015 22:06:07 +0000 (22:06 +0000)]
Merge "XtremIO support for iscsi discovery auth"

9 years agoMerge "Fix doc string definitions"
Jenkins [Mon, 27 Jul 2015 21:33:52 +0000 (21:33 +0000)]
Merge "Fix doc string definitions"

9 years agoMerge "Add extra spec capability for Nimble Cinder Driver"
Jenkins [Mon, 27 Jul 2015 20:52:31 +0000 (20:52 +0000)]
Merge "Add extra spec capability for Nimble Cinder Driver"

9 years agoRemove deprecated config options for Liberty
Mike Perez [Mon, 27 Jul 2015 20:44:27 +0000 (13:44 -0700)]
Remove deprecated config options for Liberty

num_iscsi_scan_tries and backup_service have been deprecated for at
least two releases or longer.

Change-Id: I4c99e0aa06fd6ff8fc38dda29e8132e0edd69257
UpgradeImpact: removed num_iscsi_scan_tries and backup_service conf opts

9 years agoRBD: use user-configured value for max_clone_depth
Jon Bernard [Thu, 23 Jul 2015 17:47:03 +0000 (13:47 -0400)]
RBD: use user-configured value for max_clone_depth

This patch allows the user to override the default max-clone-depth in
cinder.conf.  Without this, the driver will ignore the user setting and
always use the default.

Change-Id: Ia8e6068bcf60d36063ff54c7038c03ef03126273
Closes-Bug: #1477706

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Mon, 27 Jul 2015 17:54:29 +0000 (17:54 +0000)]
Updated from global requirements

Change-Id: Ia3bdd4ce754751f4373886ecb8dbe81cf488cee1

9 years agoMerge "Add multiple pools support for Huawei driver"
Jenkins [Mon, 27 Jul 2015 17:44:28 +0000 (17:44 +0000)]
Merge "Add multiple pools support for Huawei driver"

9 years agoMerge "Remove resource lock operation for HBSD"
Jenkins [Mon, 27 Jul 2015 17:39:16 +0000 (17:39 +0000)]
Merge "Remove resource lock operation for HBSD"

9 years agoFix cleanup_temp_volume_snapshots for missing vol
Tom Barron [Sat, 25 Jul 2015 21:11:29 +0000 (17:11 -0400)]
Fix cleanup_temp_volume_snapshots for missing vol

The cleanup_temp_volume_snapshots method raises an exception that
causes the backup service to exit if there is a backup without a
corresponding volume.

This commit catches these exceptions so that the backup service is
not prevented from starting in this circumstance.

Change-Id: Ia1aac2fe78048df5fce595d5de181cb4930ea78d
Closes-bug: 1478599

9 years agoMerge "NetApp E-Series: Add debug tracing"
Jenkins [Mon, 27 Jul 2015 15:51:11 +0000 (15:51 +0000)]
Merge "NetApp E-Series: Add debug tracing"

9 years agoMerge "Add volume_attachment to volume usage notifications"
Jenkins [Mon, 27 Jul 2015 11:00:06 +0000 (11:00 +0000)]
Merge "Add volume_attachment to volume usage notifications"

9 years agoAdding NFS support to the GPFS Driver
Gaurang Tapase [Thu, 2 Jul 2015 08:41:58 +0000 (04:41 -0400)]
Adding NFS support to the GPFS Driver

This change helps create cinder volumes on a GPFS cluster,
when the cinder services are not running directly on one of
the GPFS nodes.

The NFS export created on GPFS cluster will be locally mounted
on a node running the cinder service. The cinder volume service
will communicate with GPFS nodes over SSH to execute CLIs remotely.

This change also ports the GPFSDriver to ABC driver model.

Implements : blueprint ibm-gpfs-nfs-support

DocImpact

Needs an update in gpfs driver documentation, as this patch
adds an NFS based access for GPFS cinder driver.

Change-Id: I40e5098482d48552170c34e74be0c9e2f544fef5

9 years agoRemove deprecated SimpleScheduler
Mike Perez [Mon, 27 Jul 2015 05:46:17 +0000 (22:46 -0700)]
Remove deprecated SimpleScheduler

This has been deprecated for three releases now. It's time! By default
it was already having Cinder use the FilterScheduler with certain
weighers and filters to continue the chance behavior, so definitely not
scary!

Closes-Bug: #1478446
UpgradeImpact: Deprecated SimpleScheduler removed
Change-Id: I10f63bb189b7c894dcc6dccc857cf22698cc5f95

9 years agoFix doc string definitions
Andrey Pavlov [Thu, 18 Jun 2015 13:19:51 +0000 (16:19 +0300)]
Fix doc string definitions

Changed """" at start of docstring to """
and changed ''' to """ in docstrings.

Docstring standards are here -
https://www.python.org/dev/peps/pep-0008/#documentation-strings

Closes-Bug: #1466802
Change-Id: I7d03643845b0542deb52aed59edc1543827436ba

9 years agoPort StorwizeSVCDriver to use ABCMeta driver model
xqli-openstack [Fri, 24 Jul 2015 09:36:26 +0000 (02:36 -0700)]
Port StorwizeSVCDriver to use ABCMeta driver model

Use new ABCMeta driver model for StorwizeSVCDriver driver.
Also add empty function unmanage for ManageableVD.

Partially-implements: blueprint abc-driver-update

Change-Id: Ib92342186908a4e148fcb341b38de012047e8c22

9 years agoMerge "typos(?) in create_snapshots_in_db"
Jenkins [Mon, 27 Jul 2015 02:14:27 +0000 (02:14 +0000)]
Merge "typos(?) in create_snapshots_in_db"

9 years agoAdd extra spec capability for Nimble Cinder Driver
Raunak Kumar [Mon, 6 Jul 2015 18:40:40 +0000 (11:40 -0700)]
Add extra spec capability for Nimble Cinder Driver

Supported Extra Specs are

1. Performance Policy Name
nimble:perfpol-name = <Performance Policy Name>

2. Encryption
nimble:encryption = "yes"

Implements: blueprint nimble-add-extra-specs-support

Change-Id: I45a18b189746b778f10eecbf669be7943828e28b

9 years agoMerge "Refactoring of manager's create_volume flow"
Jenkins [Sun, 26 Jul 2015 18:35:33 +0000 (18:35 +0000)]
Merge "Refactoring of manager's create_volume flow"

9 years agoMerge "Remove unused arguments from c-vol's create_volume"
Jenkins [Sun, 26 Jul 2015 18:35:07 +0000 (18:35 +0000)]
Merge "Remove unused arguments from c-vol's create_volume"

9 years agoXtremIO support for iscsi discovery auth
Shay Halsband [Mon, 8 Jun 2015 16:08:46 +0000 (19:08 +0300)]
XtremIO support for iscsi discovery auth

- Discover existing Initiator Groups (a grouping object for initiators)
  from connection information.
- add unit tests for better code coverage.
- handle 'system is busy' array error.

Change-Id: Ia5df488ed0996fb6fb1b77016772e82323ac1f92
Partial-Implements: blueprint emc-xtremio-updates

9 years agotypos(?) in create_snapshots_in_db
Yusuke Hayashi [Sat, 25 Jul 2015 12:49:33 +0000 (21:49 +0900)]
typos(?) in create_snapshots_in_db

Other variables are used in line 783 (snap) and 784 (snapshot)
of cinder.volume.api.

Since it looks typo, I fix it.

Change-Id: I3f1aa3b71166e882c751362792fbf90477ecbd38
Closes-Bug: #1478236

9 years agoAdd multiple pools support for Huawei driver
chenzongliang [Thu, 4 Jun 2015 03:47:17 +0000 (11:47 +0800)]
Add multiple pools support for Huawei driver

Pool aware scheduler support was introduced in Juno.
This patch proposes to add multiple pools support
for Huawei driver.

Co-Authored-By: Bob-OpenStack liuxinguo@huawei.com
Change-Id: Ibe3b2a123ea5c700d2c2f66d262a8161c5d3e129
Implements: blueprint huawei-storage-multiple-pools-support

9 years agoPort XIVDS8K Driver to use ABCMeta driver model
Alon Marx [Sat, 25 Jul 2015 06:48:36 +0000 (09:48 +0300)]
Port XIVDS8K Driver to use ABCMeta driver model

Use new ABCMeta driver model for XIVDS8KDriver.

Change-Id: I24eae5d3622b950dd8ff4f516258a2a33dcf7847
Partially-implements: blueprint abc-driver-update

9 years agoMerge "Dell SC: Fix legacy bug, init_conn bug and REST API bug."
Jenkins [Sat, 25 Jul 2015 04:40:31 +0000 (04:40 +0000)]
Merge "Dell SC: Fix legacy bug, init_conn bug and REST API bug."

9 years agoMerge "XtremIO volume driver consistency group support"
Jenkins [Sat, 25 Jul 2015 04:25:48 +0000 (04:25 +0000)]
Merge "XtremIO volume driver consistency group support"

9 years agoMerge "Don’t log warnings in Pure initialize_connection"
Jenkins [Sat, 25 Jul 2015 01:45:29 +0000 (01:45 +0000)]
Merge "Don’t log warnings in Pure initialize_connection"

9 years agoMerge "Remove unused serialize_args method"
Jenkins [Sat, 25 Jul 2015 01:31:12 +0000 (01:31 +0000)]
Merge "Remove unused serialize_args method"

9 years agoMerge "Graceful shutdown WSGI/RPC server"
Jenkins [Fri, 24 Jul 2015 15:15:47 +0000 (15:15 +0000)]
Merge "Graceful shutdown WSGI/RPC server"

9 years agoMerge "Remove simple scheduler which is deprecated since Juno"
Jenkins [Fri, 24 Jul 2015 13:58:21 +0000 (13:58 +0000)]
Merge "Remove simple scheduler which is deprecated since Juno"

9 years agoRefactoring of manager's create_volume flow
Michal Dulko [Tue, 21 Jul 2015 10:30:56 +0000 (12:30 +0200)]
Refactoring of manager's create_volume flow

This commit resolves a TODO item (bulk metadata create), rephrases
some comments and makes use of new TaskFlow functionality to save
results of revert command to make decisions in c-vol manager instead
of doing an ugly workaround by injecting the information into exception
raised.

Partial-Implements: blueprint taskflow-refactoring
Depends-On: I82ebd0102aa5f50d98d9d6b48b13cd659d6dbcec
Change-Id: Ia4739c87ca83ae725e16256e3f2c596c5e6d935b

9 years agoRemove unused arguments from c-vol's create_volume
Michal Dulko [Thu, 9 Jul 2015 07:05:10 +0000 (09:05 +0200)]
Remove unused arguments from c-vol's create_volume

Arguments snapshot_id, image_id, source_volid, source_replicaid,
consistencygroup_id and cgsnapshot_id in volume.rpcapi.create_volume
RPC method are duplicated either in request_spec dictionary passed as
one of the arguments or are saved into the databased and are retrieved
by flow processing the request.

To simplify the flow this commit removes these duplicated parameters
and adapts rest of the code to use occurrences that are already there.

Related-Blueprint: taskflow-refactoring
Change-Id: I4dbb57968358e8930b923275c2dfd0e44d7b40d8

9 years agoMerge "VMware:Replace vCenter calls with oslo.vmware calls"
Jenkins [Fri, 24 Jul 2015 09:11:53 +0000 (09:11 +0000)]
Merge "VMware:Replace vCenter calls with oslo.vmware calls"

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Fri, 24 Jul 2015 06:59:19 +0000 (06:59 +0000)]
Updated from global requirements

Change-Id: I9f0773836a392b3a51490dc7cbf334f18407f009

9 years agoMerge "Implement retype for Pure drivers"
Jenkins [Fri, 24 Jul 2015 06:53:00 +0000 (06:53 +0000)]
Merge "Implement retype for Pure drivers"

9 years agoMerge "Revert "Remove X-IO volume driver""
Jenkins [Fri, 24 Jul 2015 06:41:16 +0000 (06:41 +0000)]
Merge "Revert "Remove X-IO volume driver""

9 years agoMerge "Add Cinder internal tenant support"
Jenkins [Fri, 24 Jul 2015 05:51:55 +0000 (05:51 +0000)]
Merge "Add Cinder internal tenant support"

9 years agoMerge "Remove logging statements from migrations"
Jenkins [Fri, 24 Jul 2015 05:42:05 +0000 (05:42 +0000)]
Merge "Remove logging statements from migrations"

9 years agoMerge "Dell SC: Add support for driver retype"
Jenkins [Fri, 24 Jul 2015 03:17:32 +0000 (03:17 +0000)]
Merge "Dell SC: Add support for driver retype"

9 years agoMerge "Removing OpenvStorage for no CI"
Jenkins [Fri, 24 Jul 2015 03:08:23 +0000 (03:08 +0000)]
Merge "Removing OpenvStorage for no CI"

9 years agoAdd I/T mapping check for IBM FlashSystem
Edwin Wang [Mon, 20 Jul 2015 12:25:25 +0000 (20:25 +0800)]
Add I/T mapping check for IBM FlashSystem

No initiator_target_map within properties is needed if no more I/T
connection. Otherwise the FCZone manager will remove the zoning
between I/T. This patch is to add host check in terminate_connection.
If no I/T exists, host will be removed in _unmap_vdisk_from_host.

Closes-Bug: #1469581
Change-Id: Ide5d2f5cb3557bd167f065fc168722c143f8f267

9 years agoMerge "Raise BadRequest for invalid replication status"
Jenkins [Fri, 24 Jul 2015 00:49:13 +0000 (00:49 +0000)]
Merge "Raise BadRequest for invalid replication status"

9 years agoMerge "Fix getting wwpn information in infortrend driver for DS4000"
Jenkins [Fri, 24 Jul 2015 00:49:01 +0000 (00:49 +0000)]
Merge "Fix getting wwpn information in infortrend driver for DS4000"

9 years agoMerge "Fix properties extracting from image with glance api v2"
Jenkins [Fri, 24 Jul 2015 00:48:50 +0000 (00:48 +0000)]
Merge "Fix properties extracting from image with glance api v2"

9 years agoRemove simple scheduler which is deprecated since Juno
Yaguang Tang [Fri, 17 Jul 2015 03:02:22 +0000 (11:02 +0800)]
Remove simple scheduler which is deprecated since Juno

Chance and Simple scheduler functionality can be archived using
FilterScheduler, config details is described here:
http://docs.openstack.org/developer/cinder/api/cinder.scheduler.simple.html
The implementation has been deprecated in Juno,so we can remove
it safely now.

DocImpact

Change-Id: I92b302ea0404a35328bd7a36739c3e7846898392

9 years agoLVM: Support efficient data copy for LVM driver
Mitsuhiro Tanino [Thu, 9 Jul 2015 20:04:25 +0000 (16:04 -0400)]
LVM: Support efficient data copy for LVM driver

The create_volume_from_snapshot() and migrate_volume() use
dd command for data copy, but the copy always copies full blocks
even if the source data contains many null or zero blocks.
When we use thin provisioned LVM, blocks are not pre-allocated,
so unused region returns zero.
If we copy full block for destination volume, unnecessary blocks
will be allocated and the usage will be 100%.

The dd command has conv=sparse option in order to copy data more
efficiently. This patch enables conv=sparse option for
create_volume_from_snapshot() and migrate_volume() when we use
thin provisioned LVM.

Change-Id: I104c4127bc4a33da9c11ad2aac93766f862e2981
Closes-bug: #1472486

9 years agoMerge "Remove "volume:services" rule from policy.json"
Jenkins [Thu, 23 Jul 2015 23:34:54 +0000 (23:34 +0000)]
Merge "Remove "volume:services" rule from policy.json"

9 years agoMerge "Move volume.api test to correct location"
Jenkins [Thu, 23 Jul 2015 23:30:18 +0000 (23:30 +0000)]
Merge "Move volume.api test to correct location"

9 years agoImplement retype for Pure drivers
Patrick East [Thu, 23 Jul 2015 23:02:43 +0000 (16:02 -0700)]
Implement retype for Pure drivers

Currently retyping on the same backend requires a migration to occur
due to using the default implementation of retype on the base volume
driver.

Volumes on the Pure arrays do not have any differentiation
between volume types Cinder may be using. Because of this we can
implement a retype method that will be used whenever changing
types on the same backend that essentially does nothing except return.

Change-Id: Ibf4c57166fe5742cc7e079c4422f7efd2b6dce79
Closes-Bug: 1477780

9 years agoMerge "Filter cgsnapshots data on the DB side"
Jenkins [Thu, 23 Jul 2015 19:49:14 +0000 (19:49 +0000)]
Merge "Filter cgsnapshots data on the DB side"

9 years agoDell SC: Add support for driver retype
Sean McGinnis [Wed, 24 Jun 2015 21:55:33 +0000 (16:55 -0500)]
Dell SC: Add support for driver retype

Previously there was no need to support retype by the driver
since any kind of retyping would require migration. With the
addition of the ability to set specific Storage Profiles to
use by commit Icf76fceca5a0ae20bb08b276b0c41ef6cdb31087 we
now have something the driver can handle to optimize the
retyping operation.

This adds handling for changes in the selected Storage Profile
if the backend stays the same. Any other retype changes will
return failure, resulting in it falling back to full volume
migration.

Change-Id: I18c55e0392e18d1686546ba17cb99b53b7b50566

9 years agoMerge "Rename filename from il8n.rst to i18n.rst"
Jenkins [Thu, 23 Jul 2015 17:09:05 +0000 (17:09 +0000)]
Merge "Rename filename from il8n.rst to i18n.rst"

9 years agoEMC VMAX Modify CG
Xing Yang [Tue, 23 Jun 2015 20:49:37 +0000 (16:49 -0400)]
EMC VMAX Modify CG

This patch adds support for modify CG in VMAX driver.

implements blueprint emc-vmax-modify-cg

Change-Id: I23087f6b15dd305fa4e882ea4d8f30414a63c9c8

9 years agoXtremIO volume driver consistency group support
Shay Halsband [Thu, 21 May 2015 18:34:18 +0000 (21:34 +0300)]
XtremIO volume driver consistency group support

- Adding consistency group support using XtremIO REST API V2.
- Implements all OpenStack CG volume driver interfaces using XtremIO CG
  capabilities.

Partial-Implements: blueprint emc-xtremio-updates
Change-Id: I2ddf629b0c97a849a2c95ca4a8b7a4dd4adccbec

9 years agoAdd Cinder internal tenant support
Patrick East [Tue, 23 Jun 2015 00:38:30 +0000 (17:38 -0700)]
Add Cinder internal tenant support

This adds two new config options as well as a
helper method to get a RequestContext for the
Cinder internal tenant.

The current implementation will not create a
request context that can be used for calls to
other services, it is (as the name implies) only
for internal Cinder operations.

DocImpact: This adds new config steps that should
be covered in the Cinder docs including the new config
options: 'cinder_internal_tenant_project_id' and
'cinder_internal_tenant_user_id'

Implements: blueprint cinder-internal-tenant
Change-Id: I0c3263e71cf1a275a4538c35ebe1c7d750bb16e6

9 years agoMerge "Add drivers list generator"
Jenkins [Thu, 23 Jul 2015 14:15:53 +0000 (14:15 +0000)]
Merge "Add drivers list generator"

9 years agoMerge "Prevent missing Purity hosts from raising errors"
Jenkins [Thu, 23 Jul 2015 14:11:55 +0000 (14:11 +0000)]
Merge "Prevent missing Purity hosts from raising errors"

9 years agoMerge "Backups: allow name to be specified during restore"
Jenkins [Thu, 23 Jul 2015 14:02:22 +0000 (14:02 +0000)]
Merge "Backups: allow name to be specified during restore"

9 years agoMerge "Non-disruptive backup"
Jenkins [Thu, 23 Jul 2015 13:11:15 +0000 (13:11 +0000)]
Merge "Non-disruptive backup"

9 years agoVMware:Replace vCenter calls with oslo.vmware calls
Vipin Balachandran [Wed, 15 Jul 2015 08:14:09 +0000 (13:44 +0530)]
VMware:Replace vCenter calls with oslo.vmware calls

Currently we call vCenter APIs to find storage policy
associated with a volume. There are methods defined
in oslo.vmware to query storage policies. This patch
replaces vCenter API calls with oslo.vmware method
calls.

Change-Id: I54e18e50e8423de51c43a277e701ddc9a9aef6da