]> review.fuel-infra Code Review - openstack-build/cinder-build.git/log
openstack-build/cinder-build.git
9 years agoHitachi: Fix access to volume instance_uuid
Walter A. Boring IV [Thu, 26 Mar 2015 05:04:00 +0000 (05:04 +0000)]
Hitachi: Fix access to volume instance_uuid

The instance_uuid and attached_host no longer exists
in the volume object.  It's part of the attachments that
show up in volume['volume_attachment'].

This patch now tests to see if there are any volume
attachments at all via the volume['volume_attachment'] list.

Change-Id: I6b06adaf408e9458a9d4d8c73a6749bd3a282340
Closes-Bug: 1436605

9 years agoMerge "Windows: Fixes wintypes import issue in vhdutils"
Jenkins [Thu, 26 Mar 2015 22:54:00 +0000 (22:54 +0000)]
Merge "Windows: Fixes wintypes import issue in vhdutils"

9 years agoMerge "Windows iSCSI: fix volume clone"
Jenkins [Thu, 26 Mar 2015 22:19:19 +0000 (22:19 +0000)]
Merge "Windows iSCSI: fix volume clone"

9 years agoMerge "Eager load volume extra specs"
Jenkins [Thu, 26 Mar 2015 22:12:54 +0000 (22:12 +0000)]
Merge "Eager load volume extra specs"

9 years agoMerge "VMware: Fixed usage of volume instance_uuid"
Jenkins [Thu, 26 Mar 2015 19:11:02 +0000 (19:11 +0000)]
Merge "VMware: Fixed usage of volume instance_uuid"

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Thu, 26 Mar 2015 17:58:32 +0000 (17:58 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Move to hacking 0.10"
Jenkins [Thu, 26 Mar 2015 17:57:06 +0000 (17:57 +0000)]
Merge "Move to hacking 0.10"

9 years agoMerge "Syncing versionutils from oslo-incubator"
Jenkins [Thu, 26 Mar 2015 14:52:40 +0000 (14:52 +0000)]
Merge "Syncing versionutils from oslo-incubator"

9 years agoVMware: Fixed usage of volume instance_uuid
Walter A. Boring IV [Thu, 26 Mar 2015 05:09:59 +0000 (05:09 +0000)]
VMware: Fixed usage of volume instance_uuid

instance_uuid and attached_host no longer exist in the volume object.
They have been moved into the volume_attachment list attachments.

This patch now tests for non-empty volume_attachment list instead of
testing the existence of a non None value of instance_uuid.

Change-Id: I04c46dc49849fb1e0abf955dcc6d7ec1ce5e57a5
Closes-Bug: 1436603

9 years agoMerge "The value of netapp_storage_protocol should default to none"
Jenkins [Thu, 26 Mar 2015 07:41:31 +0000 (07:41 +0000)]
Merge "The value of netapp_storage_protocol should default to none"

9 years agoMerge "Fixed access to instance_uuid in retype"
Jenkins [Thu, 26 Mar 2015 07:41:21 +0000 (07:41 +0000)]
Merge "Fixed access to instance_uuid in retype"

9 years agoMerge "Sort list of cinder_object.changes"
Jenkins [Thu, 26 Mar 2015 07:41:11 +0000 (07:41 +0000)]
Merge "Sort list of cinder_object.changes"

9 years agoMerge "Fix typo in cinder/cinder/volume/drivers/emc_vmax"
Jenkins [Thu, 26 Mar 2015 07:36:15 +0000 (07:36 +0000)]
Merge "Fix typo in cinder/cinder/volume/drivers/emc_vmax"

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Thu, 26 Mar 2015 06:08:06 +0000 (06:08 +0000)]
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I77d55f05ea387e764539231006a35ec46b7c18aa

9 years agoFixed access to instance_uuid in retype
Walter A. Boring IV [Wed, 25 Mar 2015 23:33:16 +0000 (16:33 -0700)]
Fixed access to instance_uuid in retype

We missed an access to volume['instance_uuid']
in the multiattach patch.   The instance_uuid and attached_host
were moved into the volume_attachment table.

This patch changes how we test to see if a volume is available
or not, but checking the new location.

Change-Id: I8844cd8c2947845f9efb11a2a1371efee2d28bbe
Closes-Bug: 1436604

9 years agoMerge "Added the missing attachment to detach_volume"
Jenkins [Wed, 25 Mar 2015 23:01:45 +0000 (23:01 +0000)]
Merge "Added the missing attachment to detach_volume"

