]> review.fuel-infra Code Review - openstack-build/cinder-build.git/log
openstack-build/cinder-build.git
9 years agoMerge "Fix logging mistake in swift backup driver"
Jenkins [Fri, 20 Mar 2015 11:00:32 +0000 (11:00 +0000)]
Merge "Fix logging mistake in swift backup driver"

9 years agoMerge "Fix SAN generic driver ssh whitespaced commands"
Jenkins [Fri, 20 Mar 2015 07:50:06 +0000 (07:50 +0000)]
Merge "Fix SAN generic driver ssh whitespaced commands"

9 years agoMerge "Removing Windows drivers for no reported CI"
Jenkins [Fri, 20 Mar 2015 07:49:53 +0000 (07:49 +0000)]
Merge "Removing Windows drivers for no reported CI"

9 years agoMerge "Remove error messages from multipath command output before parsing"
Jenkins [Fri, 20 Mar 2015 07:32:29 +0000 (07:32 +0000)]
Merge "Remove error messages from multipath command output before parsing"

9 years agoMerge "Removing Huawei drivers for no reported CI"
Jenkins [Fri, 20 Mar 2015 05:45:40 +0000 (05:45 +0000)]
Merge "Removing Huawei drivers for no reported CI"

9 years agoMerge "Removing Zadara driver for no reported CI"
Jenkins [Fri, 20 Mar 2015 01:37:31 +0000 (01:37 +0000)]
Merge "Removing Zadara driver for no reported CI"

9 years agoRemoving Windows drivers for no reported CI
Mike Perez [Fri, 20 Mar 2015 01:32:04 +0000 (18:32 -0700)]
Removing Windows drivers for no reported CI

CI deadlines were set and pushed since last year. An email about this
requirement and the deadline of March 19th 2015 has been sent to each
individual driver maintainer, as well as the mailing list [1]. This
driver is being removed because the maintainer does not have a CI
reporting to ensure their driver integration is successful. Therfore, we
can not validate the driver is working in Cinder today in a continuous
way.

DocImpact
[1]- http://lists.openstack.org/pipermail/openstack-dev/2015-January/054614.html

Change-Id: Idd348bb81680c3f06a3a732d7e2ae657cceaa6f2

9 years agoMerge "Removing Netapp FC drivers for no reported CI"
Jenkins [Fri, 20 Mar 2015 00:34:18 +0000 (00:34 +0000)]
Merge "Removing Netapp FC drivers for no reported CI"

9 years agoMerge "Removing DRBD driver for no reported CI"
Jenkins [Fri, 20 Mar 2015 00:34:08 +0000 (00:34 +0000)]
Merge "Removing DRBD driver for no reported CI"

9 years agoMerge "Removing Fujitsu driver for no reported CI"
Jenkins [Fri, 20 Mar 2015 00:33:55 +0000 (00:33 +0000)]
Merge "Removing Fujitsu driver for no reported CI"

9 years agoMerge "Removing FusionIO driver for no reported CI"
Jenkins [Fri, 20 Mar 2015 00:33:36 +0000 (00:33 +0000)]
Merge "Removing FusionIO driver for no reported CI"

9 years agoMerge "Removing Nexenta driver for no reported CI"
Jenkins [Fri, 20 Mar 2015 00:33:24 +0000 (00:33 +0000)]
Merge "Removing Nexenta driver for no reported CI"

9 years agoMerge "Removing Symantec NFS driver for no reported CI"
Jenkins [Fri, 20 Mar 2015 00:33:11 +0000 (00:33 +0000)]
Merge "Removing Symantec NFS driver for no reported CI"

9 years agoMerge "Removing StorPool driver for no reported CI"
Jenkins [Fri, 20 Mar 2015 00:32:55 +0000 (00:32 +0000)]
Merge "Removing StorPool driver for no reported CI"

9 years agoMerge "Removing ZFSSA driver for no reported CI"
Jenkins [Fri, 20 Mar 2015 00:24:33 +0000 (00:24 +0000)]
Merge "Removing ZFSSA driver for no reported CI"

9 years agoMerge "Removing Coraid driver for no reported CI"
Jenkins [Thu, 19 Mar 2015 21:58:54 +0000 (21:58 +0000)]
Merge "Removing Coraid driver for no reported CI"

9 years agoMerge "Removing HP MSA driver for no reported CI"
Jenkins [Thu, 19 Mar 2015 21:58:39 +0000 (21:58 +0000)]
Merge "Removing HP MSA driver for no reported CI"

9 years agoMerge "Make the 3PAR drivers honor the pool in create"
Jenkins [Thu, 19 Mar 2015 21:42:13 +0000 (21:42 +0000)]
Merge "Make the 3PAR drivers honor the pool in create"

