]> review.fuel-infra Code Review - openstack-build/cinder-build.git/log
openstack-build/cinder-build.git
8 years agoMerge "Remove "sqlite_clean_db" option"
Jenkins [Wed, 9 Mar 2016 23:29:59 +0000 (23:29 +0000)]
Merge "Remove "sqlite_clean_db" option"

8 years agoMerge "Exclude test.py from sample conf"
Jenkins [Wed, 9 Mar 2016 23:29:44 +0000 (23:29 +0000)]
Merge "Exclude test.py from sample conf"

8 years agoMerge "Updated from global requirements"
Jenkins [Wed, 9 Mar 2016 23:28:23 +0000 (23:28 +0000)]
Merge "Updated from global requirements"

8 years agoMerge "Dell SC: create_cloned_volume didn't honor size"
Jenkins [Wed, 9 Mar 2016 18:32:43 +0000 (18:32 +0000)]
Merge "Dell SC: create_cloned_volume didn't honor size"

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Wed, 9 Mar 2016 18:05:28 +0000 (18:05 +0000)]
Merge "Imported Translations from Zanata"

8 years agoMerge "Fix failure with rbd on slow ceph clusters"
Jenkins [Wed, 9 Mar 2016 17:11:12 +0000 (17:11 +0000)]
Merge "Fix failure with rbd on slow ceph clusters"

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Wed, 9 Mar 2016 16:45:59 +0000 (16:45 +0000)]
Updated from global requirements

Change-Id: I0d858b4e6a55b509cf3ed05d2dde486f99034358

8 years agoRemove "sqlite_clean_db" option
Eric Harney [Wed, 9 Mar 2016 15:48:54 +0000 (10:48 -0500)]
Remove "sqlite_clean_db" option

This only affects unit tests and is not likely
to be configured by anyone.

Just remove the option to simplify and clean up
a bit.

Change-Id: I6baf8e3aeb08d28568079457cd900acbe7c63c5d

8 years agoExclude test.py from sample conf
Eric Harney [Wed, 9 Mar 2016 15:41:55 +0000 (10:41 -0500)]
Exclude test.py from sample conf

This removes "sqlite_clean_db" from the sample conf
file, which is only applicable for unit tests.

Closes-Bug: #1554575

Change-Id: Ic877f490274d773c53bd107da173752a5f63d43d

8 years agoMerge "Huawei: Check the real size before extend volume"
Jenkins [Wed, 9 Mar 2016 15:37:39 +0000 (15:37 +0000)]
Merge "Huawei: Check the real size before extend volume"

8 years agoMerge "Remove those unnecessary statements "return True""
Jenkins [Wed, 9 Mar 2016 14:07:41 +0000 (14:07 +0000)]
Merge "Remove those unnecessary statements "return True""

8 years agoMerge "Trim 5s+ from storwize unit tests"
Jenkins [Wed, 9 Mar 2016 13:16:42 +0000 (13:16 +0000)]
Merge "Trim 5s+ from storwize unit tests"

8 years agoFix failure with rbd on slow ceph clusters
Michal Jura [Mon, 7 Mar 2016 10:29:32 +0000 (11:29 +0100)]
Fix failure with rbd on slow ceph clusters

Make rados connection interval and retries configurable
for _try_remove_volume() function

Otherwise on slow ceph clusters, we can get following problem:

"ImageBusy error raised while deleting rbd volume. This may have been
caused by a connection from a client that has crashed and, if so,
may be resolved by retrying the delete after 30 seconds has elapsed."

Change-Id: I1230715663ea00c3eb4241154e6f194dee0e23d4
Co-Authored-By: Dirk Mueller <dirk@dmllr.de>
Closes-Bug: #1554045

8 years agoRemove those unnecessary statements "return True"
Javeme [Wed, 18 Nov 2015 08:26:08 +0000 (16:26 +0800)]
Remove those unnecessary statements "return True"

The reasons to remove them:
* These asynchronous API is not necessary to return a value.
* We do not see the purpose of the statements, because it always
  returns true regardless of success or failure.

These statements are unnecessary and misleading, this commit we will
remove these "return True" (Or just remove "True" if it's not at the
end of a function, in order not to change the execution path).

Affected methods:
* delete_volume
* delete_snapshot
* delete_consistencygroup
* update_consistencygroup
* delete_cgsnapshot

