]> review.fuel-infra Code Review - openstack-build/cinder-build.git/log
openstack-build/cinder-build.git
8 years agoMerge "CG API should return volume type IDs"
Jenkins [Tue, 24 Nov 2015 16:49:06 +0000 (16:49 +0000)]
Merge "CG API should return volume type IDs"

8 years agoMerge "Fix the bug of OSError when convert image"
Jenkins [Tue, 24 Nov 2015 16:29:05 +0000 (16:29 +0000)]
Merge "Fix the bug of OSError when convert image"

8 years agoMerge "XtremIO fix attach readonly bug"
Jenkins [Tue, 24 Nov 2015 13:16:31 +0000 (13:16 +0000)]
Merge "XtremIO fix attach readonly bug"

8 years agoXtremIO fix attach readonly bug
Shay Halsband [Sun, 15 Nov 2015 10:31:00 +0000 (12:31 +0200)]
XtremIO fix attach readonly bug

* Remove the access_mode from connection_info and let the manager decide
on the access mode.
* add a test to make sure access_mode won't be added in the future

liberty-backport-potential

Change-Id: I1584b27ff0c14e54f1d1efb2310d25454995c50a
Closes-Bug: 1516365

8 years agoCG API should return volume type IDs
Deepti Ramakrishna [Thu, 19 Nov 2015 08:43:49 +0000 (00:43 -0800)]
CG API should return volume type IDs

The create method of consistency group API requires a list of
volume type ids; volumes belonging to only these types can be added
to the consistency group. The get method of the consistency group API
does not, however, return the volume type id information.

Horizon needs this value for its "Add volumes to consistency group"
panel so that it can filter the "available volumes" list to only
show volumes that match the volume type associated with the consistency
group.

This was fixed by propagating the volume type id information in
the api layer (this information is stored in the db, it just wasn't
being propagated).

APIImpact
The get method of the consistency group API now returns the volume
type ids information.

DocImpact
The screenshots in the admin guide (see
http://docs.openstack.org/admin-guide-cloud/blockstorage-consistency-groups.html)
should be updated to show this new field.

Change-Id: Icc3206c67227af38a7bf89ea0145942f750b506b
Closes-Bug: #1489957

8 years agoMerge "Retry on database deadlock on service_update method"
Jenkins [Tue, 24 Nov 2015 05:00:32 +0000 (05:00 +0000)]
Merge "Retry on database deadlock on service_update method"

8 years agoMerge "Add guidelines for release notes to devref"
Jenkins [Tue, 24 Nov 2015 00:24:24 +0000 (00:24 +0000)]
Merge "Add guidelines for release notes to devref"

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Mon, 23 Nov 2015 18:35:39 +0000 (18:35 +0000)]
Merge "Imported Translations from Zanata"

8 years agoFix the bug of OSError when convert image
zhangsong [Mon, 9 Nov 2015 15:00:08 +0000 (23:00 +0800)]
Fix the bug of OSError when convert image

When I try to convert a image use image_utils.convert_image() method,
an error occurred like this :
'''
OSError: [Errno 2] No such file or directory:
'sheepdog:10.133.17.61:7000:volume-a0a70f9b-a50e-4369-885f-c41a894c9fe5'
'''
The reason is that in some cluster storage systems, like
ceph/sheepdog, QEMU can access an image directly via their private
protocol, and there’s no need to map an image as a block device on
the host. In this case, the qemu-img convert command may like:

    #qemu-img convert -O raw sheepdog:Ip:port:image_name temp_file
    #qemu-img convert -O raw rbd:pool_name/image_name temp_file

The source path may be 'sheepdog:Ip:port:image_name' or
'rbd:pool_name/image_name', it doesn't exist in OS. So, when it runs
the os.stat(source) in image_utils.convert_image(source,dest,out_format)
method, an OSError would be raised.

We can use qemu_img_info method instead to resolve this problem, because
the 'qemu-img info' command can always get the image size info which has
support qemu-img tool. Here we capture a ValueError just in case, but it
only need to give a warning message, because the image has been successfully
converted.

Change-Id: I5fd1e51840972a67053b85a76f8e001fa8148ad7
Closes-Bug: #1514442

8 years agoMerge "Eager load columns in volume_get_active_by_window"
Jenkins [Mon, 23 Nov 2015 14:07:24 +0000 (14:07 +0000)]
Merge "Eager load columns in volume_get_active_by_window"