9 years agoMerge "Add retry to create resource in Datera driver"
Jenkins [Thu, 19 Mar 2015 21:26:42 +0000 (21:26 +0000)]
Merge "Add retry to create resource in Datera driver"

9 years agoFix logging mistake in swift backup driver
Michal Dulko [Thu, 19 Mar 2015 20:53:46 +0000 (21:53 +0100)]
Fix logging mistake in swift backup driver

After recent swift driver refactoring a small mistake was introduced
causing c-bak to log an exception because of wrong number of arguments
to format a string. This commit fixes the issue.

Change-Id: I2e322ae6a2495771c89fa25ab5474da20eecc80d
Closes-Bug: 1434188

9 years agoRemoving Zadara driver for no reported CI
Mike Perez [Thu, 19 Mar 2015 20:37:32 +0000 (13:37 -0700)]
Removing Zadara driver for no reported CI

CI deadlines were set and pushed since last year. An email about this
requirement and the deadline of March 19th 2015 has been sent to each
individual driver maintainer, as well as the mailing list [1]. This
driver is being removed because the maintainer does not have a CI
reporting to ensure their driver integration is successful. Therfore, we
can not validate the driver is working in Cinder today in a continuous
way.

DocImpact
[1]-
http://lists.openstack.org/pipermail/openstack-dev/2015-January/054614.html

Change-Id: I016e22c857f520a7eb79e1ed5b36735a97f68b68

9 years agoRemoving Huawei drivers for no reported CI
Mike Perez [Thu, 19 Mar 2015 19:38:55 +0000 (12:38 -0700)]
Removing Huawei drivers for no reported CI

CI deadlines were set and pushed since last year. An email about this
requirement and the deadline of March 19th 2015 has been sent to each
individual driver maintainer, as well as the mailing list [1]. This
driver is being removed because the maintainer does not have a CI
reporting to ensure their driver integration is successful. Therfore, we
can not validate the driver is working in Cinder today in a continuous
way.

DocImpact
[1]- http://lists.openstack.org/pipermail/openstack-dev/2015-January/054614.html

Change-Id: I0599a8721b14ba4f2a255188b71be6d62ae8cc1a

9 years agoRemoving Netapp FC drivers for no reported CI
Mike Perez [Thu, 19 Mar 2015 20:02:10 +0000 (13:02 -0700)]
Removing Netapp FC drivers for no reported CI

CI deadlines were set and pushed since last year. An email about this
requirement and the deadline of March 19th 2015 has been sent to each
individual driver maintainer, as well as the mailing list [1]. This
driver is being removed because the maintainer does not have a CI
reporting to ensure their driver integration is successful. Therfore, we
can not validate the driver is working in Cinder today in a continuous
way.

DocImpact
[1]- http://lists.openstack.org/pipermail/openstack-dev/2015-January/054614.html

Change-Id: I85ed137ddb1929509f9930cd1de91671dde3db42

9 years agoRemoving Fujitsu driver for no reported CI
Mike Perez [Thu, 19 Mar 2015 19:12:45 +0000 (12:12 -0700)]
Removing Fujitsu driver for no reported CI

CI deadlines were set and pushed since last year. An email about this
requirement and the deadline of March 19th 2015 has been sent to each
individual driver maintainer, as well as the mailing list [1]. This
driver is being removed because the maintainer has chosen not to respond
to the CI deadline email and report a CI to ensure their driver
integration is successful. Therfore, we can not validate the driver is
working in Cinder today in a continuous way.

DocImpact
[1] - http://lists.openstack.org/pipermail/openstack-dev/2015-January/054614.html

Change-Id: Ibe9a3cc9831a1ef4aa7cbdb15e09bced353c738a

9 years agoRemoving DRBD driver for no reported CI
Mike Perez [Thu, 19 Mar 2015 19:44:38 +0000 (12:44 -0700)]
Removing DRBD driver for no reported CI

CI deadlines were set and pushed since last year. An email about this
requirement and the deadline of March 19th 2015 has been sent to each
individual driver maintainer, as well as the mailing list [1]. This
driver is being removed because the maintainer does not have a CI
reporting to ensure their driver integration is successful. Therfore, we
can not validate the driver is working in Cinder today in a continuous
way.

DocImpact
[1]- http://lists.openstack.org/pipermail/openstack-dev/2015-January/054614.html

Change-Id: If4b119ec6ca80dcf28530e77e1f98bda04ba6eab

9 years agoRemoving FusionIO driver for no reported CI
Mike Perez [Thu, 19 Mar 2015 19:29:30 +0000 (12:29 -0700)]
Removing FusionIO driver for no reported CI

