Jenkins [Tue, 17 Nov 2015 08:45:44 +0000 (08:45 +0000)]
Merge "get_all_snapshots: Fix log message typo"
Jenkins [Tue, 17 Nov 2015 08:19:36 +0000 (08:19 +0000)]
Merge "Port HP 3PAR driver to Python 3"
Jenkins [Tue, 17 Nov 2015 08:12:28 +0000 (08:12 +0000)]
Merge "Modify test_hpe3par to support random hash"
Jenkins [Tue, 17 Nov 2015 06:08:01 +0000 (06:08 +0000)]
Merge "Support initialization state in Backup Manager"
Jenkins [Mon, 16 Nov 2015 22:08:25 +0000 (22:08 +0000)]
Merge "Imported Translations from Zanata"
Jenkins [Mon, 16 Nov 2015 20:49:10 +0000 (20:49 +0000)]
Merge "Updated from global requirements"
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
Jenkins [Mon, 16 Nov 2015 16:33:52 +0000 (16:33 +0000)]
Merge "Downstream Fix for Genconfig"
OpenStack Proposal Bot [Mon, 16 Nov 2015 11:44:27 +0000 (11:44 +0000)]
Updated from global requirements
Change-Id: I559009cdaa90cecb91e3a919701a58c46683ae94
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
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
Jenkins [Mon, 16 Nov 2015 08:19:17 +0000 (08:19 +0000)]
Merge "3PAR Fix find_existing_vluns"
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
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
Jenkins [Sat, 14 Nov 2015 02:19:25 +0000 (02:19 +0000)]
Merge "Remove the HP CLIQ proxy driver"
Jenkins [Fri, 13 Nov 2015 21:05:56 +0000 (21:05 +0000)]
Merge "NetApp: E-Series fix deletion of missing volume"
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
Jenkins [Fri, 13 Nov 2015 19:35:58 +0000 (19:35 +0000)]
Merge "Correct assertDictMatch argument order"
Jenkins [Fri, 13 Nov 2015 19:05:57 +0000 (19:05 +0000)]
Merge "NetApp: Fix issue with updating E-Series password"
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
Jenkins [Fri, 13 Nov 2015 18:22:23 +0000 (18:22 +0000)]
Merge "add "unreleased" release notes page"
Jenkins [Fri, 13 Nov 2015 18:10:52 +0000 (18:10 +0000)]
Merge "Add test for snapshot filtering by project id"
Jenkins [Fri, 13 Nov 2015 17:47:35 +0000 (17:47 +0000)]
Merge "Imported Translations from Zanata"
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
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
Jenkins [Fri, 13 Nov 2015 16:15:19 +0000 (16:15 +0000)]
Merge "Add LC_ALL=C to lvcreate, lvextend and pvresize"
Jenkins [Fri, 13 Nov 2015 16:14:29 +0000 (16:14 +0000)]
Merge "Refactor HP 3PAR drivers to now be HPE"
Jenkins [Fri, 13 Nov 2015 12:36:09 +0000 (12:36 +0000)]
Merge "Port zfssa driver to Python 3"
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
Jenkins [Fri, 13 Nov 2015 04:52:33 +0000 (04:52 +0000)]
Merge "Update retype 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"
Jenkins [Fri, 13 Nov 2015 03:06:03 +0000 (03:06 +0000)]
Merge "py3: Fix error handling in prophetstor driver"
Jenkins [Fri, 13 Nov 2015 03:02:44 +0000 (03:02 +0000)]
Merge "Updated from global requirements"
Jenkins [Fri, 13 Nov 2015 00:51:13 +0000 (00:51 +0000)]
Merge "Port vzstorage to Python 3"
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
OpenStack Proposal Bot [Thu, 12 Nov 2015 22:07:31 +0000 (22:07 +0000)]
Updated from global requirements
Change-Id: I7aa9545451d910681f114e856e8ab82e898b9f20
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
Jenkins [Thu, 12 Nov 2015 20:25:00 +0000 (20:25 +0000)]
Merge "OpenStack typo"
Jenkins [Thu, 12 Nov 2015 19:26:11 +0000 (19:26 +0000)]
Merge "Update create_volume API to use versionedobjects"
Jenkins [Thu, 12 Nov 2015 19:24:03 +0000 (19:24 +0000)]
Merge "CG driver function should not access db"
Jenkins [Thu, 12 Nov 2015 19:21:18 +0000 (19:21 +0000)]
Merge "NetApp: Fix issue with E-Series volume expand"
Michał Dulko [Thu, 12 Nov 2015 15:46:59 +0000 (16:46 +0100)]
add "unreleased" release notes page
We need a release notes page to show notes for unreleased versions by
scanning the "current" branch. This ensures that notes files cannot be
merged if they break the releasenotes job.
Change-Id: Ie1277428a3053d183df73bac882adc8aa0ac1079
Thang Pham [Sun, 27 Sep 2015 02:09:39 +0000 (19:09 -0700)]
Update retype API to use versionedobjects
The following patch updates retype API to use volume
versionedobjects. Changes were made to be backwards
compatible with older RPC clients. It only includes
changes to the core cinder code. Changes in the
drivers are left to each driver maintainer to update.
Note that this patch DOES NOT try to use object dot
notation everywhere, since it would increase the
size of the patch. Instead, it will be done in
subsequent patches.
Change-Id: Ie79abf085349b496930fb75a76f299e65587ba6d
Partial-Implements: blueprint cinder-objects
Thang Pham [Tue, 3 Nov 2015 14:15:37 +0000 (06:15 -0800)]
Update get/delete_volume API to use versionedobjects
The following patch updates get_volume and delete_volume
API to use volume versionedobjects. Changes were made to
be backwards compatible with older RPC clients. It only
includes changes to the core cinder code. Changes in the
drivers are left to each driver maintainer to update.
Note that this patch DOES NOT try to use
object dot notation everywhere, since it would
increase the size of the patch. Instead, it
will be done in subsequent patches.
Co-Authored-By: Michal Dulko <michal.dulko@intel.com>
Co-Authored-By: Szymon Wroblewski <szymon.wroblewski@intel.com>
Change-Id: Ifb36726f8372e21d1d9825d6ab04a072e5db4a6a
Partial-Implements: blueprint cinder-objects
Thang Pham [Tue, 27 Oct 2015 22:38:54 +0000 (15:38 -0700)]
Update create_volume API to use versionedobjects
The following patch updates create_volume API to use
volume versionedobjects. Changes were made to be
backwards compatible with older RPC clients. It
only includes changes to the core cinder code.
Changes in the drivers are left to each driver
maintainer to update.
Note that this patch DOES NOT try to use
object dot notation everywhere, since it would
increase the size of the patch. Instead, it
will be done in subsequent patches.
Co-Authored-By: Michal Dulko <michal.dulko@intel.com>
Change-Id: Ic1b0f09132f8fc500b29650abbd57f18ea8bd9dd
Partial-Implements: blueprint cinder-objects
Change-Id: Ief9c63e8bddb2b40bdef4465b9099cff33d7c3bc
Jenkins [Thu, 12 Nov 2015 04:03:00 +0000 (04:03 +0000)]
Merge "CG creation should be scheduled on backend level"
Jenkins [Thu, 12 Nov 2015 04:02:46 +0000 (04:02 +0000)]
Merge "Imported Translations from Zanata"
Jenkins [Thu, 12 Nov 2015 03:57:20 +0000 (03:57 +0000)]
Merge "Test for object version hash changes"
Jenkins [Thu, 12 Nov 2015 03:57:08 +0000 (03:57 +0000)]
Merge "Add retype logic in manage_existing for VNX"
Jenkins [Thu, 12 Nov 2015 03:56:56 +0000 (03:56 +0000)]
Merge "Use oslo_config new type PortOpt for port options"
Matt Riedemann [Tue, 10 Nov 2015 20:55:46 +0000 (12:55 -0800)]
Test for object version hash changes
Use the ObjectVersionChecker fixture from oslo.versionedobjects to check
when Cinder's registered objects have a change (new remotable method,
new field, etc) that require a version bump.
Fixes some registration problems along the way:
1. CinderObject doesn't need to be registered.
2. TestObject should be registered where it's used, not globally.
Removes deps=requirements.txt from tox.ini since it's not necessary and
prevents us from pip installing oslo.versionedobjects[fixtures].
Closes-Bug: #
1514926
Change-Id: Id57c56a75ea11411e9e54104165bd44b577c1485
Matt Riedemann [Tue, 10 Nov 2015 23:45:29 +0000 (15:45 -0800)]
Fix cinder objects unit test registration
The base test case was extending test code from oslo_versionedobjects
which is bad because (1) it was adding test objects from the o.vo
registry into the cinder object registry and (2) it was extending
internal private test classes from o.vo which are subject to change and
would break cinder.
This cleans up the base test case and object registration to basically
do it the same way that nova does.
It also moves the duplicate _compare() method into the base class and
fixes a bug where db obj fields that were lists were compared
incorrectly against object lists.
This will allow us to verify object version hashes using o.vo's
ObjectVersionChecker fixture in a follow on change without the
extraneous object registrations from o.vo messing with the results.
Partial-Bug: #
1514926
Change-Id: Ie34675e378951cda9aa218f3181dc86767717450
Jenkins [Wed, 11 Nov 2015 17:01:37 +0000 (17:01 +0000)]
Merge "Adds CORS support to Cinder"
Jenkins [Wed, 11 Nov 2015 16:00:40 +0000 (16:00 +0000)]
Merge "XtremIO fix create CG from src flow"
Xing Yang [Tue, 25 Aug 2015 04:46:53 +0000 (00:46 -0400)]
CG driver function should not access db
Currently the following CG driver interfaces don't pass in volumes
or snapshots to the driver. As a result, drivers have to retrieve info
from db. In this patch, these interfaces are changed so that drivers
don't have to access db.
Removing the access to db from driver CG functions will be handled by
separate patches.
* create_consistencygroup
* delete_consistencygroup
* create_cgsnapshot
* delete_cgsnapshot
Change-Id: I63287fd43927fc09dad77292ecfe561917f7bda5
Closes-Bug: #
1501466
Deepti Ramakrishna [Wed, 11 Nov 2015 07:19:43 +0000 (23:19 -0800)]
Add test for snapshot filtering by project id
Cinder API already supports listing snapshots by project id. But a
test case is missing to validate this feature. Hence added that in
this patch.
https://review.openstack.org/#/c/242391/ --> adds this support on the
python-cinderclient side.
Change-Id: I70606abf2fe5eca43cd0a3d15f7b9e12bb979b3b
Co-Authored-By: wuyuting <wytdahu@gmail.com>
OpenStack Proposal Bot [Wed, 11 Nov 2015 06:36:56 +0000 (06:36 +0000)]
Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Ia332d04fab7164036e3343bda560008450588240
chenying [Tue, 10 Nov 2015 07:17:57 +0000 (15:17 +0800)]
Use oslo_config new type PortOpt for port options
The oslo_config library provides new type PortOpt to validate the
range of port now.
ref: https://github.com/openstack/oslo.config/blob/2.6.0/oslo_config/cfg.py#L1114
DocImpact
Change-Id: I9a3e4d13feef67b4a43936c6099b822e4f1f6a57
Closes-Bug: #
1514702
Jenkins [Tue, 10 Nov 2015 16:58:03 +0000 (16:58 +0000)]
Merge "Removal of deprecated NPIV option in Storwize"
wanghao [Thu, 17 Sep 2015 02:23:54 +0000 (10:23 +0800)]
CG creation should be scheduled on backend level
Currently, cinder scheduler schedules the CG creation
on pool level, that means if there are multiple volume
types in one CG if each volume type is associated with a
different pool (those pools under same backend), you can't
create the CG successfully.
According to the design of CG's, it should be scheduled on
backend level to support the case mentioned above.
DocImpact
UpgradeImpact
Change-Id: I335dbdd1d2b1146543148ccce8d52162804369f4
Closes-Bug: #
1496655
Kendall Nelson [Mon, 9 Nov 2015 16:52:43 +0000 (10:52 -0600)]
Removal of deprecated NPIV option in Storwize
The storwize_svc_npiv_compatibility_mode option was deprecated and
set to be removed during the M release. This patch removes the
option, the associated code, and the test cases for the associated
code. This patch also removes the unused import versionutils.
Closes-Bug:
1514585
Change-Id: Ib91dae38e28cd0ff1994fd8efe7c3eb4ee2c3d39
Jenkins [Mon, 9 Nov 2015 20:51:37 +0000 (20:51 +0000)]
Merge "Update cinder-manage man to match current options"
Jenkins [Mon, 9 Nov 2015 20:51:25 +0000 (20:51 +0000)]
Merge "VMware: Relocate volume only during no disk space"
Jenkins [Mon, 9 Nov 2015 20:39:11 +0000 (20:39 +0000)]
Merge "Change nfs to NFS in the help strings of nfs.py"
venkatamahesh [Mon, 9 Nov 2015 15:28:53 +0000 (20:58 +0530)]
OpenStack typo
Change Openstack to OpenStack as
per standard
Change-Id: I1ecdbdf529a7c12c0a72869f95984db1fe4e2023
Jenkins [Mon, 9 Nov 2015 06:24:06 +0000 (06:24 +0000)]
Merge "Update the devref for volume migration"
Jenkins [Mon, 9 Nov 2015 06:03:12 +0000 (06:03 +0000)]
Merge "3PAR drivers volume size conversion is incorrect"
Jenkins [Mon, 9 Nov 2015 04:19:42 +0000 (04:19 +0000)]
Merge "Port cinder.utils.monkey_patch() to Python 3"
Christian Berendt [Tue, 4 Aug 2015 12:33:06 +0000 (14:33 +0200)]
Change nfs to NFS in the help strings of nfs.py
The correct short form of Network File System is NFS and not nfs.
Change-Id: I14d839ff67e13accffc8d5f683fd0e92ea0da589
Jenkins [Mon, 9 Nov 2015 00:22:40 +0000 (00:22 +0000)]
Merge "Port cinder.hacking to Python 3"
Victor Stinner [Sun, 8 Nov 2015 21:13:14 +0000 (22:13 +0100)]
Port zfssa driver to Python 3
* Replace base64.encodestring() with
oslo_serialization.base64.encode_as_text() to accept Unicode as
input (encoded to UTF-8). On Python 3, the function decodes base64
from ASCII to get Unicode.
* tests-py3.txt: add cinder.tests.unit.test_zfssa
Partial-Implements: blueprint cinder-python3
Change-Id: I29a1a752d4cad5796fba1f21fe88238cb4414717
Victor Stinner [Sun, 8 Nov 2015 21:04:45 +0000 (22:04 +0100)]
Port vzstorage to Python 3
* vzstorage: replace a/b with a//b to use integer division on
Python 3.
* fix os.path.exists mock: only override return for path /fake
(shares config)
* tests-py3.txt: add cinder.tests.unit.test_vzstorage
Note: remove also spaces in parameters in two functions calls to
respect the PEP 8.
Partial-Implements: blueprint cinder-python3
Change-Id: I7cee7009d8bc87cd0294e90cb2967f4560276994
Victor Stinner [Thu, 5 Nov 2015 16:30:30 +0000 (17:30 +0100)]
Port cinder.utils.monkey_patch() to Python 3
On Python 3, unbound methods are regular functions: use pass
inspect.isfunction to inspect.getmembers().
tox.ini: add test_utils to Python 3.4.
Partial-Implements: blueprint cinder-python3
Change-Id: I4fe9936792a43aff301010780e86244bdf2d05de
Jenkins [Sun, 8 Nov 2015 18:13:31 +0000 (18:13 +0000)]
Merge "Fix UsedLimitsController's authorizer to soft"
Jenkins [Sun, 8 Nov 2015 14:56:43 +0000 (14:56 +0000)]
Merge "Case sensitivity problem in cinder scheduler"
Jenkins [Sun, 8 Nov 2015 13:57:07 +0000 (13:57 +0000)]
Merge "Use Service object instead of DB API directly"
Jenkins [Sun, 8 Nov 2015 13:54:51 +0000 (13:54 +0000)]
Merge "Add reno for release notes management"
Shay Halsband [Tue, 3 Nov 2015 14:33:03 +0000 (16:33 +0200)]
XtremIO fix create CG from src flow
Fix a bug during volume creation with CG,
that prevented the volume from being added to the CG on the array.
Query array snapshots names for CG snapshot before copying them
to a new volume.
Add unittest for create_cg_from_src.
liberty-backport-potential
Change-Id: Ieb76cc3e039e4c5495d00a8703c79930bc8b4df1
Closes-Bug: #
1512682
Jenkins [Sun, 8 Nov 2015 05:51:20 +0000 (05:51 +0000)]
Merge "Update register_opts hacking check to allow tuples"
Jenkins [Sun, 8 Nov 2015 05:48:56 +0000 (05:48 +0000)]
Merge "Docstring fix in scheduler-stats"
Jenkins [Sun, 8 Nov 2015 05:48:44 +0000 (05:48 +0000)]
Merge "Don't use default=None for config options"
Jenkins [Sun, 8 Nov 2015 00:24:33 +0000 (00:24 +0000)]
Merge "Add protocol to help of glance_api_servers option"
Nate Potter [Tue, 27 Oct 2015 16:09:40 +0000 (16:09 +0000)]
Don't use default=None for config options
In the config module default=None is set as the default value,
so it isn't necessary to set it again when doing config options.
Change-Id: I09989ab679d249a9f7dea6af5d53c14dd1726e09
Closes-Bug: #
1323975
OpenStack Proposal Bot [Sat, 7 Nov 2015 06:37:25 +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: Ifa7a8f2610f20afd7416adae8c32ddaa47e55262
Jenkins [Sat, 7 Nov 2015 05:35:22 +0000 (05:35 +0000)]
Merge "Port vmware datastore to Python 3"
Jenkins [Sat, 7 Nov 2015 05:30:21 +0000 (05:30 +0000)]
Merge "Fix delete quota of subprojects"
Jenkins [Fri, 6 Nov 2015 23:59:15 +0000 (23:59 +0000)]
Merge "Using extra-specs in cloned vols for Nimble driver"
Jenkins [Fri, 6 Nov 2015 19:41:53 +0000 (19:41 +0000)]
Merge "Port test_tintri to Python 3"
Jenkins [Fri, 6 Nov 2015 18:38:51 +0000 (18:38 +0000)]
Merge "NetApp: Cleanup if E-Series volume create fails"
Kurt Martin [Fri, 6 Nov 2015 16:42:50 +0000 (08:42 -0800)]
3PAR drivers volume size conversion is incorrect
The 3PAR drivers conversion of the volume size to gibibytes (GiBs) is
incorrect, resulting in slightly smaller volumes than expected. The
drivers were assuming the input was gigabytes (GBs) when in fact the
input was gibibytes (GiBs) as documented by the cinder API.
Change-Id: I5c86f506790723195f8f9433c9e5eedddd53a4ab
Closes-bug:
1513158
Victor Stinner [Thu, 5 Nov 2015 16:00:15 +0000 (17:00 +0100)]
Port vmware datastore to Python 3
* _filter_datastores(): replace filter() with list comprehension
to get a list on Python 3.
* tox.ini: add test_vmware_datastore to Python 3.4.
Partial-Implements: blueprint cinder-python3
Change-Id: Ide4e4adf012e155b99b528ddde937df1a48a079b
Michał Dulko [Fri, 6 Nov 2015 11:37:23 +0000 (12:37 +0100)]
Use Service object instead of DB API directly
In cmd.manage and volume.api we had code accessing DB API directly.
This should be done through Service versioned object instead and this
commit fixes that.
Change-Id: I7c65323279b86c37fce7ffeb2b2626508842edfb
Closes-Bug:
1513806
Jenkins [Fri, 6 Nov 2015 12:27:07 +0000 (12:27 +0000)]
Merge "Brocade driver add_zone optimization"
Atsushi SAKAI [Fri, 16 Oct 2015 03:24:35 +0000 (12:24 +0900)]
Docstring fix in scheduler-stats
Docstring fixes in scheduler-stats
Change-Id: I0044c5c35a35eb99d2b9549065c401b0f1ccbd28
Closes-Bug: #
1506706
Jenkins [Fri, 6 Nov 2015 07:02:46 +0000 (07:02 +0000)]
Merge "SMBFS: Fix retrieving total allocated size"
Michal Dulko [Tue, 25 Aug 2015 10:12:57 +0000 (12:12 +0200)]
Add LC_ALL=C to lvcreate, lvextend and pvresize
In various locales decimal mark is considered to be ',' instead of '.'.
This creates a problem when Cinder executes lvcreate, lvextend or
pvresize because it always passes numerals in 1.00g form and these
commands expect 1,00g when started with LC_NUMERIC set to one of such
locales. This commit adds LC_ALL=C env variable to all executions of
lvcreate, lvextends and pvresize and updates rootwrap's volume.filters
accordingly to make sure that parameters are interpreted in a correct
way.
Depends-On: Ie25194997b94664ec14a0f94d09c167f4fad3b4d
Change-Id: Ice7ae67f649f75cbbf2702f5f732d489ebe08aa8
Closes-Bug:
1488433
Victor Stinner [Thu, 5 Nov 2015 13:28:54 +0000 (14:28 +0100)]
Port cinder.hacking to Python 3
Fix the N325 check on Python 3: the AST changed between Python 2 and
Python 3 for try/except.
tox.ini: Add cinder.tests.unit.test_hacking to Python 3.4.
Partial-Implements: blueprint cinder-python3
Change-Id: I7c7d1c5e52f525ade14b13ecf2dec1681997da22
Victor Stinner [Thu, 5 Nov 2015 16:20:41 +0000 (17:20 +0100)]
Port test_tintri to Python 3
* Set configuration.nfs_oversub_ratio, otherwise tests
fail with TypeError on comparison between mock.Mock and int.
* tox.ini: add test_tintri to Python 3.4.
Change-Id: Ie2b5215795481bdfb11116876d83ef777a10c224
Partial-Implements: blueprint cinder-python3
Michał Dulko [Wed, 4 Nov 2015 16:07:04 +0000 (17:07 +0100)]
Add reno for release notes management
Change-Id: Id4d6604d9775c34e9a8e911ec6e7afd02d56ef47
Jenkins [Thu, 5 Nov 2015 13:20:57 +0000 (13:20 +0000)]
Merge "Execute mount.nfs check with absolute path"