Closes-Bug: #1533997
Change-Id: I38bac64b9eb1be6a4756cfcd3894615d2b849551

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Wed, 9 Mar 2016 06:35:38 +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: I0c02d02205ce469f81a19d610287e50536f93dc1

8 years agoMerge "Storwize/SVC: Clone between different size volumes"
Jenkins [Tue, 8 Mar 2016 22:55:56 +0000 (22:55 +0000)]
Merge "Storwize/SVC: Clone between different size volumes"

8 years agoDell SC: create_cloned_volume didn't honor size
Tom Swanson [Tue, 8 Mar 2016 22:14:42 +0000 (16:14 -0600)]
Dell SC: create_cloned_volume didn't honor size

If the volume being created was larger than the cloned volume
the new volume was not being resized.

Change-Id: I43b9da93d8770a5630f7a6b2af2c164c3ed1f4ec
Closes-Bug: 1554741

8 years agoMerge "Fix for glance_metadata during volume migration"
Jenkins [Tue, 8 Mar 2016 17:53:13 +0000 (17:53 +0000)]
Merge "Fix for glance_metadata during volume migration"

8 years agoMerge "Fixes creating volume issue for multiple management IPs"
Jenkins [Tue, 8 Mar 2016 17:48:41 +0000 (17:48 +0000)]
Merge "Fixes creating volume issue for multiple management IPs"

8 years agoMerge "Add volumes table definition when migrating to 67"
Jenkins [Tue, 8 Mar 2016 17:36:15 +0000 (17:36 +0000)]
Merge "Add volumes table definition when migrating to 67"

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Tue, 8 Mar 2016 14:38:59 +0000 (14:38 +0000)]
Merge "Imported Translations from Zanata"

8 years agoMerge "Fixup release notes for v2 -> v2.1 replication impls"
Jenkins [Tue, 8 Mar 2016 14:38:44 +0000 (14:38 +0000)]
Merge "Fixup release notes for v2 -> v2.1 replication impls"

8 years agoMerge "Use get_by_args instead of host_and_topic"
Jenkins [Tue, 8 Mar 2016 11:30:44 +0000 (11:30 +0000)]
Merge "Use get_by_args instead of host_and_topic"

8 years agoFixes creating volume issue for multiple management IPs
stack [Fri, 4 Mar 2016 09:13:06 +0000 (04:13 -0500)]
Fixes creating volume issue for multiple management IPs

Currently there is an issue with the multiple management IPs in
Storwize SVC where volume creation would fail when
storwize_san_sencondory_ip switch to san_ip.
This patch adds a condition to check the sshpool.ip, if the
sshpool.ip equals to storwize_san_sencondory_ip, switch it back
to san_ip.

Change-Id: I44f056b59109db24441c62a55f3da35424cade3a
Closes-Bug: 1553045

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Tue, 8 Mar 2016 06:35:29 +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: I485c19474d4aadaa27d4cf22f97f3bc8e13d53fb

8 years agoAdd volumes table definition when migrating to 67
wanghao [Tue, 8 Mar 2016 05:57:15 +0000 (13:57 +0800)]
Add volumes table definition when migrating to 67

When migrating DB to 67 readd_iscsi_targets_table,
we will add foreign key "volumes.id", but we miss
to define the volumes table, that will cause the
migrating process fail: 'NoReferencedTableError'.

Fix this issue by adding volume table definition
before creating iscsi_targets table. test is
added as well.

Change-Id: Id0e0970517a5d3414e0ed124b2b7b3a5b1973761
Closes-Bug: #1554329

8 years agoMerge "Fix backup import"
Jenkins [Tue, 8 Mar 2016 05:00:22 +0000 (05:00 +0000)]
Merge "Fix backup import"

8 years agoTrim 5s+ from storwize unit tests
Tom Barron [Mon, 7 Mar 2016 20:05:21 +0000 (15:05 -0500)]
Trim 5s+ from storwize unit tests

The test test_run_ssh_fail_to_secondary_ip test case in the StorWize
Driver does a greenthread.sleep(random.randint()) inside a retry loop.
Its execution time often approaches 5s.

This commit mocks random.randint() in this test so that the
greenthread.sleep() duration is always zero, reducing execution time for
the test to under half a second.