CI deadlines were set and pushed since last year. An email about this
requirement and the deadline of March 19th 2015 has been sent to each
individual driver maintainer, as well as the mailing list [1]. This
driver is being removed because the maintainer has chosen not to respond
to the CI deadline email and report a CI to ensure their driver
integration is successful. Therfore, we can not validate the driver is
working in Cinder today in a continuous way.

DocImpact
[1] - http://lists.openstack.org/pipermail/openstack-dev/2015-January/054614.html

Change-Id: Ic5881eec84e3069f80543bb20b0132ddb20d90ad

9 years agoRemoving Nexenta driver for no reported CI
Mike Perez [Thu, 19 Mar 2015 17:51:36 +0000 (10:51 -0700)]
Removing Nexenta driver for no reported CI

CI deadlines were set and pushed since last year. An email about this
requirement and the deadline of March 19th 2015 has been sent to each
individual driver maintainer, as well as the mailing list [1]. This
driver is being removed because the maintainer does not have a CI
reporting to ensure their driver integration is successful. Therfore, we
can not validate the driver is working in Cinder today in a continuous
way.

DocImpact
[1]- http://lists.openstack.org/pipermail/openstack-dev/2015-January/054614.html

Change-Id: I732612e671c57c0b611f1016f22c89a886a317f7

9 years agoRemoving Symantec NFS driver for no reported CI
Mike Perez [Thu, 19 Mar 2015 18:15:01 +0000 (11:15 -0700)]
Removing Symantec NFS driver for no reported CI

CI deadlines were set and pushed since last year. An email about this
requirement and the deadline of March 19th 2015 has been sent to each
individual driver maintainer, as well as the mailing list [1]. This
driver is being removed because the maintainer does not have a CI
reporting to ensure their driver integration is successful. Therfore, we
can not validate the driver is working in Cinder today in a continuous
way.

DocImpact
[1]- http://lists.openstack.org/pipermail/openstack-dev/2015-January/054614.html

Change-Id: I38b66f8df30508704df6081f18a09a3a12853858

9 years agoRemoving StorPool driver for no reported CI
Mike Perez [Thu, 19 Mar 2015 19:25:19 +0000 (12:25 -0700)]
Removing StorPool driver for no reported CI

CI deadlines were set and pushed since last year. An email about this
requirement and the deadline of March 19th 2015 has been sent to each
individual driver maintainer, as well as the mailing list [1]. This
driver is being removed because the maintainer does not have a CI
reporting to ensure their driver integration is successful. Therfore, we
can not validate the driver is working in Cinder today in a continuous
way.

DocImpact
[1]- http://lists.openstack.org/pipermail/openstack-dev/2015-January/054614.html

Change-Id: I024d97038f6e027bd5f154d2933438847962fcb4

9 years agoRemoving ZFSSA driver for no reported CI
Mike Perez [Thu, 19 Mar 2015 19:20:16 +0000 (12:20 -0700)]
Removing ZFSSA driver for no reported CI

CI deadlines were set and pushed since last year. An email about this
requirement and the deadline of March 19th 2015 has been sent to each
individual driver maintainer, as well as the mailing list [1]. This
driver is being removed because the maintainer does not have a CI
reporting to ensure their driver integration is successful. Therfore, we
can not validate the driver is working in Cinder today in a continuous
way.

DocImpact
[1]- http://lists.openstack.org/pipermail/openstack-dev/2015-January/054614.html
Change-Id: I5126ee5c56d2a7382e67626d28197eafa5940be5

9 years agoMerge "Revert "Datera's export to avoid deprecated keys""
Jenkins [Thu, 19 Mar 2015 18:55:52 +0000 (18:55 +0000)]
Merge "Revert "Datera's export to avoid deprecated keys""

9 years agoMake the 3PAR drivers honor the pool in create
Walter A. Boring IV [Wed, 18 Mar 2015 21:11:45 +0000 (14:11 -0700)]
Make the 3PAR drivers honor the pool in create

Currently, the 3PAR drivers rely on the pool (CPG) existing
in the extra specs of a volume type.   This is the way that the
3PAR drivers supported the idea of 'pools' prior to Cinder
itself supporting pools.

Now, the 3PAR drivers will not use the CPG specified in the
extra specs of a volume type.   The drivers will log a warning
explaining that CPG is deprecated, and then override the CPG
setting with the pool name specified by the scheduler in the
volume['host'] entry.    This fixes a few bugs in the 3PAR
drivers.

Existing 3PAR deployments will need to update their cinder.conf
to specify the list of CPGs they want the driver to support as
pools in the hp3par_cpg=[list of cpgs] entry.  hp3par_cpg can be
a single CPG, or a comma separated list of CPGS.

The 3PAR best practice guide will be updated for the Kilo release
explaining how to upgrade from existing deployments and describe
how best to use CPGS as pools.

Closes-Bug: #1432876
DocImpact