9 years agoEager load volume extra specs
Lucian Petrut [Wed, 25 Mar 2015 16:01:02 +0000 (18:01 +0200)]
Eager load volume extra specs

The Linux SMBFS driver uses volume extra specs in order to determine
the according image format when creating new volumes.

Accessing the extra_specs attribute can raise DetachedInstanceError
as this attribute is lazy loaded and the session might close by the
time this attribute is accessed.

This can be avoided by simply eager loading the volume extra specs.

Change-Id: Iffdb160a4a968067261aa90638832782caed5ed0
Closes-Bug: #1436418

9 years agoAdded the missing attachment to detach_volume
Walter A. Boring IV [Wed, 25 Mar 2015 16:35:51 +0000 (09:35 -0700)]
Added the missing attachment to detach_volume

I must have missed this driver in the multiattach
patch.   The attachment object is passed in to
detach_volume to give drivers a chance to deal with
a detach call.

This patch just updates the signature of the method
to be the same as the parent.

Change-Id: I895c163e67d35df202a5490a7a31ee7fc13a0cb4
Closes-Bug: #1436367

9 years agoMake lio iSCSI changes persistent to avoid lost
Gorka Eguileor [Mon, 2 Mar 2015 14:51:07 +0000 (15:51 +0100)]
Make lio iSCSI changes persistent to avoid lost

To avoid losing iSCSI configuration when target.service is
started/restarted we make persistent any change Cinder makes to the
configuration.

This will allow us to coordinate access from multiple rtslib users
(target daemon, targetcli, cinder...)

This patch changes rtstool and adds an additional command "save" with
optional parameter the filename where we want to save current
configuration. If no parameter is provided it saves to default location
defined by rtslib.

Closes-Bug: #1427301
Change-Id: I74bd09ed16a2e0e584d3e04762aec8cbdf101f6d

9 years agoMerge "Updated from global requirements"
Jenkins [Wed, 25 Mar 2015 15:17:15 +0000 (15:17 +0000)]
Merge "Updated from global requirements"

9 years agoSort list of cinder_object.changes
Thang Pham [Wed, 25 Mar 2015 14:54:23 +0000 (10:54 -0400)]
Sort list of cinder_object.changes

If PYTHONHASHSEED is set to a non-zero value,
test_objects.TestObject.test_base_attributes unit test
fails.  This is because 'cinder_object.changes' key is
an unsorted list when the object is converted to a
primitive.  The following patch fixes this by sorting
cinder_object.changes.

Change-Id: I3a80396c5c897de26e982fa6426e7720a09c1375
Closes-Bug: #1434154

9 years agoMove to hacking 0.10
Joe Gordon [Tue, 24 Mar 2015 23:15:19 +0000 (19:15 -0400)]
Move to hacking 0.10

Release notes: http://lists.openstack.org/pipermail/openstack-dev/2015-January/054165.html

Ignore some new rules that have more then 10 failures, fix ones that
have fewer.

Removed deleted hacking rules from tox.ini

Note: One of the main benefits of the new hacking, is flake8 enables
concurrency by default now, so it should be much faster.

Change-Id: Ie650fa3dc91434967ad05e61edd3bcc1d833bfb1

9 years agoSyncing versionutils from oslo-incubator
Michal Dulko [Wed, 25 Mar 2015 11:03:51 +0000 (12:03 +0100)]
Syncing versionutils from oslo-incubator

This is to fix deprecation warnings caused by a fact that version
that's currently in Cinder imports oslo.config instead of
oslo_config.

Change-Id: Iaf0bea76e5bb389cb052de1ecb34a8b24ae39343
Closes-Bug: 1436270

9 years agoMerge "Enable request-id in cinder API logs"
Jenkins [Wed, 25 Mar 2015 04:38:17 +0000 (04:38 +0000)]
Merge "Enable request-id in cinder API logs"

9 years agoMerge "Fix: Synchronise Quobyte Share mounting"
Jenkins [Wed, 25 Mar 2015 00:31:52 +0000 (00:31 +0000)]
Merge "Fix: Synchronise Quobyte Share mounting"

9 years agoMerge "Dell Storage Center API change fails init_conn"
Jenkins [Tue, 24 Mar 2015 23:00:18 +0000 (23:00 +0000)]
Merge "Dell Storage Center API change fails init_conn"