The various test_storwize_consistency_group* tests trigger
FixedIntervalLoopingCalls.  Mocking them with ZeroIntervalLoopingCalls
reduces their total execution time from about 8s to under 3s.

We also fix the fake user and project ids in this file so that
it no longer emits FutureWarnings from oslo.versionedobjects about
invalid uuids as documented here [1].

[1] http://docs.openstack.org/developer/oslo.versionedobjects/api/fields.html#oslo_versionedobjects.fields.UUIDField

Change-Id: I05dc3c4a5a886ce323430055f34d6c578c0f4443

8 years agoMerge "microversion header for legacy endpoints removed"
Jenkins [Mon, 7 Mar 2016 21:16:21 +0000 (21:16 +0000)]
Merge "microversion header for legacy endpoints removed"

8 years agoMerge "Update quotas to handle domain acting as project"
Jenkins [Mon, 7 Mar 2016 20:06:15 +0000 (20:06 +0000)]
Merge "Update quotas to handle domain acting as project"

8 years agomicroversion header for legacy endpoints removed
scottda [Fri, 4 Mar 2016 13:45:25 +0000 (06:45 -0700)]
microversion header for legacy endpoints removed

With the current implementation, a microversion header will be returned
even if /v1 or /v2 API endpoints are used.
This is wrong, and constitutes an API change. Remove this header for
legacy endpoints /v1 and /v2.

Change-Id: Ided4fb35bd5cd5af512e777f9e4af275754097be
Closes-Bug: #1553194

8 years agoMerge "Update quota_utils with import for keystone_auth"
Jenkins [Mon, 7 Mar 2016 18:14:15 +0000 (18:14 +0000)]
Merge "Update quota_utils with import for keystone_auth"

8 years agoMerge "Add missing requirements"
Jenkins [Mon, 7 Mar 2016 17:10:47 +0000 (17:10 +0000)]
Merge "Add missing requirements"

8 years agoUpdate quotas to handle domain acting as project
Ryan McNair [Tue, 1 Mar 2016 18:54:37 +0000 (18:54 +0000)]
Update quotas to handle domain acting as project

The Keystone change Ib22a0f3007cb7ef6b4df6f48da5f4d018e905f55 sets
the domain_id as the top-level parent project. However, since a
domain is not a project and therefore has no effect on quota nesting,
the domain "parent" should not be considered in the nested quota code.
This patch updates the quota code to ignore the domain_id if it's
present in the parent tree.

Change-Id: I221cfc14b886ea9819e065d4c79e8c4bfc94df45
Closes-Bug: #1551911

8 years agoMerge "Unset executable bit in release note"
Jenkins [Mon, 7 Mar 2016 15:52:20 +0000 (15:52 +0000)]
Merge "Unset executable bit in release note"

8 years agoFix backup import
lisali [Mon, 7 Mar 2016 14:24:15 +0000 (14:24 +0000)]
Fix backup import

During importing backup, Cinder finds out the backup
with same id, including deleted backup. There is problems
in current codes to get backup.

This patch is to transfer read_deleted parameter in
backup_get.

Change-Id: Ie13dfe5980b1c60b44e03267b88cfc056b30043b
Closes-bug: #1554055

8 years agoUnset executable bit in release note
Michał Dulko [Mon, 7 Mar 2016 14:24:44 +0000 (15:24 +0100)]
Unset executable bit in release note

One of the release notes YAMLs was added with executable bit. YAML isn't
really executable, so this patch unsets it.

TrivialFix

Change-Id: I736f4fa603d3ed3fc878a4369de6e4be7662c8c7

8 years agoMerge "Make query to quota usage table order preserved"
Jenkins [Mon, 7 Mar 2016 13:08:01 +0000 (13:08 +0000)]
Merge "Make query to quota usage table order preserved"

8 years agoMerge "Handle exceptions about snapshot in backup create"
Jenkins [Mon, 7 Mar 2016 12:53:37 +0000 (12:53 +0000)]
Merge "Handle exceptions about snapshot in backup create"

8 years agoMerge "Replace logging with oslo_log"
Jenkins [Mon, 7 Mar 2016 12:27:56 +0000 (12:27 +0000)]
Merge "Replace logging with oslo_log"