Change-Id: I2c733ff3f13ba309cc07e07331b4945b1981a07a

9 years agoRemoving HP MSA driver for no reported CI
Mike Perez [Thu, 19 Mar 2015 18:08:37 +0000 (11:08 -0700)]
Removing HP MSA driver for no reported CI

CI deadlines were set and pushed since last year. An email about this
requirement and the deadline of March 19th 2015 has been sent to each
individual driver maintainer, as well as the mailing list [1]. This
driver is being removed because it's not supported, so it won't have
a CI reporting to ensure their driver integration is successful.
Therfore, we can not validate the driver is working in Cinder today in
a continuous way.

DocImpact
[1]- http://lists.openstack.org/pipermail/openstack-dev/2015-January/054614.html

Change-Id: Ia6681e943ffb807ff6b3064976f6ef8eb3259e65

9 years agoMerge "Fix retype return value in volume driver base class"
Jenkins [Thu, 19 Mar 2015 18:05:42 +0000 (18:05 +0000)]
Merge "Fix retype return value in volume driver base class"

9 years agoMerge "Fix retype arguments in volume driver base class"
Jenkins [Thu, 19 Mar 2015 18:03:16 +0000 (18:03 +0000)]
Merge "Fix retype arguments in volume driver base class"

9 years agoMerge "Fix allocated_capacity tracking when rescheduling"
Jenkins [Thu, 19 Mar 2015 17:51:06 +0000 (17:51 +0000)]
Merge "Fix allocated_capacity tracking when rescheduling"

9 years agoRemoving Coraid driver for no reported CI
Mike Perez [Thu, 19 Mar 2015 04:56:39 +0000 (21:56 -0700)]
Removing Coraid driver for no reported CI

CI deadlines were set and pushed since last year. An email about this
requirement and the deadline of March 19th 2015 has been sent to each
individual driver maintainer, as well as the mailing list [1]. This
driver is being removed because the maintainer has chosen not to respond
to the CI deadline email and report a CI to ensure their driver
integration is successful. Therfore, we can not validate the driver is
working in Cinder today in a continuous way.

DocImpact
[1] - http://lists.openstack.org/pipermail/openstack-dev/2015-January/054614.html

Change-Id: I033960c21db91c3150daeffa3dae38005b7ef39b

9 years agoAdd retry to create resource in Datera driver
Mike Perez [Wed, 18 Mar 2015 09:19:45 +0000 (02:19 -0700)]
Add retry to create resource in Datera driver

If the volume is still in a creating state, wait, and retry a few times.
Otherwise, raise an exception for the manager to set the volume into an
error state.

Closes-Bug: #1433543
Change-Id: If49fd9229f08301cedbd63399fe46475e73a83ef

9 years agoMerge "Windows iSCSI driver: Fixes copy disk method exception handling"
Jenkins [Thu, 19 Mar 2015 17:11:30 +0000 (17:11 +0000)]
Merge "Windows iSCSI driver: Fixes copy disk method exception handling"

9 years agoMerge "Change datetime.now() to timeutils.utcnow() from oslo_utils"
Jenkins [Thu, 19 Mar 2015 16:19:31 +0000 (16:19 +0000)]
Merge "Change datetime.now() to timeutils.utcnow() from oslo_utils"

9 years agoChange datetime.now() to timeutils.utcnow() from oslo_utils
Yuriy Nesenenko [Fri, 27 Feb 2015 14:06:03 +0000 (16:06 +0200)]
Change datetime.now() to timeutils.utcnow() from oslo_utils

We use an UTC time to avoid the difference with time zones.

Change-Id: I15aa3b5d3337b90ccdcc6c4ac5d3c7d78108fe21
Related-Bug: #1288979

9 years agoMerge "Update Violin REST client library name"
Jenkins [Thu, 19 Mar 2015 05:45:39 +0000 (05:45 +0000)]
Merge "Update Violin REST client library name"

9 years agoMerge "Add minimum qemu-img version check functions"
Jenkins [Thu, 19 Mar 2015 05:16:50 +0000 (05:16 +0000)]
Merge "Add minimum qemu-img version check functions"

9 years agoMerge "cinder-manage man update"
Jenkins [Thu, 19 Mar 2015 05:16:39 +0000 (05:16 +0000)]
Merge "cinder-manage man update"

9 years agoMerge "Remove the reference of volume['instance_uuid']in VNX driver"
Jenkins [Thu, 19 Mar 2015 05:12:08 +0000 (05:12 +0000)]
Merge "Remove the reference of volume['instance_uuid']in VNX driver"

9 years agoMerge "EMC: Fix use of "_" as variable name"
Jenkins [Thu, 19 Mar 2015 05:11:51 +0000 (05:11 +0000)]
Merge "EMC: Fix use of "_" as variable name"

