8511 Commits

Author SHA1 Message Date
Jenkins
17d3667b76 Merge "Add os-brick rootwrap filter for privsep" 2016-03-01 12:41:27 +00:00
Jenkins
34d3cbc210 Merge "Copy StandardLogging fixture from Nova" 2016-03-01 11:45:58 +00:00
Jenkins
e787cf66f7 Merge "NetApp: Add Consistency Group support for E-Series" 2016-03-01 11:23:37 +00:00
Jenkins
33cd335ee3 Merge "NetApp: Fix SSH Client File Creation in Unit Test" 2016-03-01 02:51:06 +00:00
Jenkins
e8bca02605 Merge "Huawei: Consider bandwidth when selecting port" 2016-03-01 02:49:35 +00:00
Jenkins
b8872ffebe Merge "Adding general notes about rolling upgrades" 2016-03-01 01:56:47 +00:00
Jenkins
7c98ceac94 Merge "Trim 12s from disco unit tests" 2016-03-01 01:56:27 +00:00
Matt Riedemann
32719d4041 Copy StandardLogging fixture from Nova
This code was originally written for Nova by Joe Gordon
<joe.gordon0@gmail.com> and Sean Dague <sean@dague.net>.

This enables debug logging that is exercised by unit test
runs to be handled and detect formatting errors. The debug
logging does not actually go to the console unless the
OS_DEBUG environment variable is set.

As a result, a few formatting errors are detected and
cleaned up with this change.

This also fixes a problem where debug logging from stevedore
is dumped to the console every time an extension is loaded,
which in a gate-cinder-python27 job is 65K+ times.

Change-Id: I989f9d591d1483a56a1bab3c20de583e85997562
Closes-Bug: #1551325
2016-02-29 17:46:31 -05:00
Jenkins
f674bd602b Merge "VMware: manage_existing for VMDK driver" 2016-02-29 22:44:16 +00:00
Jenkins
9e674e7c90 Merge "Re-enable -1 child limits for nested quotas" 2016-02-29 22:17:44 +00:00
Jenkins
faba1e5f20 Merge "Clean up replication v2.1 (Cheesecake) RPC API" 2016-02-29 20:54:51 +00:00
Jenkins
077b8593ae Merge "always use pip constraints" 2016-02-29 18:45:29 +00:00
Jenkins
f1d60b155e Merge "Move deprecation release notes to correct section" 2016-02-29 16:47:46 +00:00
Jenkins
6268c4bc0d Merge "Check for service existance in capabilities API" 2016-02-29 16:46:08 +00:00
Jenkins
350f19d031 Merge "Remove unused pngmath sphinx extension" 2016-02-29 16:29:09 +00:00
Jenkins
b0aac3b865 Merge "Huawei: delete_snapshot need not return any value" 2016-02-29 16:28:51 +00:00
Jenkins
6f81a13654 Merge "Add description when rename LUN in Huawei driver" 2016-02-29 16:28:32 +00:00
Jenkins
a1183d7b7f Merge "Match the ip more accurately in Huawei driver" 2016-02-29 16:27:05 +00:00
Jenkins
5be8ba1586 Merge "Modify the number of params of hypermetro in HuaweiDriver" 2016-02-29 14:18:44 +00:00
Michał Dulko
6a4e3f5758 Clean up replication v2.1 (Cheesecake) RPC API
We've merged replication v2.1 (Cheesecake) code with two little issues
in RPC API layer:

 * volume.rcpapi have list_replication_targets method, which is unused
   and not handled by volume.manager.
 * There are no tests for new methods in test_volume_rpcapi module.

This commit sorts this out.

Change-Id: I2ba6ee68e1e729c9d391a846941ae6bdbbefbc9b
Related-Blueprint: replication-update
2016-02-29 14:38:31 +01:00
Jenkins
14d7b1448b Merge "Move anyjson to test-requirements" 2016-02-29 13:35:40 +00:00
Jenkins
5f2b909ad3 Merge "Add pip-missing-reqs tox env" 2016-02-29 12:59:31 +00:00
Andreas Jaeger
379f272924 always use pip constraints
This flips the tox.ini to always use constraints installation for
all targets. It drops the extra -constraints targets in the process.
This makes it so there is no developer change required to operate in our
new world order.

Change-Id: I2b56835edb2d75b7c871aae030e909578dbb958d
Depends-On: Iecd35d6bc3b1e9e0ed31b48a34e4149d34d55ac2
2016-02-29 13:00:11 +01:00
Jenkins
4d093d4eca Merge "Propoerly call oslo's Service stop and wait" 2016-02-29 10:29:23 +00:00
Jenkins
8b548ce352 Merge "Remove unused kill method from Service" 2016-02-29 10:29:05 +00:00
Jenkins
53f37b9607 Merge "replace deprecated oslo_messaging _impl_messaging" 2016-02-29 10:05:05 +00:00
Jenkins
dc5f1f8d95 Merge "Delete volumes with snapshots" 2016-02-29 05:40:34 +00:00
Jenkins
687ea8dd30 Merge "Improve logging to debug invalid "extra_specs" entries" 2016-02-29 03:14:25 +00:00
Jenkins
23268a686d Merge "Handle OverQuota exception during volume transfer" 2016-02-29 03:14:13 +00:00
Jenkins
d933ca7a04 Merge "Return all target_wwpns for FC storwize" 2016-02-29 02:51:18 +00:00
Jenkins
9c28691578 Merge "Disable multi-attach for RBD" 2016-02-29 02:42:19 +00:00
Jenkins
62a65629ce Merge "Huawei: Judgement failure when creating hypermetro" 2016-02-29 01:56:39 +00:00
Jenkins
064e4775e2 Merge "Fix race condition in RemoteFS create_snapshot_online" 2016-02-29 01:29:46 +00:00
Jenkins
0f9163a8ca Merge "VMware: manage_existing_get_size for VMDK driver" 2016-02-29 01:27:51 +00:00
Jenkins
d04caad581 Merge "Updated from global requirements" 2016-02-28 21:32:24 +00:00
Andreas Jaeger
5abb3d6ce6 Remove unused pngmath sphinx extension
The extension is not used, remove it.