8 years agoMerge "Make nullable of fields in db model and object match"
Jenkins [Mon, 7 Mar 2016 12:26:47 +0000 (12:26 +0000)]
Merge "Make nullable of fields in db model and object match"

8 years agoMerge "Readd iscsi_target table"
Jenkins [Mon, 7 Mar 2016 03:12:52 +0000 (03:12 +0000)]
Merge "Readd iscsi_target table"

8 years agoHandle exceptions about snapshot in backup create
lisali [Thu, 3 Mar 2016 04:00:17 +0000 (04:00 +0000)]
Handle exceptions about snapshot in backup create

With snapshot backup, exceptions about Snapshot will
be raised.

This patch is to add handler about SnapshotNotFound
and InvalidSnapshot.

APIImpact
This bug is changes return code of creating backup request
when snapshot doesn't exist or is invalid.

Change-Id: Ib6a80df5496f93fb8967ed01e40d214c0c38aabc
Closes-Bug: #1549658

8 years agoReplace logging with oslo_log
Xi Yang [Sat, 9 Jan 2016 15:24:25 +0000 (23:24 +0800)]
Replace logging with oslo_log

Some modules are still using logging, this
patch is going to replace it.

Change-Id: Id79913376b946f4aff1be6a24b7c95dc21fc28cf

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Sat, 5 Mar 2016 06:34:24 +0000 (06:34 +0000)]
Imported Translations from Zanata

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

Change-Id: I149b3a4764a2637e26106f3456f182d3eab9460c

8 years agoMerge "Remove QoS settings from SolidFire attributes"
Jenkins [Sat, 5 Mar 2016 05:20:42 +0000 (05:20 +0000)]
Merge "Remove QoS settings from SolidFire attributes"

8 years agoMerge "Don't fail on clearing 3PAR object volume key"
Jenkins [Sat, 5 Mar 2016 03:14:29 +0000 (03:14 +0000)]
Merge "Don't fail on clearing 3PAR object volume key"

8 years agoMerge "Dell SC: Support Replication V2.1"
Jenkins [Sat, 5 Mar 2016 03:06:34 +0000 (03:06 +0000)]
Merge "Dell SC: Support Replication V2.1"

8 years agoMerge "CONF add suppress_requests_ssl_warnings"
Jenkins [Sat, 5 Mar 2016 02:24:09 +0000 (02:24 +0000)]
Merge "CONF add suppress_requests_ssl_warnings"

8 years agoMerge "Huawei: Create snapshot have a log error"
Jenkins [Sat, 5 Mar 2016 02:23:47 +0000 (02:23 +0000)]
Merge "Huawei: Create snapshot have a log error"

8 years agoMerge "support new HTTP microversion header"
Jenkins [Sat, 5 Mar 2016 01:26:08 +0000 (01:26 +0000)]
Merge "support new HTTP microversion header"

8 years agoMerge "Allow for Pure drivers to verify HTTPS requests"
Jenkins [Sat, 5 Mar 2016 01:25:46 +0000 (01:25 +0000)]
Merge "Allow for Pure drivers to verify HTTPS requests"

8 years agoFixup release notes for v2 -> v2.1 replication impls
Patrick East [Fri, 4 Mar 2016 23:05:49 +0000 (15:05 -0800)]
Fixup release notes for v2 -> v2.1 replication impls

A few drivers got changes in for v2 replication in with release notes
and then didn’t update them once v2.1 came into the picture.

Change-Id: Ia3ba872aa8f7868f572b5cf45714639c2c079e7f

8 years agoMerge "Add backend id to Pure Volume Driver trace logs"
Jenkins [Fri, 4 Mar 2016 22:10:08 +0000 (22:10 +0000)]
Merge "Add backend id to Pure Volume Driver trace logs"

8 years agoMerge "Fix issue with Pure drivers delete_snapshot exception handling"
Jenkins [Fri, 4 Mar 2016 19:33:15 +0000 (19:33 +0000)]
Merge "Fix issue with Pure drivers delete_snapshot exception handling"

8 years agoMerge "EMC VMAX - Recreating SG when it has been deleted"
Jenkins [Fri, 4 Mar 2016 17:36:51 +0000 (17:36 +0000)]
Merge "EMC VMAX - Recreating SG when it has been deleted"