8 years agoMerge "Port EMC VMAX to Python 3"
Jenkins [Mon, 23 Nov 2015 14:07:04 +0000 (14:07 +0000)]
Merge "Port EMC VMAX to Python 3"

8 years agoMerge "Port EMC VNX CLI to Python 3"
Jenkins [Mon, 23 Nov 2015 14:02:45 +0000 (14:02 +0000)]
Merge "Port EMC VNX CLI to Python 3"

8 years agoAdd guidelines for release notes to devref
Michał Dulko [Mon, 23 Nov 2015 13:13:28 +0000 (14:13 +0100)]
Add guidelines for release notes to devref

Starting from this cycle (and stable Liberty) we're using reno for
release notes. This commit adds guidelines on when a release note is
required to be added.

Change-Id: If5aa6ab8317ec2f4295d899a45f80f11504d2a2c

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Mon, 23 Nov 2015 06:42:00 +0000 (06:42 +0000)]
Imported Translations from Zanata

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

Change-Id: I7feabf414e93055d353072bf865009547416969f

8 years agoMerge "Add os-win to requirements.txt"
Jenkins [Sun, 22 Nov 2015 21:32:17 +0000 (21:32 +0000)]
Merge "Add os-win to requirements.txt"

8 years agoMerge "Move get_by_id to CinderObject"
Jenkins [Sun, 22 Nov 2015 21:32:05 +0000 (21:32 +0000)]
Merge "Move get_by_id to CinderObject"

8 years agoMerge "Updated from global requirements"
Jenkins [Sun, 22 Nov 2015 21:11:47 +0000 (21:11 +0000)]
Merge "Updated from global requirements"

8 years agoMerge "Deprecate *_multipath_enabled flag for IBM drivers"
Jenkins [Sun, 22 Nov 2015 21:07:01 +0000 (21:07 +0000)]
Merge "Deprecate *_multipath_enabled flag for IBM drivers"

8 years agoMerge "Fix debug output for cinder-volume-usage-audit"
Jenkins [Sun, 22 Nov 2015 20:59:06 +0000 (20:59 +0000)]
Merge "Fix debug output for cinder-volume-usage-audit"

8 years agoMerge "LeftHand: Remove self.db assignment"
Jenkins [Sun, 22 Nov 2015 20:55:46 +0000 (20:55 +0000)]
Merge "LeftHand: Remove self.db assignment"

8 years agoMerge "Fix swap_volume for case without migration"
Jenkins [Sun, 22 Nov 2015 20:54:30 +0000 (20:54 +0000)]
Merge "Fix swap_volume for case without migration"

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Sun, 22 Nov 2015 06:39:41 +0000 (06:39 +0000)]
Imported Translations from Zanata

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

Change-Id: I52a378f56c3713678da0bf101b6c19d679cf98cd

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Sat, 21 Nov 2015 16:17:40 +0000 (16:17 +0000)]
Updated from global requirements

Change-Id: I494d2985735ed5ca5bc6ac3799c3650f70e95f5c

8 years agoEager load columns in volume_get_active_by_window
Michał Dulko [Fri, 20 Nov 2015 11:36:22 +0000 (12:36 +0100)]
Eager load columns in volume_get_active_by_window

All other volume-related methods in db.sqlalchemy.api are eager loading
volume_metadata, volume_admin_metadata (if admin), volume_type,
volume_attachment and consistencygroup. volume_get_active_by_window
wasn't, causing fails because of SQLAlchemy Session being closed when
trying to lazy load volume_metadata. This commit adds missing
options(joinedload()) to this query.

Change-Id: I33ec89d7f1f43aae6010aaa6e12951b7c522b8f0
Closes-Bug: 1517763
Related-Bug: 1501838

8 years agoMerge "Remove db access from XIV/DS8K CG functions"
Jenkins [Sat, 21 Nov 2015 04:01:52 +0000 (04:01 +0000)]
Merge "Remove db access from XIV/DS8K CG functions"

8 years agoLeftHand: Remove self.db assignment
Alex O'Rourke [Fri, 20 Nov 2015 19:25:19 +0000 (11:25 -0800)]
LeftHand: Remove self.db assignment

DB access was removed in a previous patch when it was no longer
needed at the driver level. The self.db assignment was overlooked
and not removed, even though it is no longer being used.

Change-Id: Ic96c0ae96e78d3d2a0e2b99b7e1ca9461a7e7b27