9 years agoMerge "Don't override extra specs with config in VMAX"
Jenkins [Thu, 19 Mar 2015 05:11:39 +0000 (05:11 +0000)]
Merge "Don't override extra specs with config in VMAX"

9 years agoMerge "Return updated volume object to the caller of _attach_volume()"
Jenkins [Thu, 19 Mar 2015 05:06:48 +0000 (05:06 +0000)]
Merge "Return updated volume object to the caller of _attach_volume()"

9 years agoMerge "Check license before clone in VMAX driver"
Jenkins [Thu, 19 Mar 2015 00:59:15 +0000 (00:59 +0000)]
Merge "Check license before clone in VMAX driver"

9 years agoMerge "Reduce configured file size for nfs backup unit tests"
Jenkins [Wed, 18 Mar 2015 22:00:22 +0000 (22:00 +0000)]
Merge "Reduce configured file size for nfs backup unit tests"

9 years agoMerge "Sort snapshots in create CG from CG snapshot"
Jenkins [Wed, 18 Mar 2015 21:16:20 +0000 (21:16 +0000)]
Merge "Sort snapshots in create CG from CG snapshot"

9 years agoMerge "Change default value of gpfs_images_share_mode to None"
Jenkins [Wed, 18 Mar 2015 19:16:59 +0000 (19:16 +0000)]
Merge "Change default value of gpfs_images_share_mode to None"

9 years agoRemove error messages from multipath command output before parsing
tsekiyam [Tue, 17 Mar 2015 23:59:08 +0000 (19:59 -0400)]
Remove error messages from multipath command output before parsing

This fixes an issue in _get_multipath_device_name() that fails to
parse the output from 'multipath -ll <device>' command when the
stdout contains error messages in addition to the expected output.

Change-Id: I498edd950627daca01eaf6343e6d742440ca4b04
Related-Bug: #1380742
Closes-Bug: #1433202

9 years agoReturn updated volume object to the caller of _attach_volume()
Mitsuhiro Tanino [Wed, 18 Mar 2015 15:48:25 +0000 (11:48 -0400)]
Return updated volume object to the caller of _attach_volume()

Currently, migrate volume between two back-ends using LIO scsi
target fails due to the error of "Unable to terminate volume
connection: 'NoneType' object has no attribute 'split'".

The root cause of this error is _detach_volume() during volume
migration does not use updated volume object which is updated
during _attach_volume() by create_export().
As a result terminate_connection() which is called from
_detach_volume() tries to split volume['provider_location']
even if the entry is None and causes above error.

Also same error would be happened following methods.

- copy_volume_data(-> volume migration)
- backup_volume
- restore_backup
- copy_image_to_volume
- copy_volume_to_image

This change adds updated volume as an additional return value
for _attach_volume().

Change-Id: I7b76941d8b2e761c2c0147b13a201583d7e0a1c4
Closes-Bug: #1433360

9 years agoFix SAN generic driver ssh whitespaced commands
Kallebe Monteiro [Fri, 6 Mar 2015 19:03:39 +0000 (16:03 -0300)]
Fix SAN generic driver ssh whitespaced commands

SAN driver was sending commands over ssh with whitespaces between
every character resulting in commands like "u n a m e - s" instead
of "uname -s" (example from bug report).

As the bug reporter noted, the problem was that there were two joins
in the process of mounting the command. The first one got the
tuple and joined into a string. The second one joined a whitespace
between each character of the string.

Additionally, this behavior made utils.ssh_injection a bad check,
because it expected a list of args used in 'for arg in cmd_list' and
what it got was a single string. This resulted in the check being made
over the single characters instead of each arg.

All this is to explain why I chose to remove the first join instead of
the second one.

An unit test for this issue was created. SAN driver had no unit test.

Change-Id: I8e8624f2b82c26522936adf05e637a7bbe34a069
Closes-Bug: #1422604

9 years agoEMC: Fix use of "_" as variable name
Vipin Balachandran [Thu, 12 Mar 2015 22:21:30 +0000 (15:21 -0700)]
EMC: Fix use of "_" as variable name

Variables with name "_" will clash with translation lookup
function "_" in cinder.i18n. This patch fixes usage of "_"
as variable name.

Change-Id: I4f03dcfd7b92dcae78e741486ded7028e481d0ee

9 years agoReduce configured file size for nfs backup unit tests
Tom Barron [Mon, 16 Mar 2015 07:43:18 +0000 (03:43 -0400)]
Reduce configured file size for nfs backup unit tests

Unit tests that were ported from the Swift backup
service for NFS backup trigger memory errors when
run in tox on a 1GB VM.  This commit configures
NFS backup 'backup_file_size' to match the default
Swift 'chunk_size' so that the NFS backup unit test
memory consumption is dialed down to match the Swift
unit tests.