8 years agoMerge "Convert huawei ISCSIDriver unit tests to RFC5737 addrs"
Jenkins [Fri, 4 Mar 2016 17:21:48 +0000 (17:21 +0000)]
Merge "Convert huawei ISCSIDriver unit tests to RFC5737 addrs"

8 years agosupport new HTTP microversion header
scottda [Tue, 1 Mar 2016 21:42:05 +0000 (14:42 -0700)]
support new HTTP microversion header

According to API working group guidelines:
https://review.openstack.org/#/c/243414

microversion headers should be of the form:
OpenStack-API-Version: [SERVICE_TYPE] 2.114

i.e OpenStack-API-Version: volume 3.22

Two extra headers are always returned in the response:

    OpenStack-API-Version: [SERVICE_TYPE] version_number
    Vary: OpenStack-API-Version

note: Servers must be prepared to deal with multiple
  OpenStack-API-Version headers. This could happen when a client
  designed to address multiple services always sends the headers it
  thinks it needs. Most Python frameworks will handle this by setting
  the value of the header to the values of all matching headers,
  joined by a ',' (comma). For example ``compute 2.11,identity
  2.114``.

Closes-Bug: #1551941
Change-Id: I658e54966c390b41e3b551dd9827606c2e013511

8 years agoMerge "Fix invalid uuid warnings in backup unit tests"
Jenkins [Fri, 4 Mar 2016 15:14:23 +0000 (15:14 +0000)]
Merge "Fix invalid uuid warnings in backup unit tests"

8 years agoFix for glance_metadata during volume migration
Szymon Borkowski [Fri, 5 Feb 2016 14:05:39 +0000 (15:05 +0100)]
Fix for glance_metadata during volume migration

This patch allows to transfer glance_metadata together with volume
during the migration process, when the volume is created from the
image.

Co-Authored-By: Michal Dulko <michal.dulko@intel.com>
Change-Id: Ifee5f2c53865076f43556d9dd6b6cbef77494bc8
Closes-Bug: 1538926

8 years agoReadd iscsi_target table
Gorka Eguileor [Thu, 3 Mar 2016 13:37:29 +0000 (14:37 +0100)]
Readd iscsi_target table

Rolling upgrades was broken when iscsi_target table was dropped on
https://review.openstack.org/268320

We cannot stop using a table and drop it in the same release for rolling
upgrades to work, we have to stop using it in one release and then drop
it in the next or in the post rolling upgrade mechanism (which is still
not in place).

So this patch fixes this by removing the dropping and adding another
migration that ensure that the table is really there.  That way we can
be sure that anyone using M will have the table, which then will get
dropped in N.

Closes-Bug: #1553079
Change-Id: I26586549485a8d745a25161d97d33426fdd52576

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Fri, 4 Mar 2016 06:35:36 +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: I1a99dec00a593d4d22f057114261f3521a4e8ac4

8 years agoFix issue with Pure drivers delete_snapshot exception handling
Patrick East [Fri, 4 Mar 2016 05:47:22 +0000 (21:47 -0800)]
Fix issue with Pure drivers delete_snapshot exception handling

We were checking for only a single possible error that can occur when
the snapshot was missing. We now check for both which helps prevent
any snapshots or volumes deleted out from underneath Cinder to get
things stuck in an error state.

This also adjusts the warning message to be a little more descriptive.

Change-Id: I26f393a3e5232fc508b9f34921e9f53f8b5a77ef
Closes-Bug: #1553029

8 years agoMerge "EMC VMAX - Limit SG and MV to 64 characters"
Jenkins [Fri, 4 Mar 2016 03:38:13 +0000 (03:38 +0000)]
Merge "EMC VMAX - Limit SG and MV to 64 characters"

8 years agoMerge "3PAR use same LUN id for each export path"
Jenkins [Fri, 4 Mar 2016 03:37:58 +0000 (03:37 +0000)]
Merge "3PAR use same LUN id for each export path"

8 years agoMerge "Update unittest for Storwize pool-aware-cinder-scheduler"
Jenkins [Fri, 4 Mar 2016 01:53:01 +0000 (01:53 +0000)]
Merge "Update unittest for Storwize pool-aware-cinder-scheduler"

8 years agoMerge "Tintri image direct clone"
Jenkins [Fri, 4 Mar 2016 01:35:33 +0000 (01:35 +0000)]
Merge "Tintri image direct clone"