8 years agoMerge "fast8: Skip git rm'd files"
Jenkins [Fri, 20 Nov 2015 18:45:07 +0000 (18:45 +0000)]
Merge "fast8: Skip git rm'd files"

8 years agoDeprecate *_multipath_enabled flag for IBM drivers
Ryan McNair [Thu, 12 Nov 2015 15:06:32 +0000 (15:06 +0000)]
Deprecate *_multipath_enabled flag for IBM drivers

Deprecate the *_multipath_enabled from the FlashSystem and
Storwize/SVC driver. When enabled, this flag was intended to create
a single mapping between the compute node and the storage device for
FC connections. However, all available storage WWNNs were still being
mapped to the compute node, and instead enabling this flag was
causing a terminate_connection to not cleanup all LUN mappings
(because Nova did not know of all the target_wwns that were actually
mapped). This can be seen by enabling the flag, connecting a volume,
disconnecting the volume and observing the stray LUN mappings under
'/dev/disk/by-path'.

Currently we do not have a way to limit the storage WWNNs which are
mapped during a FC connection, so we will ignore the config to fix
this broken behavior, and then remove the config next release.

DocImpact

Change-Id: I0019c1e0c0dbb0cd48a7f389376480e7fa1b1e07
Closes-Bug: #1516778

8 years agoFix debug output for cinder-volume-usage-audit
Tobias Urdin [Thu, 19 Nov 2015 08:18:08 +0000 (09:18 +0100)]
Fix debug output for cinder-volume-usage-audit

Fixes variables not being included in log output.

Change-Id: Ic403166b88b1ba549fe7a7b0cd95d7cbb7a0de4c

8 years agoMove get_by_id to CinderObject
Gorka Eguileor [Thu, 27 Aug 2015 23:14:02 +0000 (01:14 +0200)]
Move get_by_id to CinderObject

Currently each Versioned Object needs to implement its own get_by_id,
with this patch they don't need anymore, since it will be included in
the base class CinderObject and it will work for all the objects.

This will help for other things like having a refresh method or
conditional updates in the objects.

Related-Bug: #1490944
Related-Bug: #1238093
Related-Bug: #1490946
Related-Bug: #1469659
Change-Id: I355dc8eaefed93003533ee083f74acd1315f057e

8 years agoMerge "Manage existing: fix volume object saving"
Jenkins [Fri, 20 Nov 2015 11:03:18 +0000 (11:03 +0000)]
Merge "Manage existing: fix volume object saving"

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Fri, 20 Nov 2015 06:38:59 +0000 (06:38 +0000)]
Imported Translations from Zanata

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

Change-Id: Ia8bb154c21a0a68c6a81671bbf79aca3fbaaa696

8 years agoMerge "Remove .mailmap file"
Jenkins [Fri, 20 Nov 2015 06:02:26 +0000 (06:02 +0000)]
Merge "Remove .mailmap file"

8 years agoMerge "VNX: Fix metadata get overriden issue"
Jenkins [Fri, 20 Nov 2015 05:32:37 +0000 (05:32 +0000)]
Merge "VNX: Fix metadata get overriden issue"

8 years agofast8: Skip git rm'd files
Eric Harney [Thu, 19 Nov 2015 21:13:47 +0000 (16:13 -0500)]
fast8: Skip git rm'd files

Don't print error messages trying to diff files
that have been removed via git rm.

Change-Id: Ia0945541208fd7a8362843587f797506000479fc

8 years agoMerge "Remove db access from 3PAR and LH cg functions"
Jenkins [Thu, 19 Nov 2015 20:42:52 +0000 (20:42 +0000)]
Merge "Remove db access from 3PAR and LH cg functions"

8 years agoManage existing: fix volume object saving
Eric Harney [Thu, 19 Nov 2015 20:01:25 +0000 (15:01 -0500)]
Manage existing: fix volume object saving

This needs an update to work with volume objects.

Currently, manage existing can fail here.

Change-Id: I9197220be201cbbb1cd8266ebb58b57641fc216f
Closes-Bug: #1518050

8 years agoFix swap_volume for case without migration
Ryan McNair [Thu, 19 Nov 2015 19:48:37 +0000 (19:48 +0000)]
Fix swap_volume for case without migration