9 years agoMerge "Simplify cxt test_create_export() unit test"
Jenkins [Tue, 24 Mar 2015 22:29:34 +0000 (22:29 +0000)]
Merge "Simplify cxt test_create_export() unit test"

9 years agoDell Storage Center API change fails init_conn
Tom Swanson [Tue, 24 Mar 2015 17:57:22 +0000 (12:57 -0500)]
Dell Storage Center API change fails init_conn

An attribute in the dell storage center REST API containing
the world wide name of the target device changed.  This meant
that on intialize connection we were returning None instead of
the wwn.

The driver has been changed to look for the new attribute and
to fall back to the old.  If neither is found it will not
return a target wwn of None.

Change-Id: I6ae6870d46937089bd6ed8799895f7068eebf01d
Closes-Bug: 1435935

9 years agoWindows iSCSI: fix volume clone
Lucian Petrut [Tue, 24 Mar 2015 12:08:07 +0000 (14:08 +0200)]
Windows iSCSI: fix volume clone

In some environments, volume cloning fails when using the Windows
iSCSI volume driver. This involves creating a new VHD image and
copying the data from the source volume on top.

This can raise an error, caused by the fact that the destination
path exists.

This patch slightly changes the workflow used when cloning an image.
Instead of first creating a new WT disk and then copying the cloned
image data on top, the source image is copied, resized if needed
and then imported as a WT disk.

Change-Id: I07d45fa9324a34ef45ed2aa8051338ee6a0f8a5b
Closes-Bug: #1435865

9 years agoEnable request-id in cinder API logs
John Griffith [Tue, 24 Mar 2015 03:08:15 +0000 (03:08 +0000)]
Enable request-id in cinder API logs

Using common.local:store.context doesn't work correctly with
the new oslo_log module.  This change removes the calls to
common.local and removes the file altogether which allows the
proper settings to be passed in to the logging module and give
us back our request-id in the API logs.

Change-Id: If312f419fb465c9128bcfa0a280d6c35a46cb29b
Closes-Bug: #1435588

9 years agoMerge "Change leftover oslo.* to oslo_*"
Jenkins [Mon, 23 Mar 2015 22:03:14 +0000 (22:03 +0000)]
Merge "Change leftover oslo.* to oslo_*"

9 years agoMerge "Tests: Fix az test failure when PYTHONHASHSEED != 0"
Jenkins [Mon, 23 Mar 2015 21:45:36 +0000 (21:45 +0000)]
Merge "Tests: Fix az test failure when PYTHONHASHSEED != 0"

9 years agoThe value of netapp_storage_protocol should default to none
Rushil Chugh [Thu, 19 Mar 2015 01:00:36 +0000 (21:00 -0400)]
The value of netapp_storage_protocol should default to none

The value of netapp_storage_protocol was changed from 'None' to 'iscsi'
in a recent commit. It needs to be reverted back to its correct default
value of 'None'.

Closes-bug: 1433842

Change-Id: I7f7bff8d8cbd8671ee52cb9225f496ff6e679398

9 years agoChange leftover oslo.* to oslo_*
Anish Bhatt [Thu, 19 Mar 2015 08:08:06 +0000 (01:08 -0700)]
Change leftover oslo.* to oslo_*

Use oslo_i18n instead of "from oslo import i18n"
Use oslo_messaging instead of "from oslo import messaging"

Partial-Bug: 1409733

Change-Id: If119603e4f89965d0c9e5917b2772ae0e7ddf3d2

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Mon, 23 Mar 2015 17:05:43 +0000 (17:05 +0000)]
Updated from global requirements

Change-Id: I6f506eaa69ba7ae26cd13403d0dec491848db3c6

9 years agoFix: Synchronise Quobyte Share mounting
Silvan Kaiser [Fri, 20 Mar 2015 13:30:26 +0000 (14:30 +0100)]
Fix: Synchronise Quobyte Share mounting

Quobyte ci tests show random failures with multiple similar shares.
A single share is listed in mounted shares twice after two (or more)
chronologically close successive calls to
_ensure_shares_mounted (examples see bug or similar Quobyte ci error
reports).
This is now prevented by synchronizing the method.

Closes-Bug: #1434502

Change-Id: Iae5cfb529c56681eaaf5868042264e4f8d71c0fb

9 years agoFix typo in cinder/cinder/volume/drivers/emc_vmax
Mitsuhiro SHIGEMATSU [Fri, 20 Mar 2015 22:58:12 +0000 (07:58 +0900)]
Fix typo in cinder/cinder/volume/drivers/emc_vmax