Closes-Bug: 1432687

Change-Id: I4b71d47190179b97baefe9bc390276f720670919

9 years agotests: remove useless variable
Julien Danjou [Mon, 2 Mar 2015 11:07:09 +0000 (12:07 +0100)]
tests: remove useless variable

Change-Id: Ieb0871e0da707d34338c0aa7b2bafccf9267b3d0

9 years agoRevert "Datera's export to avoid deprecated keys"
Mike Perez [Mon, 16 Mar 2015 02:59:43 +0000 (19:59 -0700)]
Revert "Datera's export to avoid deprecated keys"

The changes on the Datera solution have been reverted, so the driver
is being updated as well.

This reverts commit a754f317a708d9932aea743588468f0bb1cabdbb.

Change-Id: I369abca84d224c71b0ea7c55d0ecda8db9a76759

9 years agoMerge "Fix typo in log message"
Jenkins [Wed, 18 Mar 2015 07:52:13 +0000 (07:52 +0000)]
Merge "Fix typo in log message"

9 years agoMerge "Raise exception for invalid mock assert calls"
Jenkins [Wed, 18 Mar 2015 07:47:09 +0000 (07:47 +0000)]
Merge "Raise exception for invalid mock assert calls"

9 years agoMerge "Fix some issues with pool name sent to SVC"
Jenkins [Wed, 18 Mar 2015 07:46:55 +0000 (07:46 +0000)]
Merge "Fix some issues with pool name sent to SVC"

9 years agoDon't override extra specs with config in VMAX
Xing Yang [Mon, 9 Mar 2015 15:18:11 +0000 (11:18 -0400)]
Don't override extra specs with config in VMAX

A recent merge in https://review.openstack.org/#/c/157679
brought in regression because it tied volume type extra specs to
config file settings.

This patch rolled back most of the changes and don't let extra specs
be overwritten by the config file settings. Intervals and retries
will be read from the config file.

Partial-Bug: #1425641
Change-Id: I7b7959d64f9cc5e954d03f56f6a37021c4c0e9e1

9 years agoCheck license before clone in VMAX driver
Xing Yang [Thu, 26 Feb 2015 17:27:16 +0000 (12:27 -0500)]
Check license before clone in VMAX driver

This patch checks if a license for clone is available before
doing the clone operation.

Change-Id: I69d009b2cac775c301e9a5254079238b2b2a3b10
Closes-Bug: #1385450

9 years agoMerge "Fixing mount when state_path is configured with a final '/'"
Jenkins [Tue, 17 Mar 2015 22:03:32 +0000 (22:03 +0000)]
Merge "Fixing mount when state_path is configured with a final '/'"

9 years agoMerge "Decrement remaining retries after failed REST call."
Jenkins [Tue, 17 Mar 2015 21:40:48 +0000 (21:40 +0000)]
Merge "Decrement remaining retries after failed REST call."

9 years agoMerge "SMBFS: Fix retrieving the volume path and format"
Jenkins [Tue, 17 Mar 2015 18:24:25 +0000 (18:24 +0000)]
Merge "SMBFS: Fix retrieving the volume path and format"

9 years agoMerge "Make unused iscsi_num_targets, iser_num_targets configs as deprecated"
Jenkins [Tue, 17 Mar 2015 18:14:58 +0000 (18:14 +0000)]
Merge "Make unused iscsi_num_targets, iser_num_targets configs as deprecated"

9 years agoFixing mount when state_path is configured with a final '/'
Rushil Chugh [Thu, 5 Mar 2015 22:16:26 +0000 (17:16 -0500)]
Fixing mount when state_path is configured with a final '/'

If state_path variable is configured with a final '/' on path, then
mount_path variable is created with wrong syntax. This causes
a failure when the c-vol process tries to mount the filesystem.

This patch proposes to fix the aforementioned problem by checking
the validity of the mount point and fixing the mount point in case
it has an incorrect value.

Closes-bug: 1425551

Change-Id: I9fe50fe07953fb5e94da467a7446528e5030e41b

9 years agoMerge "Fixed the order of mock decorators in VMAX driver"
Jenkins [Tue, 17 Mar 2015 04:27:55 +0000 (04:27 +0000)]
Merge "Fixed the order of mock decorators in VMAX driver"

9 years agoMerge "VMware: Fail immediately for images in a container"
Jenkins [Tue, 17 Mar 2015 04:27:44 +0000 (04:27 +0000)]
Merge "VMware: Fail immediately for images in a container"

9 years agoMerge "VMware: Relocate volume to compliant datastore"
Jenkins [Tue, 17 Mar 2015 04:27:10 +0000 (04:27 +0000)]
Merge "VMware: Relocate volume to compliant datastore"

