openstack-build/cinder-build.git
7 years agoTeam upload. anonscm.debian.org/debian/mitaka/for-trusty
Ondřej Nový [Sun, 14 Aug 2016 14:00:52 +0000 (16:00 +0200)]
Team upload.

Rewritten-From: a0a9eb86051dd7f5f62697df66fdd626b0ac26d5

7 years agoreleasing package cinder version 2:8.0.0-5
Ondřej Nový [Sun, 14 Aug 2016 13:58:08 +0000 (15:58 +0200)]
releasing package cinder version 2:8.0.0-5

Rewritten-From: 2fe7db7a3abfbc0696d8d829404af8bb038b6cc7

7 years agoAdded python-pep8 to build depends (Closes: #834275)
Ondřej Nový [Sun, 14 Aug 2016 13:22:24 +0000 (15:22 +0200)]
Added python-pep8 to build depends (Closes: #834275)

Rewritten-From: 30bde818945f3af8d3a27e0466c450f806577571

7 years agoReleasing to unstable.
Thomas Goirand [Fri, 20 May 2016 12:32:34 +0000 (12:32 +0000)]
Releasing to unstable.

Rewritten-From: bc1bba8d8b77bc3d3ef8e251d85bd46c222d0ba4

7 years agod/copyright: Changed source URL to https protocol
Ondřej Nový [Thu, 19 May 2016 18:51:13 +0000 (20:51 +0200)]
d/copyright: Changed source URL to https protocol

Rewritten-From: e1637c6f4a2306aaf346cadde52ec79b0a390c5f

7 years ago * Updated Japanese debconf templates (Closes: #820761).
Thomas Goirand [Thu, 19 May 2016 09:02:00 +0000 (11:02 +0200)]
  * Updated Japanese debconf templates (Closes: #820761).
  * Updated Dutch debconf templates (Closes: #822967).
  * Added Brazilian Portuguese debconf templates (Closes: #824287).

Rewritten-From: 6e299becebc52fd845266536fdeeb4a2348c4529

8 years ago * Also blacklist test_create_delete_cgsnapshot which is non-deterministically
Thomas Goirand [Wed, 18 May 2016 08:21:41 +0000 (10:21 +0200)]
  * Also blacklist test_create_delete_cgsnapshot which is non-deterministically
    failing (Closes: #824595).

Rewritten-From: 4ea7b678d6b8183c789fbb09cc98959baf983b11

8 years ago * Fixed endpoint creation that was buggy: it was using keystone admin auth
Thomas Goirand [Wed, 13 Apr 2016 20:22:31 +0000 (20:22 +0000)]
  * Fixed endpoint creation that was buggy: it was using keystone admin auth
    token which we removed for Mitaka (Closes: #820844).

Rewritten-From: 176328de76075e70f92c97e09bee5e1e85a42f28

8 years agoStandards-Version is 3.9.8 now (no change)
Ondřej Nový [Sat, 9 Apr 2016 17:22:09 +0000 (19:22 +0200)]
Standards-Version is 3.9.8 now (no change)

Rewritten-From: fb9ec79b963b7b95e142dbeb6bdd878f9083e749

8 years agoNow packaging Mitaka 8.0.0 final.
Thomas Goirand [Thu, 7 Apr 2016 19:09:06 +0000 (21:09 +0200)]
Now packaging Mitaka 8.0.0 final.

Rewritten-From: 5c6f5a16ff9a8b8c5c9d88330c6c589fbff4a580

8 years agoNow packaging Mitaka rc2.
Thomas Goirand [Tue, 5 Apr 2016 09:50:40 +0000 (11:50 +0200)]
Now packaging Mitaka rc2.

Rewritten-From: 3bf153bc225f9a0e8a921685bf685829258df431

8 years agoMerge branch 'debian/mitaka' of git+ssh://git.debian.org/git/openstack/cinder into...
Thomas Goirand [Tue, 5 Apr 2016 08:48:23 +0000 (10:48 +0200)]
Merge branch 'debian/mitaka' of git+ssh://git.debian.org/git/openstack/cinder into debian/mitaka

Conflicts:
debian/changelog
debian/po/fr.po
debian/po/ja.po
debian/po/pt.po
debian/po/sv.po

Rewritten-From: 3cf5fdb953cb900127d597ff60d8727654812662

8 years ago * Uploading to unstable.
Thomas Goirand [Tue, 5 Apr 2016 08:43:50 +0000 (10:43 +0200)]
  * Uploading to unstable.
  * Updated ja.po debconf translation (Closes: #816343).

Rewritten-From: 6f1aba7f5510996063ed0770201c414f30f2fa79

8 years agoDo not use Keystone admin auth token to register API endpoint.
Thomas Goirand [Tue, 29 Mar 2016 12:25:19 +0000 (12:25 +0000)]
Do not use Keystone admin auth token to register API endpoint.

Rewritten-From: db66b37688bfddd9c62e3a1dd55c4e4136bbca28

8 years agoReworked install-missing-files.patch.
Thomas Goirand [Tue, 22 Mar 2016 11:01:31 +0000 (11:01 +0000)]
Reworked install-missing-files.patch.

Rewritten-From: cf3cee2f4e0939ed3601add3875940a42b50c702

8 years agoStandards-Version: 3.9.7
Thomas Goirand [Tue, 22 Mar 2016 10:56:58 +0000 (10:56 +0000)]
Standards-Version: 3.9.7

Rewritten-From: 399b9a6e3b13a01cd5503179869e8ef35b030506

8 years agoAdded python-pywbem as build-depends.
Thomas Goirand [Tue, 22 Mar 2016 10:53:40 +0000 (10:53 +0000)]
Added python-pywbem as build-depends.

Rewritten-From: a8cae4908bbb4cbba1cd457e0b03ad82df9af97e

8 years agoMerge branch 'debian/mitaka' of git+ssh://git.debian.org/git/openstack/cinder into...
Thomas Goirand [Tue, 22 Mar 2016 10:39:08 +0000 (11:39 +0100)]
Merge branch 'debian/mitaka' of git+ssh://git.debian.org/git/openstack/cinder into debian/mitaka

Conflicts:
debian/changelog

8 years agoMerge branch 'debian/mitaka' of git+ssh://git.debian.org/git/openstack/cinder into...
Thomas Goirand [Tue, 22 Mar 2016 10:39:08 +0000 (11:39 +0100)]
Merge branch 'debian/mitaka' of git+ssh://git.debian.org/git/openstack/cinder into debian/mitaka

Conflicts:
debian/changelog

Rewritten-From: ed7cdca76b67c41e8110d992edbee472d1a63bb6

8 years agoFixed (build-)depends for this release.
Thomas Goirand [Tue, 22 Mar 2016 10:38:52 +0000 (11:38 +0100)]
Fixed (build-)depends for this release.

8 years agoFixed (build-)depends for this release.
Thomas Goirand [Tue, 22 Mar 2016 10:38:52 +0000 (11:38 +0100)]
Fixed (build-)depends for this release.

Rewritten-From: 7b822b2a563fd6d4fce885cf6acdce227aaaa9f3

8 years agoRefreshed debian/patches/remove-zfssa-from-opts.py.patch
Thomas Goirand [Tue, 22 Mar 2016 10:37:10 +0000 (10:37 +0000)]
Refreshed debian/patches/remove-zfssa-from-opts.py.patch

8 years agoRefreshed debian/patches/remove-zfssa-from-opts.py.patch
Thomas Goirand [Tue, 22 Mar 2016 10:37:10 +0000 (10:37 +0000)]
Refreshed debian/patches/remove-zfssa-from-opts.py.patch

Rewritten-From: fa9fb9e7d967b06c82e1c3af6fef59ed70b58c07

8 years agoRemoved install-missing-files.patch.
Thomas Goirand [Tue, 22 Mar 2016 10:36:55 +0000 (10:36 +0000)]
Removed install-missing-files.patch.

8 years agoRemoved install-missing-files.patch.
Thomas Goirand [Tue, 22 Mar 2016 10:36:55 +0000 (10:36 +0000)]
Removed install-missing-files.patch.

Rewritten-From: 5eed3c734132f989c595eb46a4ba4204165b077b

8 years agoMerge tag '8.0.0_rc1' into debian/mitaka
Thomas Goirand [Tue, 22 Mar 2016 08:43:38 +0000 (09:43 +0100)]
Merge tag '8.0.0_rc1' into debian/mitaka

cinder 8.0.0.0rc1 release candidate

meta:version: 8.0.0.0rc1
meta:series: mitaka
meta:release-type: release candidate
meta:announce: openstack-announce@lists.openstack.org
meta:pypi: no
meta:first: no

8 years agoNow packaging Mitaka rc1.
Thomas Goirand [Tue, 22 Mar 2016 08:43:23 +0000 (09:43 +0100)]
Now packaging Mitaka rc1.

Rewritten-From: 61c6af17d9793588d5df1e4afb7c1b724a5fa425

8 years agoNow packaging Mitaka rc1.
Thomas Goirand [Tue, 22 Mar 2016 08:43:23 +0000 (09:43 +0100)]
Now packaging Mitaka rc1.

8 years agoMerge "Disallow quota deletes if default under usage"
Jenkins [Thu, 17 Mar 2016 02:52:51 +0000 (02:52 +0000)]
Merge "Disallow quota deletes if default under usage"

8 years agoMerge "Rework Storwize/SVC protocol to fix add_vdisk_copy"
Jenkins [Thu, 17 Mar 2016 02:52:41 +0000 (02:52 +0000)]
Merge "Rework Storwize/SVC protocol to fix add_vdisk_copy"

8 years agoMerge "3PAR fix create_cloned_volume for larger size"
Jenkins [Thu, 17 Mar 2016 02:52:31 +0000 (02:52 +0000)]
Merge "3PAR fix create_cloned_volume for larger size"

8 years agoMerge "Reserve 5 migrations for Mitaka backports"
Jenkins [Wed, 16 Mar 2016 22:57:04 +0000 (22:57 +0000)]
Merge "Reserve 5 migrations for Mitaka backports"

8 years agoMerge "Emit notifications for volume retype"
Jenkins [Wed, 16 Mar 2016 21:50:50 +0000 (21:50 +0000)]
Merge "Emit notifications for volume retype"

8 years agoMerge "Fix formatting in vol/snap delete API messages"
Jenkins [Wed, 16 Mar 2016 21:44:36 +0000 (21:44 +0000)]
Merge "Fix formatting in vol/snap delete API messages"

8 years agoMerge "EMC VMAX - SSl connection is not picking up values"
Jenkins [Wed, 16 Mar 2016 21:31:11 +0000 (21:31 +0000)]
Merge "EMC VMAX - SSl connection is not picking up values"

8 years agoMerge "Add volume RPC API v2.0"
Jenkins [Wed, 16 Mar 2016 21:26:29 +0000 (21:26 +0000)]
Merge "Add volume RPC API v2.0"

8 years agoMerge "Add backup RPC API v2.0"
Jenkins [Wed, 16 Mar 2016 21:26:13 +0000 (21:26 +0000)]
Merge "Add backup RPC API v2.0"

8 years agoMerge "Add scheduler RPC API v2.0"
Jenkins [Wed, 16 Mar 2016 20:49:39 +0000 (20:49 +0000)]
Merge "Add scheduler RPC API v2.0"

8 years agoMerge "Add update_host for backup in cinder-manager"
Jenkins [Wed, 16 Mar 2016 20:40:15 +0000 (20:40 +0000)]
Merge "Add update_host for backup in cinder-manager"

8 years agoReserve 5 migrations for Mitaka backports
Sean McGinnis [Wed, 16 Mar 2016 20:24:20 +0000 (15:24 -0500)]
Reserve 5 migrations for Mitaka backports

Reserve five migrations so that we can backport any fixes
that require a db migration to stable mitaka.

Change-Id: If5f0a6a5f7ae56e31fa32b6800c65e9d0c634b16

8 years agoMerge "Add devref on rolling upgrades"
Jenkins [Wed, 16 Mar 2016 18:20:18 +0000 (18:20 +0000)]
Merge "Add devref on rolling upgrades"

8 years agoAdd update_host for backup in cinder-manager
LisaLi [Fri, 19 Feb 2016 08:39:38 +0000 (16:39 +0800)]
Add update_host for backup in cinder-manager

As scaling backup is imported, if users sepecify backup_use_same_host,
they have to manually update backups' host.

Change-Id: Ic031cae16f4c58fa06d92e979fe2b83d244832fc

8 years agoMerge "Cleaned duplicate dictionary values"
Jenkins [Wed, 16 Mar 2016 17:30:14 +0000 (17:30 +0000)]
Merge "Cleaned duplicate dictionary values"

8 years agoMerge "Fix compatibility mode of backup jobs scheduling"
Jenkins [Wed, 16 Mar 2016 16:58:04 +0000 (16:58 +0000)]
Merge "Fix compatibility mode of backup jobs scheduling"

8 years agoFix formatting in vol/snap delete API messages
Eric Harney [Wed, 16 Mar 2016 15:08:08 +0000 (11:08 -0400)]
Fix formatting in vol/snap delete API messages

These messages print with incorrect spacing and
are shown from cinderclient when running volume
and snapshot delete.

Change-Id: I81175133baa84b43c71b6ca5bd7a93db7b541d3d

8 years agoMerge "Check volume_id consistent when creating backup"
Jenkins [Wed, 16 Mar 2016 14:23:57 +0000 (14:23 +0000)]
Merge "Check volume_id consistent when creating backup"

8 years agoCleaned duplicate dictionary values
root [Fri, 4 Mar 2016 08:08:58 +0000 (13:38 +0530)]
Cleaned duplicate dictionary values

Change-Id: I2a94ab9d282599bf3aeffb1bf32da6c43c9887f7

8 years agoFix compatibility mode of backup jobs scheduling
Michał Dulko [Wed, 16 Mar 2016 13:06:10 +0000 (14:06 +0100)]
Fix compatibility mode of backup jobs scheduling

While testing interoperability of Liberty and Mitaka services I've found
two problems with backup jobs scheduling when running in non-scalable
mode (this happens when we run mixed Liberty and Mitaka c-bak services,
so during the live upgrade).

First of all when passing volume.host into scheduling we don't strip it
from backend and pool parts (@backend#pool), so in multi-backend
environment scheduling doesn't match backup host names and that clue is
silently ignored.

Second problem is that we don't pass the target volume's host into the
scheduling when restoring the volume. This means that we don't schedule
the jobs exactly the old way and it may happen that Liberty's
cinder-backup will receive restore request with a target volume he don't
have access to.

This commit sorts both problems out. Please note that this is very
low-risk, as it affects only this non-scalable mode, which without this
is broken anyway.

Change-Id: Ib7195f27a1e455732db8621cd09ba87daa5d5a33
Closes-Bug: 1558073

8 years agoMerge "Huawei: Check the QoS status before we use"
Jenkins [Wed, 16 Mar 2016 12:07:56 +0000 (12:07 +0000)]
Merge "Huawei: Check the QoS status before we use"

8 years agoMerge "Huawei: Check when attach hypermetro volume"
Jenkins [Wed, 16 Mar 2016 11:53:21 +0000 (11:53 +0000)]
Merge "Huawei: Check when attach hypermetro volume"

8 years agoAdd devref on rolling upgrades
Michał Dulko [Sun, 31 Jan 2016 01:54:50 +0000 (17:54 -0800)]
Add devref on rolling upgrades

This is just for upstream developers, docs for operators should follow.

Related-Blueprint: rpc-object-compatibility

Change-Id: I7f9c7dc1d76f5d32c45e00a9e4da37323d927d3a

8 years ago3PAR fix create_cloned_volume for larger size
Walter A. Boring IV [Fri, 11 Mar 2016 10:28:08 +0000 (02:28 -0800)]
3PAR fix create_cloned_volume for larger size

This patch fixes the 3PAR driver's create_cloned_volume
call in the case where a larger size for the volume was
specified.  When the new volume size is the same as the
source volume, we still use an 'online' copy, which is
3PAR speak for background copy.  When the new volume size
is larger than the source volume, we have to do an offline
copy, which entails creating a fresh volume with the requested
size, and then copying the bits from the old volume to the new.
This copy happens on the 3PAR itself and can take some time to
complete.

This patch also updates the minimum client version to 4.2.0

Change-Id: Ie2da441b32017f38e743189060209084e1f20974
Closes-bug: #1554740

8 years agoCheck volume_id consistent when creating backup
lisali [Wed, 16 Mar 2016 07:27:05 +0000 (07:27 +0000)]
Check volume_id consistent when creating backup

When creating backup from snapshot, users specify both volume id
and snapshot id, this patch is to make sure volume id is consistent
with snapshot.volume_id.

Change-Id: I1bdaf00299ac6f9f45128b754b79be6700f44304
Closes-bug: #1557922

8 years agoMerge "Pass correct source_id to _handle_bootable_volume_glance_meta()"
Jenkins [Wed, 16 Mar 2016 05:52:48 +0000 (05:52 +0000)]
Merge "Pass correct source_id to _handle_bootable_volume_glance_meta()"

8 years agoMerge "LeftHand: Add default SSH timeout and key values"
Jenkins [Wed, 16 Mar 2016 05:43:25 +0000 (05:43 +0000)]
Merge "LeftHand: Add default SSH timeout and key values"

8 years agoMerge "Huawei: Implement v2.1 replication"
Jenkins [Wed, 16 Mar 2016 05:18:36 +0000 (05:18 +0000)]
Merge "Huawei: Implement v2.1 replication"

8 years agoMerge "Revert "VNX: Set timeout for naviseccli""
Jenkins [Wed, 16 Mar 2016 04:03:06 +0000 (04:03 +0000)]
Merge "Revert "VNX: Set timeout for naviseccli""

8 years agoHuawei: Check when attach hypermetro volume
huananhuawei [Wed, 24 Feb 2016 07:17:51 +0000 (15:17 +0800)]
Huawei: Check when attach hypermetro volume

Currently when we attach a hypermetro volume,
if the map info is none there is not logged
that is due to the array version does not
support hypermetro.

Change-Id: I51dc3e5b21fb0d44b00e498c4b2144e57b07e73c
Closes-Bug: #1549130

8 years agoHuawei: Check the QoS status before we use
Wilson Liu [Sat, 23 Jan 2016 02:46:56 +0000 (10:46 +0800)]
Huawei: Check the QoS status before we use

Currently we use a existing QoS without check
whether the QoS is for block storage or NAS,
but one QoS on the array should be used for either
block storage or NAS, not both. Also, we add
check with QoS parameter.

Closes-Bug: #1537301
Change-Id: I9842044249cc59d9c29e887b68d48cf97595efcc

8 years agoLeftHand: Add default SSH timeout and key values
Alex O'Rourke [Sat, 12 Mar 2016 00:05:00 +0000 (16:05 -0800)]
LeftHand: Add default SSH timeout and key values

Currently if ssh_conn_timeout or san_private_key is not specified
in the remote_array object, the client creation fails. This should not
be the case. Instead, we can add default values to allow the creation
to succeed.

In addition, this patch removes some redudent lines of code and
moves a call to a more logical place.

Change-Id: I0bb32c2ea9a16ea568059ff7a5a5f07a95c718eb
Closes-Bug: #1556331

8 years agoPass correct source_id to _handle_bootable_volume_glance_meta()
Mitsuhiro Tanino [Tue, 15 Mar 2016 22:56:59 +0000 (18:56 -0400)]
Pass correct source_id to _handle_bootable_volume_glance_meta()

When we create a new volume from existing volume which has
volume_image_metadata, volume_image_metadata was not copied
to cloned volume.

This is a regression from Liberty and the root cause of this
problem was introduced via commit
032032f0c329b4eddcbf2185399396ff4fd5f00d.

This patch fixed a problem to pass correct source_id to
_handle_bootable_volume_glance_meta().

Change-Id: Ife1e9a6a25704569f8a599d19eee893bc7c0a469
Closes-Bug: #1557783

8 years agoMerge "Use get_by_args instead of get_by_host_and_topic"
Jenkins [Tue, 15 Mar 2016 21:25:53 +0000 (21:25 +0000)]
Merge "Use get_by_args instead of get_by_host_and_topic"

8 years agoMerge "Fix volume migration VolumeType exception"
Jenkins [Tue, 15 Mar 2016 21:25:42 +0000 (21:25 +0000)]
Merge "Fix volume migration VolumeType exception"

8 years agoMerge "Fix retype failure when original has no volume type"
Jenkins [Tue, 15 Mar 2016 21:05:57 +0000 (21:05 +0000)]
Merge "Fix retype failure when original has no volume type"

8 years agoMerge "Huawei: Creating hypermetro failed in the remote pool"
Jenkins [Tue, 15 Mar 2016 20:16:43 +0000 (20:16 +0000)]
Merge "Huawei: Creating hypermetro failed in the remote pool"

8 years agoMerge "Fix format in cinder/volume/drivers/netapp/dataontap/block_base.py"
Jenkins [Tue, 15 Mar 2016 18:01:57 +0000 (18:01 +0000)]
Merge "Fix format in cinder/volume/drivers/netapp/dataontap/block_base.py"

8 years agoMerge "NetApp E-Series: Volumes not added to consisgroup"
Jenkins [Tue, 15 Mar 2016 18:00:22 +0000 (18:00 +0000)]
Merge "NetApp E-Series: Volumes not added to consisgroup"

8 years agoUse get_by_args instead of get_by_host_and_topic
Ivy Zhang [Tue, 15 Mar 2016 09:25:36 +0000 (05:25 -0400)]
Use get_by_args instead of get_by_host_and_topic

We already changed to use get_by_args, but in init_host_with_rpc,
it still called get_by_host_and_topic instead of get_by_args.
Which would cause restart a disabled cinder-volume service failed

Change-Id: I10f562b4298e548f681030a71c828e3d2265e416
Closes-Bug: 1557366

8 years agoFix format in cinder/volume/drivers/netapp/dataontap/block_base.py
Andreas Jaeger [Tue, 15 Mar 2016 07:31:11 +0000 (08:31 +0100)]
Fix format in cinder/volume/drivers/netapp/dataontap/block_base.py

The format misses the conversion type. This break translation testing in
an interesting way, the translated string is not accepted as valid.

Change-Id: Ieb63e9efcc3ec38be115e1e9b32e6ef55d777ba6

8 years agoRevert "VNX: Set timeout for naviseccli"
Ryan Liang [Tue, 15 Mar 2016 01:39:45 +0000 (01:39 +0000)]
Revert "VNX: Set timeout for naviseccli"

EMC CI test failed.
It is not the fault of adding timeout option to naviseccli.
I made a mistake by adding wrong option format in code.
The command line should be
self.command = (navisecclipath, '-timeout', '120', '-address')
instead of
self.command = (navisecclipath, '-timeout 120', '-address')
Later, I will send out a new review for the right one,
after this is reverted.

This reverts commit 4fe875a199e407970686d6f4159e5f15de0528db.

Change-Id: I5c5003d83370bea0b9e06a3d7adc5a5c2a7e61f3

8 years agoMerge "IBM XIV/DS8K: Implement Replication v2.1"
Jenkins [Tue, 15 Mar 2016 03:46:37 +0000 (03:46 +0000)]
Merge "IBM XIV/DS8K: Implement Replication v2.1"

8 years agoMerge "VNX: Allow set migrate rate when migrating volumes"
Jenkins [Mon, 14 Mar 2016 22:06:25 +0000 (22:06 +0000)]
Merge "VNX: Allow set migrate rate when migrating volumes"

8 years agoMerge "VNX: Set timeout for naviseccli"
Jenkins [Mon, 14 Mar 2016 22:06:06 +0000 (22:06 +0000)]
Merge "VNX: Set timeout for naviseccli"

8 years agoMerge "Continue volume delete on encryption key delete errors"
Jenkins [Mon, 14 Mar 2016 21:54:16 +0000 (21:54 +0000)]
Merge "Continue volume delete on encryption key delete errors"

8 years agoNetApp E-Series: Volumes not added to consisgroup
Michael Price [Thu, 10 Mar 2016 17:17:18 +0000 (11:17 -0600)]
NetApp E-Series: Volumes not added to consisgroup

Volumes were not being added to a consistency group upon creation when the
consistencygroup_id is provided during the volume creation.

This patch adds functionality to relevant methods in library.py to add the newly
created volume to a consistency group when applicable.

Closes-Bug: #1555933
Change-Id: I6d09b81571ce7b5c07d155cb4a70079fe35ed945

8 years agoMerge "Wrong comment line in quotas.py"
Jenkins [Mon, 14 Mar 2016 17:48:00 +0000 (17:48 +0000)]
Merge "Wrong comment line in quotas.py"

8 years agoFix volume migration VolumeType exception
Ryan McNair [Mon, 14 Mar 2016 17:37:35 +0000 (17:37 +0000)]
Fix volume migration VolumeType exception

Since Iabf9c3fab56ffef50695ce45745f193273822b39 modified the default
loaded attributes, the obj_attr_is_set check in finish_volume_migration
is now True for VolumeType. This should not get copied to the new
volume (since it's lazy-loaded based on the volume_type_id), so
this patch adds volume_type to the list of keys to ignore. To get
test coverage, test_finish_volume_migration is updated to use the
default expected_attributes and dict comprehension is updated so
it succeeds without glance_metadata being present.

Change-Id: Id3670dba79afb0d9d1b686ac2772c955372e97af
Closes-Bug: #1555862
Depends-On: I2caf4d3f4aa088d099548e6e88d1776b4cc5810c

8 years agoMerge "Fix ScaleIO driver does not honor clone size"
Jenkins [Mon, 14 Mar 2016 16:28:06 +0000 (16:28 +0000)]
Merge "Fix ScaleIO driver does not honor clone size"

8 years agoFix retype failure when original has no volume type
Tom Barron [Fri, 19 Feb 2016 23:19:14 +0000 (18:19 -0500)]
Fix retype failure when original has no volume type

cinder.objects.volume.Volume.finish_volume_migration()
should skip the volume_type_id field when swapping fields
between "source" and "dest" volumes.  The "dest" volume
has already been created with appropriate volume_type_id
and the "source" may have not have a volume type.

This commit also changes a LOG.error() to a LOG.exception()
in where finish_volume_migration is called in order to
show the exception traceback in its calling context.

Change-Id: I2caf4d3f4aa088d099548e6e88d1776b4cc5810c
Closes-bug: #1547546

8 years agoAdd backup RPC API v2.0
Michał Dulko [Mon, 22 Feb 2016 13:06:37 +0000 (14:06 +0100)]
Add backup RPC API v2.0

This patch creates backup RPC API version 2.0, while retaining
compatibility in rpcapi and manager for 1.x, allowing for continuous
deployment scenarios.

This should be merged just before the Mitaka release.

UpgradeImpact - Deployments doing continous deployment should not
upgrade into Newton before doing an upgrade which includes all the
Mitaka's RPC API version bump commits (scheduler, volume, backup).

Related-Blueprint: rpc-object-compatibility

Change-Id: I0c66e4126901e6d60054d093cf87d43f4b9df666

8 years agoIBM XIV/DS8K: Implement Replication v2.1
Alon Marx [Thu, 3 Mar 2016 16:15:38 +0000 (18:15 +0200)]
IBM XIV/DS8K: Implement Replication v2.1

This patch implements cinder Replication version 2.1 as proposed in
https://blueprints.launchpad.net/cinder/+spec/replication

The driver implements:
1. freeze_backend - notify the backend that it's frozen
2. thaw_backend - notify the backend that it's not frozen
3. host_failover - failover a backend to a secondary replication target

Also removed v1.0 and v2.0 functions

DocImpact
Change-Id: I50498180c63725ab0f524ff8d55952446800570f
Closes-Bug: #1543600

8 years agoHuawei: Implement v2.1 replication
neochin [Sat, 12 Mar 2016 18:11:46 +0000 (02:11 +0800)]
Huawei: Implement v2.1 replication

This patch implements the v2.1 replication in the HuaweiDriver.
All function in replication v2 are removed. A new function,
failover_host, is added to support failover between backends.

When error occurred on primary backend, you can failover to
the secondary backend. But it's strongly recommended to recover
the primary backend.

After failover backend, the operations on the secondary backend
are limited. A simple example, if you create a new volume on
secondary, after failback, it can't be used. So, You should not
do that, such as create, delete, extend volumes, etc.

But you can detach volume if it's in in-use status, then do
attach to vm to make replication volumes R&W.

The configuration for v2.1 is almost the same as v2. Except that,
only one backend configuration is needed. A simple example as
follows:

[replica]
volume_driver =
    cinder.volume.drivers.huawei.huawei_driver.HuaweiISCSIDriver
    cinder_huawei_conf_file = /etc/cinder/cinder_huawei_conf.xml
    replication_device = backend_id:huawei-replica-1,
        storage_pool:pool_1,
        san_address:san_url_1;san_url_2,
        iscsi_default_target_ip:192.168.1.100,
        san_user:admin,san_password:passwd

Change-Id: Ib555707e9751f78ce00c9dcdbbe370a18ed0ae6c
Closes-Bug: #1556450

8 years agoMerge "Host selection in backup service"
Jenkins [Mon, 14 Mar 2016 14:47:53 +0000 (14:47 +0000)]
Merge "Host selection in backup service"

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Mon, 14 Mar 2016 14:46:45 +0000 (14:46 +0000)]
Merge "Imported Translations from Zanata"

8 years agoMerge "Remove circular import to fix config generation"
Jenkins [Mon, 14 Mar 2016 14:46:29 +0000 (14:46 +0000)]
Merge "Remove circular import to fix config generation"

8 years agoMerge "Add the key 'replication' and set the correct 'replication_status'"
Jenkins [Mon, 14 Mar 2016 13:24:06 +0000 (13:24 +0000)]
Merge "Add the key 'replication' and set the correct 'replication_status'"

8 years agoMerge "Trival: Remove 'MANIFEST.in'"
Jenkins [Mon, 14 Mar 2016 13:13:52 +0000 (13:13 +0000)]
Merge "Trival: Remove 'MANIFEST.in'"

8 years ago * Disable non-deterministic failed tests:
Thomas Goirand [Mon, 14 Mar 2016 13:11:25 +0000 (14:11 +0100)]
  * Disable non-deterministic failed tests:
    cinder.tests.unit.test_volume.VolumeTestCase.test_create_delete_volume

Rewritten-From: c83ddc1c9bd2273cda952fb48bfda5ca65adf0d2

8 years ago * Disable non-deterministic failed tests:
Thomas Goirand [Mon, 14 Mar 2016 13:11:25 +0000 (14:11 +0100)]
  * Disable non-deterministic failed tests:
    cinder.tests.unit.test_volume.VolumeTestCase.test_create_delete_volume

8 years agoRemove circular import to fix config generation
Gorka Eguileor [Mon, 14 Mar 2016 11:54:58 +0000 (12:54 +0100)]
Remove circular import to fix config generation

Patch https://review.openstack.org/278354 created a circular import when
added an "import cinder.db" line to cinder/api/common.py since
cinder/db/api.py imports cinder.api.common back, which breaks genconfig.

Change-Id: Ic60866822e74687101a3885f6000f89d901bb17a
Closes-Bug: #1556889

8 years agoWrong comment line in quotas.py
WenjunWang1992 [Mon, 14 Mar 2016 09:10:16 +0000 (17:10 +0800)]
Wrong comment line in quotas.py

The commonts are not suitable in the code below:
1)in function "show"
origin:
        :param id:target project id that needs to be updated
change to:
        :param id:target project id that needs to be shown
2)in function "delete"
origin:
        :param id:target project id that needs to be updated
change to:
        :param id:target project id that needs to be deleted

Change-Id: I5b14c400a3b0117e43f1192c3deac76cb81c2c1b
Closes-Bug: #1556761

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Mon, 14 Mar 2016 06:26:03 +0000 (06:26 +0000)]
Imported Translations from Zanata

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

Change-Id: Ie8b2605ed4e5a1cb5c12f4011f6fdf1fa11783e2

8 years agoVNX: Set timeout for naviseccli
Ryan LIANG [Wed, 3 Feb 2016 08:40:03 +0000 (00:40 -0800)]
VNX: Set timeout for naviseccli

Add -timeout option to all naviseccli commands,
the value is 120 sec.

Change-Id: Ib3b35da6766b5db69395b89debd50c54d69eec00
Closes-Bug: 1546412

8 years agoVNX: Allow set migrate rate when migrating volumes
peter_wang [Mon, 28 Dec 2015 05:56:18 +0000 (13:56 +0800)]
VNX: Allow set migrate rate when migrating volumes

VNX driver is leveraging LUN migration functionality when
clone/migrate/retype volume. The migration rate is set to 'high'
by hard code.

This patch will allow admin to control the migration rate by
adding volume metadata before triggering any operations involving
LUN migration.

The required metadata key is 'migrate_rate', available metadata
values are 'high', 'asap', 'low' and 'medium'.

DocImpact
Change-Id: Ie9a875dd63dd60351e46a66c99977d9b6fd23244
Closes-Bug: 1529553

8 years agoMerge "DRBD driver: resize volume if cloned image is larger"
Jenkins [Sun, 13 Mar 2016 20:57:30 +0000 (20:57 +0000)]
Merge "DRBD driver: resize volume if cloned image is larger"

8 years agoMerge "Delete deprecated configuration in NFS tests"
Jenkins [Sun, 13 Mar 2016 19:53:35 +0000 (19:53 +0000)]
Merge "Delete deprecated configuration in NFS tests"

8 years agoFix ScaleIO driver does not honor clone size
Matan Sabag [Sun, 13 Mar 2016 11:19:49 +0000 (04:19 -0700)]
Fix ScaleIO driver does not honor clone size

Fixed a bug that when creating a volume from source the driver didn't honor the new volume size.
Added unit test.

Change-Id: I3a39953002432ac70a4ee2eccedd6737d9c3b019
Closes-Bug: #1554777

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Sun, 13 Mar 2016 06:33:39 +0000 (06:33 +0000)]
Imported Translations from Zanata

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

Change-Id: Ia0b6cf6b58b5798254271d2f5bf8e19243375a87

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Sat, 12 Mar 2016 14:31:36 +0000 (14:31 +0000)]
Merge "Imported Translations from Zanata"

8 years agoMerge "Remove remaining oslo-incubator code from Cinder"
Jenkins [Sat, 12 Mar 2016 11:17:32 +0000 (11:17 +0000)]
Merge "Remove remaining oslo-incubator code from Cinder"