Change-Id: I0eff3be00a267a2ddbdc0e72d7c8da35d158cee8

9 years agoUpdate file doc string for pure.py
Patrick East [Fri, 20 Mar 2015 18:27:52 +0000 (11:27 -0700)]
Update file doc string for pure.py

The PureISCSIDriver now requires a higher version of the REST API, this
causes the required Purity version to go up to 4.0.0. The doc string
for the pure.py file was not updated to reflect this.

Change-Id: Ibb133a6ab689c98aee0ac16946d059a647f482d3
Closes-Bug: 1434580

9 years agoMerge "Remove chap secret DEBUG logging in PureISCSIDriver"
Jenkins [Fri, 20 Mar 2015 17:17:07 +0000 (17:17 +0000)]
Merge "Remove chap secret DEBUG logging in PureISCSIDriver"

9 years agoMerge "update oslo policy to remove policy.d log spam"
Jenkins [Fri, 20 Mar 2015 15:38:54 +0000 (15:38 +0000)]
Merge "update oslo policy to remove policy.d log spam"

9 years agoMerge "Scality SOFS : Use ensure_tree from fileutils"
Jenkins [Fri, 20 Mar 2015 15:37:24 +0000 (15:37 +0000)]
Merge "Scality SOFS : Use ensure_tree from fileutils"

9 years agoupdate oslo policy to remove policy.d log spam
Sean Dague [Fri, 20 Mar 2015 12:26:08 +0000 (08:26 -0400)]
update oslo policy to remove policy.d log spam

After oslo policy added config dirs it started spamming the logs
relentlessly on if you didn't have a policy.d directory on your
system. This is a very unfriendly upgrade to operators.

A fix was provided in the incubator just before incubator policy was
deleted. This syncs in that fix.

Change-Id: Idf9c63c52561acdfe5463fee35dbc497c5e1fde5
Related-Bug: #1421863

9 years agoMerge "Logging not using oslo.i18n guidelines"
Jenkins [Fri, 20 Mar 2015 11:27:31 +0000 (11:27 +0000)]
Merge "Logging not using oslo.i18n guidelines"

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 agoRemove chap secret DEBUG logging in PureISCSIDriver
Daniel Wilson [Fri, 20 Mar 2015 04:35:14 +0000 (21:35 -0700)]
Remove chap secret DEBUG logging in PureISCSIDriver

We are removing a small piece of code that caused the CHAP secret to be logged
in plain text in the log file when DEBUG level logging is turned on in Cinder.
This is undesirable so it is being taken out.

Change-Id: I119800e2c3695201e9fca544f597ea9a577a2809
Closes-Bug: 1434320

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 agoLogging not using oslo.i18n guidelines
Sean McGinnis [Thu, 19 Mar 2015 13:37:49 +0000 (08:37 -0500)]
Logging not using oslo.i18n guidelines

Part of multi-patch set for easier chunks.

There have been quite a few instances found where the
i18n guidelines are not being followed. I believe this
has helped lead to some of the confusion around how to
correctly do this. Other developers see this code and
assume it is an example of the correct usage.

This patch attempts to clean up most of those violations
in the existing codebase to hopefully help avoid some of
that confusion in reviews.

Some issues address:
* Correct log translation markers for different log levels
* Passing format values as arguments to call, not preformatting
* Not forcing translation via six.text_type and others

Guidelines can be found here:
http://docs.openstack.org/developer/oslo.i18n/guidelines.html

Hacking checks will not be able to identify all violations of
the guidelines, but it could be useful for catching obvious ones
such as LOG.info("No markers!").

Change-Id: I38f52c6408b47ccb59ec2064b360f7d4427d6830
Partial-bug: 1433216

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 agoTests: Fix az test failure when PYTHONHASHSEED != 0
Eric Harney [Thu, 19 Mar 2015 16:27:59 +0000 (12:27 -0400)]
Tests: Fix az test failure when PYTHONHASHSEED != 0

The test_list_availability_zones_enabled_service test calls
a method which returns a tuple that is generated from a dict.
This is compared to a tuple in the test, which can fail when
PYTHONHASHSEED is not 0, due to the tuples containing elements
in different orders.  (Because the dict used to build the tuple
was ordered differently.)

For this test, we can convert to lists and sort them to do the
comparison, since the ordering is not important.

Partial-Bug: #1348818

Change-Id: Ib7e5d59073e5e243450e28492d68942f6088bb5f

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