Change-Id: I0720058e8d2235772b5bb82224b68b1b52e6060d
2016-02-28 20:38:22 +01:00
Jenkins
18229c4c68 Merge "Add basic workflow of attach/detach to devref" 2016-02-28 16:09:13 +00:00
Eric Harney
bf2b6b9d90 Delete volumes with snapshots
This adds the 'cascade' parameter to volume delete,
which deletes snapshots along with a volume in
one call.

This is done in the volume manager, and not in
a driver-optimized way, which will be a later
improvement.

Blueprint: del-vols-with-snaps
Change-Id: I33d15b76d4bd0de14c635d404b2c97096c977a58
2016-02-28 14:11:37 +00:00
Jenkins
d46fbf0e13 Merge "Fix error message in cinder type-update" 2016-02-28 01:35:13 +00:00
Jenkins
a34f3be904 Merge "Misprint in policy.json" 2016-02-28 00:35:40 +00:00
Chuck Fouts
6bae6c5734 NetApp: Fix SSH Client File Creation in Unit Test
A bug was introduced where ssh_known_hosts file is created when the unit
tests in test_netapp.py are run. This patch adds mocks to the ssh init
calls to prevent this file creation.

Change-Id: Ie8ac4e7a5236e6735c7c2f4f50c5383f5f23d38e
Closes-bug: #1550542
2016-02-27 13:46:59 -05:00
Tom Barron
c2166876d8 Trim 12s from disco unit tests
The unit tests under cinder/tests/unit/volume/drivers/disco
contain three "timeout" tests, each of which runs more than 4s
while waiting for timeouts to expire.

This commit mocks time.time() in those tests using a utility
method that ensures an immediate timeout.

Change-Id: I8453e0231d7563d70732816bd3931140bcc01f4f
2016-02-27 11:14:53 -05:00
Jenkins
bda22d6495 Merge "Enable all unit tests on Python 3.4" 2016-02-27 14:02:25 +00:00
Evgeny Antyshev
4d5e78e436 Misprint in policy.json
Erroneous space in "rule: admin_api" was introduced in change Ibbd6f47c370d8f10c08cba358574b55e3059dcd1
oslo_policy regards space as a separator,
and fails to parse this rule: http://paste.openstack.org/show/488452/

Change-Id: I5de45c97a06b7ddecb36c2a1793c4f3fd5fd21d6
2016-02-27 12:22:44 +00:00
Ryan McNair
c02336e4dd Re-enable -1 child limits for nested quotas
Add back support for -1 limits of child projects. The way that we
support the -1 child limits requires the following changes:
  * Continue quota validation up the hierarchy if the current limit is
    -1 until we hit a hard limit or no more parents, and update the
    any relevant parents' allocated value along the way
  * When updating limits, special care needs to be taken when updating
    child limit to be -1, or when changing from a -1 limit
  * Enable support for creating reservations for "allocated" values
    to support the scenario that:
      - a volume is created on a project with a limit of -1
      - the parent's allocated value has been updated appropriately
      - the volume create fails and the child's in_use quota rolls back
      - now we must also rollback the parent's allocated value

NOTE: There is a race condition between validation the NestedQuotas
and when the driver may be switched into use, and if -1 quotas are used
the validation could be out of date. Will look into better support for
switching on of NestedQuotas on live deployment with -1 limits, which
would likely leverage the "allocated" reservation system.

Closes-Bug: #1548645
Closes-Bug: #1544774
Closes-Bug: #1537189
Change-Id: I2d1dba87baf3595cc8f48574e0281ac17509fe7d
2016-02-27 07:16:10 +00:00
Jenkins
d3fd2828f6 Merge "EMC VMAX - Changing PercentSynced to CopyState in isSynched" 2016-02-27 03:10:40 +00:00
OpenStack Proposal Bot
a5e455c4f2 Updated from global requirements
Change-Id: Iea494af5b9112af93030f5e8b86c907551e9ee40
2016-02-27 02:42:33 +00:00
Jenkins
33af888db3 Merge "Volume manage/unmanage support to ZFSSA drivers" 2016-02-27 02:21:55 +00:00
Jenkins
0572862455 Merge "Change frozen error messages from _LE to _" 2016-02-27 02:20:04 +00:00
Wilson Liu
66a77e4112 Huawei: delete_snapshot need not return any value
Currently delete_snapshot return True or False to indicate
whether the snapshot is really deleted on the array. This
is useless and just write for unit tests. Now we will remove
the return value and add another unit test for delete_snapshot.

Closes-Bug: #1549584
Change-Id: I17fea61e3c0f5565ab04bc82f172e638480f45dc
2016-02-27 09:59:17 +08:00