Fix swap_volume so that even when a volume-migration does not
occur, the volumes don't get stuck in "attaching" and "detaching".
Previously the swap_volume was changed in
https://review.openstack.org/#/c/101932 and
https://review.openstack.org/#/c/101933 to move the final
attach and detach logic to Cinder, however those changes only fix
the migration path.  This change calls Cinder's "attach" and "detach"
for the non-migration path to update the volumes' states.

Change-Id: I242c2c7c4a7197bbce04d0b3d75688f989ea1fd5
Closes-Bug: #1489744

8 years agoRemove .mailmap file
Michał Dulko [Thu, 19 Nov 2015 16:36:01 +0000 (17:36 +0100)]
Remove .mailmap file

.mailmap file seems to be terribly outdated, most of the lines are
comming from initial fork out of Nova. This commit removes the file.

Change-Id: Id6ca3e3d8d10612c450b3b6b3639edc1e9e52b31

8 years agoMerge "ScaleIO driver: update_migrated_volume"
Jenkins [Thu, 19 Nov 2015 02:02:00 +0000 (02:02 +0000)]
Merge "ScaleIO driver: update_migrated_volume"

8 years agoMerge "Additional VAG support for SolidFire"
Jenkins [Thu, 19 Nov 2015 01:40:41 +0000 (01:40 +0000)]
Merge "Additional VAG support for SolidFire"

8 years agoMerge "Update CONTRIBUTING.md to CONTRIBUTING.rst"
Jenkins [Thu, 19 Nov 2015 00:17:59 +0000 (00:17 +0000)]
Merge "Update CONTRIBUTING.md to CONTRIBUTING.rst"

8 years agoRemove db access from 3PAR and LH cg functions
Alex O'Rourke [Thu, 15 Oct 2015 21:49:07 +0000 (14:49 -0700)]
Remove db access from 3PAR and LH cg functions

The HP 3PAR and HP LeftHand drivers no longer need to access the db in
order to grab snapshots and volumes for the following functions:
* delete_consistencygroup
* create_cgsnapshot
* delete_cgsnapshot

This patch removes all db access at the driver level for both 3PAR and
LeftHand drivers.

Change-Id: I2e29366573f53cf6e61939381bde5d04f188f42d

8 years agoMerge "Refactor HP LeftHand driver to now be HPE"
Jenkins [Wed, 18 Nov 2015 22:54:21 +0000 (22:54 +0000)]
Merge "Refactor HP LeftHand driver to now be HPE"

8 years agoAdditional VAG support for SolidFire
Chris Morrell [Wed, 18 Nov 2015 22:14:15 +0000 (22:14 +0000)]
Additional VAG support for SolidFire

This patch removes volumes from volume access groups, and potentially volume
access groups, when a connection is terminated. When the previously added
'sf_enable_vag' option is enabled and a volume connection is terminated, if the
volume was part of a VAG then the volume is removed from the VAG. If the volume
is the only remaining volume in the VAG then the VAG is also removed.

Change-Id: Ib508a67f012f6f186abba0d381ab104edc163fa9

8 years agoMerge "Added VAG support to SolidFire"
Jenkins [Wed, 18 Nov 2015 20:29:11 +0000 (20:29 +0000)]
Merge "Added VAG support to SolidFire"

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Wed, 18 Nov 2015 09:09:59 +0000 (09:09 +0000)]
Merge "Imported Translations from Zanata"

8 years agoMerge "Bad exception clauses order"
Jenkins [Wed, 18 Nov 2015 07:38:30 +0000 (07:38 +0000)]
Merge "Bad exception clauses order"

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Wed, 18 Nov 2015 06:40:19 +0000 (06:40 +0000)]
Imported Translations from Zanata

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

Change-Id: I7d7b265fb128a884494b8e36da54154ad07f9441

8 years agoVNX: Fix metadata get overriden issue
peter_wang [Tue, 17 Nov 2015 07:44:58 +0000 (02:44 -0500)]
VNX: Fix metadata get overriden issue

Cinder is using 'metadata' or 'volume_metadata' to return
volume metadata since versionedobjects is not fully merged,
so VNX could not get the correct existing
metadata, only append VNX specific metadata so existing
metadata get overridden.
In this fix, VNX will first try 'volume_metadata' if not exists,
try 'metadata' when getting metadata.

Change-Id: I1215883a6076e9b15b1ced19aa40aae43c66a00c
Closes-bug: 1516903

8 years agoMerge "Update extend_volume API to use versionedobjects"
Jenkins [Wed, 18 Nov 2015 01:36:51 +0000 (01:36 +0000)]
Merge "Update extend_volume API to use versionedobjects"