9 years agoMerge "i18n Compatibility in VMAX driver"
Jenkins [Tue, 17 Mar 2015 04:26:58 +0000 (04:26 +0000)]
Merge "i18n Compatibility in VMAX driver"

9 years agoUpdate Violin REST client library name
Ryan Lucio [Tue, 10 Mar 2015 00:00:09 +0000 (17:00 -0700)]
Update Violin REST client library name

Fixed all drivers and tests to use the 'vmemclient' library.

Change-Id: I337e67ecd7c45d7b28e1bc4a551245ec0705ea31
Closes-bug: 1430009

9 years agoMerge "Remove use of contextlib.nested"
Jenkins [Tue, 17 Mar 2015 03:15:48 +0000 (03:15 +0000)]
Merge "Remove use of contextlib.nested"

9 years agoMerge "Increase LeftHand driver minimum client version"
Jenkins [Tue, 17 Mar 2015 03:14:40 +0000 (03:14 +0000)]
Merge "Increase LeftHand driver minimum client version"

9 years agoMerge "Remove global mocking from test_pure.py"
Jenkins [Tue, 17 Mar 2015 03:10:07 +0000 (03:10 +0000)]
Merge "Remove global mocking from test_pure.py"

9 years agoRemove the reference of volume['instance_uuid']in VNX driver
Tina [Mon, 16 Mar 2015 22:55:31 +0000 (18:55 -0400)]
Remove the reference of volume['instance_uuid']in VNX driver

Multiattach feature removed the column 'instance_uuid' and
'attached_host' from volume DB model. However, these 2 fields are
used by VNX driver to determine the volume's original status
in retype. This patch changed the VNX driver to not use those
removed fields.

Change-Id: I4b4820d93e784913eeb7e485439d5f434141bcb9
Closes-Bug: 1432925

9 years agoMerge "VMware:Use datastore selection logic in new module"
Jenkins [Tue, 17 Mar 2015 01:40:27 +0000 (01:40 +0000)]
Merge "VMware:Use datastore selection logic in new module"

9 years agoMerge "VMware: Refactor initialize_connection unit tests"
Jenkins [Tue, 17 Mar 2015 01:40:15 +0000 (01:40 +0000)]
Merge "VMware: Refactor initialize_connection unit tests"

9 years agoMerge "Huawei driver check before associating LUN to a LUN group"
Jenkins [Tue, 17 Mar 2015 01:40:03 +0000 (01:40 +0000)]
Merge "Huawei driver check before associating LUN to a LUN group"

9 years agoMerge "Fixed a concurrency issue in VMAX driver"
Jenkins [Tue, 17 Mar 2015 01:35:22 +0000 (01:35 +0000)]
Merge "Fixed a concurrency issue in VMAX driver"

9 years agoIncrease LeftHand driver minimum client version
Anthony Lee [Mon, 16 Mar 2015 23:48:34 +0000 (16:48 -0700)]
Increase LeftHand driver minimum client version

An error was occuring during LeftHand driver initialization when
an older LeftHand client was installed.

The minimum client version needed to be updated.

Closes-Bug: 1432757
Change-Id: Ifb6bc989a50ed9d051a72c065d8a7287a8570d1e

9 years agoDecrement remaining retries after failed REST call.
Richard Hedlind [Wed, 11 Mar 2015 05:46:48 +0000 (23:46 -0600)]
Decrement remaining retries after failed REST call.

Also, update unit test to properly test the retry path.

Change-Id: I89863a44102bdeebce09de80fa5c5131af67f564
Closes-Bug: #1429283

9 years agoVMware: Fail immediately for images in a container
Vipin Balachandran [Wed, 14 Jan 2015 19:03:52 +0000 (00:33 +0530)]
VMware: Fail immediately for images in a container

Currently VMDK driver doesn't support images within
a container such as OVA. Instead of throwing an error
immediately, the driver tries to create a backing
using the container as its vmdk. This will eventually
fail with vCenter error. This patch fixes it.

Change-Id: Ie97a3a63807d00880310f2a7e5f6d32ee89d2cd7
Closes-Bug: #1371478

9 years agoMake unused iscsi_num_targets, iser_num_targets configs as deprecated
Mitsuhiro Tanino [Tue, 3 Mar 2015 22:49:03 +0000 (17:49 -0500)]
Make unused iscsi_num_targets, iser_num_targets configs as deprecated

After introducing new iscsi target driver model via Change-Id:
I43190d1dac33748fe55fa00f260f32ab209be656, configuration
options of iscsi_num_targets and iser_num_targets are not
used in these new scsi targets.

This patch makes these unused configuration options as
deprecated and adds warning messages to notify future removal
of these configs to users.

Also this patch removes _ensure_iscsi_targets() which uses these
two config options from cxt scsi target because this method is
never called anywhere.