8 years agoAdd backend id to Pure Volume Driver trace logs
Patrick East [Fri, 4 Mar 2016 00:15:49 +0000 (16:15 -0800)]
Add backend id to Pure Volume Driver trace logs

With multi-backend deployments it was very hard to follow which backend
was making which calls. When there was an error it was often unhelpful
to look at the tracing to know which backend had the problem.

This will now print out the active backend id with the tracing log
messages.

Change-Id: Iaa1ec1c9027f6ba8aeb2574b92a416ae4bd86455
Closes-Bug: #1552966

8 years agoDon't fail on clearing 3PAR object volume key
Kurt Martin [Wed, 2 Mar 2016 22:57:06 +0000 (14:57 -0800)]
Don't fail on clearing 3PAR object volume key

The 3PARs drivers write a key value pair on the 3PAR backend volumes
to track the instance that the volume is exported to. However, in
certain cases the key is not present and we would throw an
exception and not allow the detach to continue. If the key is not
present then we do not need to clear it. This patch will just
log a warning that it wasn't present and continue with the detaching
the volume.

Change-Id: Ie19c9050d514d68ba162bcbfa95dfc6e96d5d7bb
Closes-Bug: #1546392

8 years agoFix invalid uuid warnings in backup unit tests
Tom Barron [Mon, 29 Feb 2016 14:48:44 +0000 (09:48 -0500)]
Fix invalid uuid warnings in backup unit tests

Currently, 'tox -epy27 -- --regex cinder.tests.unit.backup' and
'tox -epy27 -- --regex cinder.tests.unit.test_backup' emit
188 FutureWarnings from oslo.versionedobjects aout invalid uuids
as documented here[1].

This commit changes these tests to use valid uuids so that when they
are run these warnings are no longer emitted.

[1] http://docs.openstack.org/developer/oslo.versionedobjects/api/fields.html#oslo_versionedobjects.fields.UUIDField

Change-Id: I356a38791de06164ec634c463713df9000268194

8 years agoMerge "Fix invalid uuid warnings in test_volume.py"
Jenkins [Thu, 3 Mar 2016 23:06:56 +0000 (23:06 +0000)]
Merge "Fix invalid uuid warnings in test_volume.py"

8 years agoMerge "Remove a vol in error state from a CG"
Jenkins [Thu, 3 Mar 2016 22:33:23 +0000 (22:33 +0000)]
Merge "Remove a vol in error state from a CG"

8 years agoMerge "VMAX-Replacing deprecated API EMCGetTargetEndpoints"
Jenkins [Thu, 3 Mar 2016 22:31:41 +0000 (22:31 +0000)]
Merge "VMAX-Replacing deprecated API EMCGetTargetEndpoints"

8 years agoMerge "Remove an useless and wrong call"
Jenkins [Thu, 3 Mar 2016 20:55:41 +0000 (20:55 +0000)]
Merge "Remove an useless and wrong call"

8 years agoMerge "VMware: Fix volume copy across vCenter datacenters"
Jenkins [Thu, 3 Mar 2016 20:55:17 +0000 (20:55 +0000)]
Merge "VMware: Fix volume copy across vCenter datacenters"

8 years agoMerge "Fix call to Barbican Secrets create()"
Jenkins [Thu, 3 Mar 2016 19:39:17 +0000 (19:39 +0000)]
Merge "Fix call to Barbican Secrets create()"

8 years agoUpdate quota_utils with import for keystone_auth
Ryan McNair [Wed, 2 Mar 2016 00:07:14 +0000 (00:07 +0000)]
Update quota_utils with import for keystone_auth

Currently, keystone_auth config group is only getting defined in
the cinder-api service. In order to be able to use the quota_utils
helper from both the c-api and c-vol, we need to make sure that
the CONF.keystone_authtoken always gets imported. This is needed
to properly handle nested quota deletes which occur in the c-vol
service.

Change-Id: I3ebb9979d37f62db161e2929fe2cff5a8ba2bf96

8 years agoMerge "Revert "Remove Cisco FC Zone Manager Driver""
Jenkins [Thu, 3 Mar 2016 19:34:24 +0000 (19:34 +0000)]
Merge "Revert "Remove Cisco FC Zone Manager Driver""