8 years agoMerge "Check specific driver enabled in create_backup"
Jenkins [Wed, 18 Nov 2015 01:29:18 +0000 (01:29 +0000)]
Merge "Check specific driver enabled in create_backup"

8 years agoAdded VAG support to SolidFire
Chris Morrell [Mon, 16 Nov 2015 21:45:48 +0000 (21:45 +0000)]
Added VAG support to SolidFire

This patch adds VAG support to the SolidFire driver.
This includes a new config option 'sf_enable_vag'.
The driver creates a new VAG based on initiator name during
connection initialization.

By default VAG support is disabled. When enabled, the driver uses both
CHAP and VAG authentication.

DocImpact
Added configuration option sf_enable_vag.

Change-Id: I4ade805640646173c27bc6d969a211189f6301fb

8 years agoRefactor HP LeftHand driver to now be HPE
Anthony Lee [Thu, 29 Oct 2015 22:29:19 +0000 (15:29 -0700)]
Refactor HP LeftHand driver to now be HPE

This patch refactors the HP LeftHand driver to be
HPE LeftHand.

This is being done because the company responsible for
this driver is now Hewlett Packard Enterprise (HPE).

The driver is now located in the cinder/volume/drivers/hpe
folder.

DocImpact
Implements: blueprint rebrand-hp-lefthand-driver
Change-Id: I42eb5b3a51d547e45338a4964f31e0aca2ce43d8

8 years agoRemove db access from XIV/DS8K CG functions
Alon Marx [Thu, 12 Nov 2015 20:07:05 +0000 (22:07 +0200)]
Remove db access from XIV/DS8K CG functions

The XIV/DS8K driver no longer needs to access the db in order to
grab snapshots and volumes for the following functions:
* delete_consistencygroup
* create_cgsnapshot
* delete_cgsnapshot

Change-Id: I3762577c7c797e3f677cc4516b747990dfabfa4e

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Tue, 17 Nov 2015 14:45:51 +0000 (14:45 +0000)]
Merge "Imported Translations from Zanata"

8 years agoBad exception clauses order
Ravi Shekhar Jethani [Tue, 17 Nov 2015 09:07:48 +0000 (01:07 -0800)]
Bad exception clauses order

A superclass exception (error) is being handled before
a sub class exception(SSLError) which is making the latter
exception clause unreachable. Corrected the order of these
exception clauses.

Trivial Fix
Change-Id: I82e6f4984b095f50cdd7ffccd9af60ce75d41f7f

8 years agoMerge "get_all_snapshots: Fix log message typo"
Jenkins [Tue, 17 Nov 2015 08:45:44 +0000 (08:45 +0000)]
Merge "get_all_snapshots: Fix log message typo"

8 years agoMerge "Port HP 3PAR driver to Python 3"
Jenkins [Tue, 17 Nov 2015 08:19:36 +0000 (08:19 +0000)]
Merge "Port HP 3PAR driver to Python 3"

8 years agoMerge "Modify test_hpe3par to support random hash"
Jenkins [Tue, 17 Nov 2015 08:12:28 +0000 (08:12 +0000)]
Merge "Modify test_hpe3par to support random hash"

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Tue, 17 Nov 2015 06:35:50 +0000 (06:35 +0000)]
Imported Translations from Zanata

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

Change-Id: Ib32f17a460cc8169ce318c87a8e3cff1580a101d

8 years agoMerge "Support initialization state in Backup Manager"
Jenkins [Tue, 17 Nov 2015 06:08:01 +0000 (06:08 +0000)]
Merge "Support initialization state in Backup Manager"

8 years agoCheck specific driver enabled in create_backup
felix23ma [Sat, 14 Nov 2015 01:35:24 +0000 (09:35 +0800)]
Check specific driver enabled in create_backup

Backend is already known so don’t need to use the default backend name
to check if the driver is initialized.

Change-Id: I797c75ca0eff574e3eb20dfedc8d5b64ca06a06a
Closes-Bug: #1515900

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Mon, 16 Nov 2015 22:08:25 +0000 (22:08 +0000)]
Merge "Imported Translations from Zanata"

8 years agoMerge "Updated from global requirements"
Jenkins [Mon, 16 Nov 2015 20:49:10 +0000 (20:49 +0000)]
Merge "Updated from global requirements"