Closes-Bug: #1427904
DocImpact: Two unused config options are deprecated
Change-Id: Ic34910f4765f46e2708de7cb686e49418f486709

9 years agoMerge "Error trying to delete snapshots on Hitachi driver"
Jenkins [Mon, 16 Mar 2015 18:33:40 +0000 (18:33 +0000)]
Merge "Error trying to delete snapshots on Hitachi driver"

9 years agoMerge "Fix unit tests for multiattach patch"
Jenkins [Mon, 16 Mar 2015 18:30:06 +0000 (18:30 +0000)]
Merge "Fix unit tests for multiattach patch"

9 years agoRaise exception for invalid mock assert calls
Thang Pham [Mon, 2 Mar 2015 00:43:58 +0000 (19:43 -0500)]
Raise exception for invalid mock assert calls

Several test cases were using the wrong mock assert methods.
The following patch corrects these calls and adds a method in
test.py (sourced from nova/test.py) to make sure they are
properly caught in the future.

Closes-Bug: #1429669
Change-Id: Ic6e5bca0c3ddbfb402e412b51e882859cb49108c

9 years agoMerge "DRBD: Use correct function object after DBus disconnect."
Jenkins [Mon, 16 Mar 2015 11:05:23 +0000 (11:05 +0000)]
Merge "DRBD: Use correct function object after DBus disconnect."

9 years agoMocked utils.execute for broken tests
PranaliDeore [Fri, 13 Mar 2015 06:47:12 +0000 (23:47 -0700)]
Mocked utils.execute for broken tests

Few tests were failing because utils.execute
was not mocked.

Added decorator @mock.patch('cinder.utils.execute')
which will mock the utils.execute call for failing tests.

Closes-Bug: #1430525
Change-Id: Ib54b83b1ad6dc42b084adf48ddd53a64a9b12cf7

9 years agoHuawei driver check before associating LUN to a LUN group
Bob-OpenStack [Mon, 19 Jan 2015 01:05:14 +0000 (17:05 -0800)]
Huawei driver check before associating LUN to a LUN group

This commit fixes the following problems:
* Change in huawei_t.py removes the duplicated wwns
  returned from the array.
* Change in rest_common.py adds log print for response
  data from the array.
* Change in rest_common.py does a check before associating
  a LUN to a LUN group.
* Change in rest_common.py fixes the REST request.
* Change in ssh_common.py checks whether the hostlunid
  have already been assigned.

Closes-Bug: #1411904
Change-Id: I862ed5d71780fb7b8cbc5ed257072ea1113fead7

9 years agoMerge "Move to the oslo.middleware library"
Jenkins [Sun, 15 Mar 2015 21:05:16 +0000 (21:05 +0000)]
Merge "Move to the oslo.middleware library"

9 years agoMerge "Add waiting for the driver to SchedulerManager"
Jenkins [Sun, 15 Mar 2015 20:33:53 +0000 (20:33 +0000)]
Merge "Add waiting for the driver to SchedulerManager"

9 years agoMerge "Add is_ready method to scheduler driver"
Jenkins [Sun, 15 Mar 2015 20:18:30 +0000 (20:18 +0000)]
Merge "Add is_ready method to scheduler driver"

9 years agoFix typos in LVMVolumeDriver
Mitsuhiro SHIGEMATSU [Sun, 15 Mar 2015 11:16:23 +0000 (20:16 +0900)]
Fix typos in LVMVolumeDriver

Fix typos. "Succesfully" -> "Successfully"

Change-Id: Ic26d7fc65c1e8b97bfac2fcc3aa395090716020f
Closes-Bug: #1429773

9 years agoAdd minimum qemu-img version check functions
Lucian Petrut [Fri, 27 Feb 2015 13:55:13 +0000 (15:55 +0200)]
Add minimum qemu-img version check functions

Functions for retrieving the qemu-img version and validate it
against driver specific requirements are added to imageutils.

This way, duplicated code can be removed in a following patch
from volume drivers that require it.

Change-Id: Ic0808863bd95c7ee84751a27d7a4eabc613f8d58

9 years agoMerge "Fix Cinder logs to show authentication error in RBD driver"
Jenkins [Sat, 14 Mar 2015 02:06:53 +0000 (02:06 +0000)]
Merge "Fix Cinder logs to show authentication error in RBD driver"

9 years agoMerge "Implement IET target driver"
Jenkins [Sat, 14 Mar 2015 00:09:20 +0000 (00:09 +0000)]
Merge "Implement IET target driver"

9 years agoMerge "Fix LVM thin pool creation race"
Jenkins [Fri, 13 Mar 2015 21:53:53 +0000 (21:53 +0000)]
Merge "Fix LVM thin pool creation race"