8 years agoMerge "Add 'conf' param for TextGuruMeditation autorun setup"
Jenkins [Thu, 3 Mar 2016 19:01:46 +0000 (19:01 +0000)]
Merge "Add 'conf' param for TextGuruMeditation autorun setup"

8 years agoMerge "Fixes running error for storwize _run_ssh"
Jenkins [Thu, 3 Mar 2016 18:58:31 +0000 (18:58 +0000)]
Merge "Fixes running error for storwize _run_ssh"

8 years agoFix invalid uuid warnings in test_volume.py
Tom Barron [Wed, 2 Mar 2016 17:29:47 +0000 (12:29 -0500)]
Fix invalid uuid warnings in test_volume.py

Currently 'tox -epy27 -- -n cinder.tests.unit.test_volume'
emits 36 FutureWarnings from oslo.versionedobjects about invalid
uuids as documented here [1].

This commit changes this module to use valid uuids so that when its
tests are run these warnings are no longer emitted.

Change-Id: Id4729d0dc6998e9343034d7c17ace1109fe21417

8 years agoMerge "Don't run test_volume.VolumeTestCase twice"
Jenkins [Thu, 3 Mar 2016 17:58:25 +0000 (17:58 +0000)]
Merge "Don't run test_volume.VolumeTestCase twice"

8 years agoMerge "Fix invalid uuid warnings in scheduler unit tests"
Jenkins [Thu, 3 Mar 2016 17:55:49 +0000 (17:55 +0000)]
Merge "Fix invalid uuid warnings in scheduler unit tests"

8 years agoTintri image direct clone
apoorvad [Wed, 23 Dec 2015 23:07:30 +0000 (15:07 -0800)]
Tintri image direct clone

Fix for the bug 1400966 prevents user from specifying image nfs
share location as location value for an image.
This broke Tintri's image direct clone feature.

This addresses the issue by using provider_location of image
metadata to specify image nfs share location.

DocImpact
Closes-Bug: #1528969
Co-Authored-By: opencompute xuchenx@gmail.com
Change-Id: Icdf2f229d79d5631604e87dd9dd30a1608e6b010

8 years agoUse get_by_args instead of host_and_topic
John Griffith [Wed, 2 Mar 2016 04:03:33 +0000 (04:03 +0000)]
Use get_by_args instead of host_and_topic

The replication v2.1 code (cheesecake) requires a number
of service queries.  The default by_host_and_topic however
doesn't include an interface to get disabled services which
is required at times.

Rather than adding a new version of get_by_host_and_topic and
introduce the arg, we probably shouldn't have been using this
particular query at all.  The only service we're interested in
is the cinder-volume service, granted in most cases volume_topic
is set to this as a default but we shouldn't be relying on it.

This patch changes the get_by_host_and_topic to use the more
appropriate (in this case) get_by_args and specifically requests
the cinder-volume binary.

Note that for manage_existing, we check the resturned service and
ensure that it disabled == False, otherwise we raise an exception.

Change-Id: I2e8c5142c589af6c1ddadeb661f86e7194faac7a
Closes-Bug: #1552006

8 years agoMerge "Fix oslo.service config generation"
Jenkins [Thu, 3 Mar 2016 15:30:24 +0000 (15:30 +0000)]
Merge "Fix oslo.service config generation"

8 years agoRemove a vol in error state from a CG
Alon Marx [Wed, 20 Jan 2016 20:14:14 +0000 (22:14 +0200)]
Remove a vol in error state from a CG

Before calling update_consistencygroup, a validation is done if volumes
are in valid states for action.

Divide the states allowed for adding and removing volumes from a CG,
and allow volume removal in states error and error_deleting.

Also added missing verification in manager update_consistencygroup in
case state has changed from cinder-api to cinder-volume.

Change-Id: I6f5fa8e9af67e17ab49e7f3423d4469640df790c
Closes-Bug: #1519377

8 years agoFix call to Barbican Secrets create()
Ollie Leahy [Thu, 3 Mar 2016 14:05:14 +0000 (14:05 +0000)]
Fix call to Barbican Secrets create()

Calls to backup encrypted volumes fail because the cinder
barbican keymanager passes incorrect positional parameters
to barbican Secrets.create().

Change-Id: I7b0c2bafce12964ffcfe1066953c2c93ca460e92
Closes-bug: 1552684