8 years agoget_all_snapshots: Fix log message typo
Eric Harney [Mon, 16 Nov 2015 19:32:52 +0000 (14:32 -0500)]
get_all_snapshots: Fix log message typo

snaphsots -> snapshots

Change-Id: I1d6fb77251f8106670cb1674e0f99314a84134ad

8 years agoMerge "Downstream Fix for Genconfig"
Jenkins [Mon, 16 Nov 2015 16:33:52 +0000 (16:33 +0000)]
Merge "Downstream Fix for Genconfig"

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Mon, 16 Nov 2015 11:44:27 +0000 (11:44 +0000)]
Updated from global requirements

Change-Id: I559009cdaa90cecb91e3a919701a58c46683ae94

8 years agoPort HP 3PAR driver to Python 3
Victor Stinner [Thu, 5 Nov 2015 15:22:11 +0000 (16:22 +0100)]
Port HP 3PAR driver to Python 3

* Use oslo_serialization.base64.encode_as_text() to get Unicode on
  Python 3.
* Replace sys.maxint with sys.maxsize, sys.maxint was removed in
  Python 3.
* test_hpe3par: use list(set()) to get FCWWNs is the right order. On
  Python 3, the hash function is randomized by default.
* test_hpe3par: fix client getWsApiVersion() to return a valid
  version. Before, the comparison between mock.Mock and int raised a
  TypeError.
* hpe_3par_common: set version to 3.0.2
* hpe_3par_iscsi: set version to 3.0.1
* tox.ini: add test_hpe3par to Python 3.4

Partial-Implements: blueprint cinder-python3
Change-Id: I2bed171c0db93b8ea83127a69a63c3bb2317b10b

8 years agoModify test_hpe3par to support random hash
Victor Stinner [Thu, 5 Nov 2015 14:18:58 +0000 (15:18 +0100)]
Modify test_hpe3par to support random hash

On Python 3, or on Python 2 with -R command line option, the hash
function is now randomized for security. Changes:

* Rename CommentMatcher to Comment and simplify it.
* Generalize the usage of Comment.

Change-Id: I0233bab571aee3c034f067e6c28e6b38dc017db9

8 years agoMerge "3PAR Fix find_existing_vluns"
Jenkins [Mon, 16 Nov 2015 08:19:17 +0000 (08:19 +0000)]
Merge "3PAR Fix find_existing_vluns"

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Mon, 16 Nov 2015 06:40:51 +0000 (06:40 +0000)]
Imported Translations from Zanata

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

Change-Id: I9baf13fc1f048c5d3f613a25be93b09cde3d600f

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Sat, 14 Nov 2015 06:39:28 +0000 (06:39 +0000)]
Imported Translations from Zanata

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

Change-Id: Ia43cf62b457aa69760dc79e3c8bb6acfeee1deca

8 years agoMerge "Remove the HP CLIQ proxy driver"
Jenkins [Sat, 14 Nov 2015 02:19:25 +0000 (02:19 +0000)]
Merge "Remove the HP CLIQ proxy driver"

8 years agoMerge "NetApp: E-Series fix deletion of missing volume"
Jenkins [Fri, 13 Nov 2015 21:05:56 +0000 (21:05 +0000)]
Merge "NetApp: E-Series fix deletion of missing volume"

8 years agoRemove the HP CLIQ proxy driver
Walter A. Boring IV [Tue, 3 Nov 2015 23:09:50 +0000 (15:09 -0800)]
Remove the HP CLIQ proxy driver

This patch removes the deprecated HP Lefthand
CLIQ/SSH based driver.  It also refactors the proxy
class, which was nothing but a wrapper for the 2
drivers.   The LeftHand driver is now entirely based
off of the REST client.

Implements: blueprint deprecate-hp-lefthand-cliq
DocImpact

Change-Id: I12d8bb7b7dcac8ae40796d9d169825265c634a33

8 years agoMerge "Correct assertDictMatch argument order"
Jenkins [Fri, 13 Nov 2015 19:35:58 +0000 (19:35 +0000)]
Merge "Correct assertDictMatch argument order"

8 years agoMerge "NetApp: Fix issue with updating E-Series password"
Jenkins [Fri, 13 Nov 2015 19:05:57 +0000 (19:05 +0000)]
Merge "NetApp: Fix issue with updating E-Series password"