8 years ago3PAR use same LUN id for each export path
Walter A. Boring IV [Tue, 1 Mar 2016 15:22:21 +0000 (07:22 -0800)]
3PAR use same LUN id for each export path

When multipath is enabled, and the 3PAR driver is configured
to export a VLUN over N iSCSI IP(ports), we now use the same
LUN ID for each iSCSI IP export.  Previously, when we would
export a volume over N iSCSI ports, we would get a new LUN ID
for each iSCSI port.

Change-Id: Ide0ce373a14f348a554688dee9b699feed3c5f26
Closes-Bug: #1551994

8 years agoFix oslo.service config generation
Gorka Eguileor [Thu, 3 Mar 2016 13:00:34 +0000 (14:00 +0100)]
Fix oslo.service config generation

Cinder generation configuration sample does not contain any of
oslo.service configuration options.

This is because we are not using the right namespace when calling
oslo-config-generator since oslo.service is not a valid entrypoint as
mentioned in the documentation:

https://github.com/openstack/oslo.service/blob/master/doc/source/usage.rst#using-osloservice-with-oslo-config-generator

This patch fixes this by using the right namespaces.

Closes-Bug: #1552689
Change-Id: I8365daec0d3b161d3c07f229d221cf004edb6662

8 years agoMerge "Fixed help message for AllocatedCapacityWeigher"
Jenkins [Thu, 3 Mar 2016 12:06:13 +0000 (12:06 +0000)]
Merge "Fixed help message for AllocatedCapacityWeigher"

8 years agoUpdate unittest for Storwize pool-aware-cinder-scheduler
Xiaoqin Li [Wed, 2 Mar 2016 11:25:01 +0000 (03:25 -0800)]
Update unittest for Storwize pool-aware-cinder-scheduler

Update unittest for Storwize pool-aware-cinder-scheduler
according to comments in
https://review.openstack.org/#/c/284614/ patch

Change-Id: I3fde5dd111690de14e1aacdc91e3bb8452c71bf4
Closes-Bug: 1552127

8 years agoMerge "3PAR: Update replication to v2.1"
Jenkins [Thu, 3 Mar 2016 11:24:55 +0000 (11:24 +0000)]
Merge "3PAR: Update replication to v2.1"

8 years agoMerge "LeftHand: Update replication to v2.1"
Jenkins [Thu, 3 Mar 2016 11:24:34 +0000 (11:24 +0000)]
Merge "LeftHand: Update replication to v2.1"

8 years agoMerge "Fix volume filtering for quoted display name"
Jenkins [Thu, 3 Mar 2016 10:55:40 +0000 (10:55 +0000)]
Merge "Fix volume filtering for quoted display name"

8 years agoMerge "Add attach/detach doc to index"
Jenkins [Thu, 3 Mar 2016 08:34:36 +0000 (08:34 +0000)]
Merge "Add attach/detach doc to index"

8 years agoHuawei: Check the real size before extend volume
Wilson Liu [Tue, 23 Feb 2016 08:35:31 +0000 (16:35 +0800)]
Huawei: Check the real size before extend volume

Currently we not check the real size before we do the
extend on array. But in fact, users may change the
LUN size directly on the backend, not throuth Cinder
api, although the LUN is created from Cinder side.

Closes-Bug: #1548676
Change-Id: I093d23a7a18ec3f5b780095d31c795139dabd7a8

8 years agoMerge "Add necessary fields to volume creation"
Jenkins [Thu, 3 Mar 2016 05:42:13 +0000 (05:42 +0000)]
Merge "Add necessary fields to volume creation"

8 years agoRevert "Remove Cisco FC Zone Manager Driver"
Patrick East [Wed, 2 Mar 2016 03:40:10 +0000 (19:40 -0800)]
Revert "Remove Cisco FC Zone Manager Driver"

This reverts commit 0f5c5d8cf7ae3623c69ca30e5dd1387f699bdc70.

As a stop gap solution Pure Storage will be running the CI for the
Cisco FCZM so that we don’t drop it for the release.

Change-Id: If257edae46ea4cd8e512e600b9182e9f50cdf546

8 years agoMerge "Use openstack.org URLs in README"
Jenkins [Thu, 3 Mar 2016 04:05:14 +0000 (04:05 +0000)]
Merge "Use openstack.org URLs in README"