8 years agoRetry on database deadlock on service_update method
Ivan Kolodyazhny [Fri, 13 Nov 2015 18:56:55 +0000 (20:56 +0200)]
Retry on database deadlock on service_update method

service_update could fail with deadlock in some active-active
deployments. Added _retry_on_deadlock decorator to fix this issue.

Change-Id: Icfedb5ec0042e1d588314d56856f9ebab537665e
Closes-Bug: #1516124

8 years agoDownstream Fix for Genconfig
Kendall Nelson [Wed, 7 Oct 2015 13:53:38 +0000 (08:53 -0500)]
Downstream Fix for Genconfig

This patch adds the opts.py file to the tree as a fix for deployers
that package cinder. The opts.py file is no longer being deleted right
away by generate_sample.sh after the cinder.sample.conf is being
generated.

This patch also introduces a pep8 check to make sure that the opts.py
file is up to date, so that it will catch when new opts get added to
Cinder without the opts.py being updated.

To support the ability to keep and check the opts file a number
of changes were needed in the check_uptodate.sh script as well as
the generate_sample.sh script:
    - check_uptodate now takes --checkopts instead of --checkonly
      When checkopts is used the opts.py file is generated using the
      current code and the generated file is compared to the existing
      file.  The check fails if there are differences.
    - generate_sample now has the --nosamplefile option.
      When this option is used, only the opts.py file is generated.
      The oslo-config-generator code is skipped so no sample file
      is created.
    - generate_sample also has some coding style consistency changes.
    - Added the 'genopts' option to tox so users can generate
      a fresh opts.py without a sample file when necessary.

Closes-Bug: 1501820
Co-Author: Jay Bryant <jsbryant@us.ibm.com>

Change-Id: I1f5494ebb19d5f4e8c651cbeef0acad07ad96829

8 years agoMerge "add "unreleased" release notes page"
Jenkins [Fri, 13 Nov 2015 18:22:23 +0000 (18:22 +0000)]
Merge "add "unreleased" release notes page"

8 years agoMerge "Add test for snapshot filtering by project id"
Jenkins [Fri, 13 Nov 2015 18:10:52 +0000 (18:10 +0000)]
Merge "Add test for snapshot filtering by project id"

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Fri, 13 Nov 2015 17:47:35 +0000 (17:47 +0000)]
Merge "Imported Translations from Zanata"

8 years agoCorrect assertDictMatch argument order
Nate Potter [Wed, 21 Oct 2015 19:07:16 +0000 (19:07 +0000)]
Correct assertDictMatch argument order

Patch to fix the order of the arguments in assertDictMatch to
(expected, observed) in instances where it was in the
wrong order.

Closes-Bug: #1259292

Change-Id: I969d780ea06190ba5362106ee2b8efa1ee43927c

8 years ago3PAR Fix find_existing_vluns
Walter A. Boring IV [Tue, 10 Nov 2015 22:12:09 +0000 (14:12 -0800)]
3PAR Fix find_existing_vluns

When 3PAR iSCSI driver is configured for multipath, with multiple
ip addresses in hp3par_iscsi_ips, find_existing_vluns fails to return
more than 1 vlun.  The problem with this is that every time
initialize_connection is called, the driver will not find the vlun it expects
to be there, and then it will create a new one.

This patch removes the break inside of find_existing_vluns, so that it
returns the entire list, not just the first vlun.

Change-Id: I0861745717cf9045e10a030dc25fab419f7b1f58
Closes-Bug: #1515033

8 years agoMerge "Add LC_ALL=C to lvcreate, lvextend and pvresize"
Jenkins [Fri, 13 Nov 2015 16:15:19 +0000 (16:15 +0000)]
Merge "Add LC_ALL=C to lvcreate, lvextend and pvresize"

8 years agoMerge "Refactor HP 3PAR drivers to now be HPE"
Jenkins [Fri, 13 Nov 2015 16:14:29 +0000 (16:14 +0000)]
Merge "Refactor HP 3PAR drivers to now be HPE"

8 years agoMerge "Port zfssa driver to Python 3"
Jenkins [Fri, 13 Nov 2015 12:36:09 +0000 (12:36 +0000)]
Merge "Port zfssa driver to Python 3"

8 years agoPort EMC VMAX to Python 3
Victor Stinner [Mon, 9 Nov 2015 11:54:16 +0000 (12:54 +0100)]
Port EMC VMAX to Python 3

* Fix EMCVMAXMasking._get_storage_group_from_masking_view_instance():
  replace "if groups[0] > 0:" with "if len(groups):"
* tests-py3.txt: add cinder.tests.unit.test_emc_vmax

Partial-Implements: blueprint cinder-python3
Change-Id: I0f6be3cc0873efe683d39c4c70e19d0d0b79beb8

8 years agoPort EMC VNX CLI to Python 3
Victor Stinner [Wed, 7 Oct 2015 14:07:22 +0000 (16:07 +0200)]
Port EMC VNX CLI to Python 3

CreateConsistencyGroupTask, WaitMigrationsCompleteTask: sort the lun
identifier keys to have a determinist order. On Python 3, the hash
function is randomized, so set() order is undefined and changes at
each run.

Other changes:

* Replace map() with list-comprehension to get a list on Python 3.
* Replace assertTrue(str.find(pattern) > 0) with
  assertIn(pattern, str) to not fail if pattern is at the beginning
  on the string. On Python 3, the hash function is randomized and so
  parts of the provider_location are in a random order, it can be at
  the beginning.
* tests-py3.txt: add cinder.tests.unit.test_emc_vnxdirect

Partial-Implements: blueprint cinder-python3
Change-Id: I114029c1c9862583e64781379001870a682ea42d

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Fri, 13 Nov 2015 06:37:53 +0000 (06:37 +0000)]
Imported Translations from Zanata

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

Change-Id: Ia11e9eca9fbc4dd75f61b84a4a95c2d07500347f

8 years agoMerge "Update retype API to use versionedobjects"
Jenkins [Fri, 13 Nov 2015 04:52:33 +0000 (04:52 +0000)]
Merge "Update retype API to use versionedobjects"

8 years agoMerge "Update get/delete_volume API to use versionedobjects"
Jenkins [Fri, 13 Nov 2015 04:52:19 +0000 (04:52 +0000)]
Merge "Update get/delete_volume API to use versionedobjects"

8 years agoMerge "py3: Fix error handling in prophetstor driver"
Jenkins [Fri, 13 Nov 2015 03:06:03 +0000 (03:06 +0000)]
Merge "py3: Fix error handling in prophetstor driver"

8 years agoMerge "Updated from global requirements"
Jenkins [Fri, 13 Nov 2015 03:02:44 +0000 (03:02 +0000)]
Merge "Updated from global requirements"

8 years agoMerge "Port vzstorage to Python 3"
Jenkins [Fri, 13 Nov 2015 00:51:13 +0000 (00:51 +0000)]
Merge "Port vzstorage to Python 3"

8 years agopy3: Fix error handling in prophetstor driver
Victor Stinner [Sun, 8 Nov 2015 20:49:09 +0000 (21:49 +0100)]
py3: Fix error handling in prophetstor driver

* Port prophetstor driver to Python 3
* Replace "except exception as e:" with "except Exception as e:"
  to handle "Fexvisor failed to join the volume ..." and "Fexvisor
  failed to remove the volume ..." errors. Here, lower case
  "exception" is the cinder.exception module, not an exception class.
  On Python 3, "except" requires exception classes.
* tests-py3.txt: add cinder.tests.unit.test_prophetstor_dpl

Partial-Implements: blueprint cinder-python3
Change-Id: I0447b62cc0afe5a10ecbc888dfb6608b69f977d2

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Thu, 12 Nov 2015 22:07:31 +0000 (22:07 +0000)]
Updated from global requirements

Change-Id: I7aa9545451d910681f114e856e8ab82e898b9f20

8 years agoRefactor HP 3PAR drivers to now be HPE
Anthony Lee [Thu, 29 Oct 2015 22:04:32 +0000 (15:04 -0700)]
Refactor HP 3PAR drivers to now be HPE

This patch refactors the HP 3PAR FC and iSCSI drivers to be
HPE 3PAR FC and HPE 3PAR iSCI.

This is being done because the company responsible for the
HP 3PAR FC and iSCSI drivers is now called Hewlett Packard
Enterprise (HPE).

The drivers are now located in the cinder/volume/drivers/hpe
folder.

DocImpact
Implements: blueprint rebrand-hp-3par-driver
Change-Id: I529429e00ef5e1b7263d40d9d50ed8ac8535d34a

8 years agoMerge "OpenStack typo"
Jenkins [Thu, 12 Nov 2015 20:25:00 +0000 (20:25 +0000)]
Merge "OpenStack typo"