Tomoki Sekiyama [Tue, 14 Oct 2014 23:09:44 +0000 (19:09 -0400)]
Fix LVM iSCSI driver tgtadm CHAP authentication
Currently CHAP Authentication in LVM iSCSI driver with tgtadm does not work.
This is because the tgtadm helper creates the target configuration file
with an 'IncomingUser' entry, which is ignored by tgtd.
This patch fixes it to 'incominguser'.
Change-Id: I14871985a2a916834122f849238f05b75726bc1a
Closes-Bug: #
1329214
Jenkins [Tue, 14 Oct 2014 22:23:32 +0000 (22:23 +0000)]
Merge "check the configuration item glance_num_retries"
Jenkins [Tue, 14 Oct 2014 22:17:07 +0000 (22:17 +0000)]
Merge "Export cinder volumes only if the status is 'in-use'"
Jenkins [Tue, 14 Oct 2014 20:52:37 +0000 (20:52 +0000)]
Merge "HP 3PAR: Don't ignore extra-specs snap_cpg when missing cpg"
Jenkins [Tue, 14 Oct 2014 20:52:28 +0000 (20:52 +0000)]
Merge "3PAR migrate without losing type settings"
Jenkins [Tue, 14 Oct 2014 20:52:19 +0000 (20:52 +0000)]
Merge "3PAR with pool-aware-cinder-scheduler"
Jenkins [Tue, 14 Oct 2014 20:19:29 +0000 (20:19 +0000)]
Merge "Move SolidFire driver from httplib to requests"
Mitsuhiro Tanino [Tue, 14 Oct 2014 16:41:41 +0000 (12:41 -0400)]
Export cinder volumes only if the status is 'in-use'
Currently, cinder volumes are exported both 'in-use' and 'available'
after restarting cinder-volume service.
This behavior was introduced following commit.
commit
ffefe18334a9456250e1b6ff88b7b47fb366f374
Author: Zhiteng Huang <zhithuang@ebaysf.com>
Date: Sat Aug 23 18:32:57 2014 +0000
If the volumes are attached to nova instances, they should be exported
via tgtd after restarting cinder-volume.
But the volumes which are not attached to instances must not be exported
because everyone can connect these volumes.
This patch changes volume export behavior that exports a volume only if
the volume status is 'in-use'.
Change-Id: I4c598c240b9290c81bd8001e5a0720c8c329aeb9
Signed-off-by: Mitsuhiro Tanino <mitsuhiro.tanino@hds.com>
Closes-bug: #
1381106
John Griffith [Fri, 10 Oct 2014 01:22:03 +0000 (19:22 -0600)]
Move SolidFire driver from httplib to requests
The SolidFire driver has been pretty static for a number of
years now, this change is to move from httplib for API calls
to requests. There are a number of advantages to this, including
performance, simplicity and ability to add things like ssl support
easily.
In addtion this change removes the confusing looping/retry mechanisms
that were in the issue_api_request method and replaces it with a
retry decorator for the exceptions we're interested in retrying.
Finally, I realize that my unit tests suck! That will be one of the
follow up items after a bit more clean up in the driver.
Change-Id: Icc4cf601bffddb057f35537f3870c45dd5eb67cc
zhangchunlong1@huawei.com [Tue, 23 Sep 2014 07:50:27 +0000 (15:50 +0800)]
check the configuration item glance_num_retries
we need to to check the value of the configuration item glance_num_retries
in the code in order to ensure the " glance_num_retries " is equal or greater
than 0
Change-Id: I661ee883f3e1009e7fb242e0df2fa130eb8daa66
Closes-Bug: #
1372452
Jenkins [Tue, 14 Oct 2014 06:38:57 +0000 (06:38 +0000)]
Merge "SQL scripts should not manage transactions"
Jenkins [Mon, 13 Oct 2014 15:38:54 +0000 (15:38 +0000)]
Merge "check the configuration eqlx_cli_max_retries"
Jenkins [Mon, 13 Oct 2014 09:25:24 +0000 (09:25 +0000)]
Merge "Fix exception handling on test_delete_nonexistent_volume"
Jenkins [Mon, 13 Oct 2014 07:16:29 +0000 (07:16 +0000)]
Merge "NetApp fix for default host type in eseries"
Jenkins [Mon, 13 Oct 2014 06:56:43 +0000 (06:56 +0000)]
Merge "Remove deprecated use of gettextutils import _"
OpenStack Proposal Bot [Sun, 12 Oct 2014 06:17:44 +0000 (06:17 +0000)]
Imported Translations from Transifex
Change-Id: Idbbc5fbb66b53445a7934cff2e32832d9e4c22e2
Eiichi Aikawa [Fri, 26 Sep 2014 06:37:31 +0000 (15:37 +0900)]
Fix exception handling on test_delete_nonexistent_volume
test_delete_nonexistent_volume wants to check the exception would be
received when nonexistent volume was specified. But currently, this
test case checks the exception would be received when nonexistent
metadata was specified.
Change-Id: Ia110618d5c658551a1826d495656954be02f4326
Jenkins [Sat, 11 Oct 2014 07:54:07 +0000 (07:54 +0000)]
Merge "GlusterFS: Remove unneeded conf import"
Jenkins [Sat, 11 Oct 2014 07:53:59 +0000 (07:53 +0000)]
Merge "coraid: allow setting default repository"
Jenkins [Sat, 11 Oct 2014 07:46:35 +0000 (07:46 +0000)]
Merge "Fixes docstring typos (Cinder)"
Jenkins [Sat, 11 Oct 2014 07:46:26 +0000 (07:46 +0000)]
Merge "gitignore /.*"
Jenkins [Sat, 11 Oct 2014 07:33:22 +0000 (07:33 +0000)]
Merge "VMware: Bump driver version"
zhangchunlong1@huawei.com [Tue, 23 Sep 2014 08:18:50 +0000 (16:18 +0800)]
check the configuration eqlx_cli_max_retries
we need to to check the value of the configuration item eqlx_cli_max_retries
in the code in order to ensure the "eqlx_cli_max_retries" is equal to or
greater than 0
DocImpact: The 'retries' is not a configured number of attempts
Change-Id: If9fadda83a855b4bbda6129d3b3a64d296eb2b54
Closes-Bug: #
1372454
Vipin Balachandran [Fri, 10 Oct 2014 17:36:27 +0000 (23:06 +0530)]
Revert "Relocate volume to compliant datastore"
Commit
4be8913520f5e9fe4109ade101da9509e4a83360 introduced a regression
which causes failures during cinder volume re-attach. This patch reverts
commit
4be8913520f5e9fe4109ade101da9509e4a83360 as an immediate fix.
Closes-Bug: #
1379830
Change-Id: I5dfbd45533489c3c81db8d256bbfd2f85614a357
Jenkins [Fri, 10 Oct 2014 18:37:32 +0000 (18:37 +0000)]
Merge "Eseries warn if multipath is not set for img xfer"
Jay S. Bryant [Wed, 10 Sep 2014 03:07:48 +0000 (22:07 -0500)]
Remove deprecated use of gettextutils import _
The initial hacking check I wrote allowed users to check in code
using 'from cinder.openstack.common.gettextutils import _' or
'from cinder.i18n import _'. This was to ease the transition for
code that was in flight with the old import.
Now that we have moved Cinder over to using cinder.i18n and most
of the code that was in flight with the old import has been merged
and/or fixed, I am updating the hacking check to enforce the use of
cinder.i18n and fixing the cases that still had the old import.
Change-Id: Iff6ccac1996c06bbc5defd5139113a2baa0b677c
Mark Sturdevant [Sat, 13 Sep 2014 06:48:16 +0000 (23:48 -0700)]
HP 3PAR: Don't ignore extra-specs snap_cpg when missing cpg
When snap_cpg is specified in extra-specs, it should be used.
For some reason, it was being ignored when extra-specs did not
also specify a user cpg.
When using a volume-type, the snapCPG should come from (in this order
of preference):
1. extra specs snap_cpg,
2. extra specs cpg,
3. config hp3par_cpg_snap,
4. config hp3par_cpg.
Change-Id: I649e3dc49f7775a8071229fc315f0ee5f23aa833
Closes-Bug:
1368972
Mark Sturdevant [Mon, 1 Sep 2014 21:33:12 +0000 (14:33 -0700)]
3PAR migrate without losing type settings
Leverage retype to fix migrate. It was losing type settings.
Closes-Bug:
1356608
Change-Id: Ic4d5233533abf65e4784b0e89f5793a6cd1ce521
Mark Sturdevant [Mon, 9 Jun 2014 02:57:21 +0000 (10:57 +0800)]
3PAR with pool-aware-cinder-scheduler
HP 3PAR support for the pool-aware scheduler.
Adds support for a list of CPGs (pools). Uses
model update when our volume-type CPG is used
instead of the scheduler selected CPG.
In cinder.conf, hp3par_cpg now accepts a list of CPGs.
DocImpact
Implements: blueprint pool-aware-cinder-scheduler-hp3par
Change-Id: I74ef0af5390311eb1a529e0d5d4875c4f7d04156
Jenkins [Fri, 10 Oct 2014 08:23:36 +0000 (08:23 +0000)]
Merge "Remove useless sslutils from openstack.common"
Jenkins [Thu, 9 Oct 2014 23:18:17 +0000 (23:18 +0000)]
Merge "Fixed Typo from modfied to modified"
Eric Harney [Wed, 8 Oct 2014 21:07:07 +0000 (17:07 -0400)]
gitignore /.*
Ignore all dotfiles in the base dir of the tree except for
.gitignore, .coveragerc, .mailmap, and .testr.conf.
This should solve the "ignore my IDE's files" problem in a
general way.
Change-Id: Ia53fff4b97e4e99b6827030573973377beddb22b
Jenkins [Thu, 9 Oct 2014 18:46:58 +0000 (18:46 +0000)]
Merge "Truncate fail_reason to column length"
Jenkins [Thu, 9 Oct 2014 17:50:36 +0000 (17:50 +0000)]
Merge "Fix eqlx CLI output parsing on bad input"
Jenkins [Thu, 9 Oct 2014 17:35:55 +0000 (17:35 +0000)]
Merge "Eqlx fix NoSuchOptError for volume_name_template on clone"
Rafael Rivero [Wed, 24 Sep 2014 20:15:41 +0000 (13:15 -0700)]
Fixes docstring typos (Cinder)
A few more typographical errors found in Cinder docstrings.
Change-Id: If841350592650e23e9d7b24b4c52a3cdddb62d2f
Julien Danjou [Tue, 7 Oct 2014 08:52:51 +0000 (10:52 +0200)]
Remove useless sslutils from openstack.common
This module has been named by mistake in openstack-common.conf but has
never been used, except by the RPC code back then. Let's remove it.
Change-Id: Ie0c88d2c962d1daa9f1fcf0b4d0d530c15223aa9
Vipin Balachandran [Thu, 9 Oct 2014 14:05:46 +0000 (19:35 +0530)]
Truncate fail_reason to column length
During create_backup failure handling, backup_update fails with
DataError ("Data too long for column") if the fail_reason is
greater than 255 characters. As a result, backup status is stuck
in 'creating' state. This patch avoids the problem by truncating
fail_reason to 255 characters before update.
Closes-Bug: #
1376199
Change-Id: If0d616b81d3869f7ea110caab8cf4140cf5c5c9e
Sean McGinnis [Tue, 7 Oct 2014 15:29:26 +0000 (10:29 -0500)]
Fix eqlx CLI output parsing on bad input
The eqlx driver would identify CLI command completion
by looking for the system name prompt at the end of
the output ("ARRAY_NAME>"). In some cases where there
is bad input the array will print an error, then
prepopulate the command again so it can be edited,
resulting in the output:
"ARRAY_NAME> [bad command]"
The array name prompt only gets printed on command
completion, so the fix is to look for the prompt
anywhere in the CLI output.
Change-Id: I063a203c9746689ca8a42a97725b059f782e3812
Closes-Bug:
1378394
Sean McGinnis [Tue, 7 Oct 2014 15:10:57 +0000 (10:10 -0500)]
Eqlx fix NoSuchOptError for volume_name_template on clone
The eqlx driver was referencing the volume_name_template
config setting via self.configuration.volume_name_template.
This option is not imported in self.configuration.
The curent preferred method for volume clone is to reference
the passed in name, avoiding the need for the driver to
know what the naming template is all together.
Change-Id: If4963bbe61574c006ad04e5e88d04c7f7bc7cee1
Closes-Bug:
1378369
Vipin Balachandran [Wed, 8 Oct 2014 10:12:58 +0000 (15:42 +0530)]
VMware: Bump driver version
Commit
86591a24d48fe19be427b5a8981821fcdb85bb37 added support for
retype API in VMDK driver. This patch updates the driver version
to reflect this.
Change-Id: I8351a40d393d68f5873237fb670a5e0c4a93a863
Jenkins [Thu, 9 Oct 2014 03:22:32 +0000 (03:22 +0000)]
Merge "Make sure device support Direct before setting"
John Griffith [Tue, 7 Oct 2014 17:49:58 +0000 (11:49 -0600)]
Make sure device support Direct before setting
We added '-t none' option to the qemu-img convert operation
in image_utils.py a while back to accomodate a couple of
backend devices that didn't flush writes on disconnect.
(Change: I7a04f683add8c23b9125fe837c4048ccc3ac224d)
The only problem here is that some backend devices don't
support Direct mode and raise an exception and fail when
setting this option.
This patch adds a simple check using dd to see if the dest
supports the Direct flag and only sets '-t none' if the device
does in fact support it.
Additionally it was brought up that even yet other backends
are using file devices not blk devices. In their case setting
Direct will still work, however it's sub-optimal as qemu-convert
has internal mechanisms to make sure flushing etc are done
correctly and efficiently for those devices. So to accomodate
that particular use case I'm also adding a check if blk dev
that can be used for determining whether to set Direct for the
qemu-convert process.
Change-Id: I34127ac373ceadcfb6fc2662628b1a91eb7b0046
Closes-Bug:
1375487
Tom Barron [Tue, 23 Sep 2014 22:05:40 +0000 (18:05 -0400)]
Eseries warn if multipath is not set for img xfer
Warn at driver startup if the configuration option
"use_multipath_for_image_xfer" has not been set to "True". Eseries filers
require appropriate multipath/DMMP configuration on the host running the
cinder volume process for image transfers to work reliably.
Change-Id: Ib79a23a5a9527b254f155a9f4ea022d4387a4a13
Closes-Bug: #
1376349
Eric Harney [Wed, 8 Oct 2014 16:10:19 +0000 (12:10 -0400)]
GlusterFS: Remove unneeded conf import
The 'volume_name_template' option is no longer needed here.
Change-Id: Ib965ec26278651b2ed93e2e2b1db0d9e6191b299
Timothy Okwii [Mon, 8 Sep 2014 17:25:43 +0000 (10:25 -0700)]
Fixed Typo from modfied to modified
Change-Id: Iad9515fd239b559b5c4a01b6deb33860ae79230e
OpenStack Proposal Bot [Tue, 7 Oct 2014 19:11:27 +0000 (19:11 +0000)]
Updated from global requirements
Change-Id: I5e9c61dbf0751c90a191d644e515af5838e96439
Jenkins [Tue, 7 Oct 2014 19:03:30 +0000 (19:03 +0000)]
Merge "Imported Translations from Transifex"
OpenStack Proposal Bot [Tue, 7 Oct 2014 06:06:17 +0000 (06:06 +0000)]
Imported Translations from Transifex
Change-Id: I31709cb29865acf3f73fa7f6155c16085bf3418c
Roman Bogorodskiy [Wed, 1 Oct 2014 08:15:14 +0000 (08:15 +0000)]
coraid: allow setting default repository
Currently, the Coraid driver requires storing Storage Repository
name in volume type key named 'coraid_repository' or different key name
if a value of the 'coraid_repository_key' option changed in the cinder
configuration file.
In case of creating a volume without volume type associated or creating
a volume with volume type that doesn't have an appropriate key with
the repository name, volume creation fails.
That is an inconvenient behaviour, especially in case of using that with
Tempest that creates new volume types but obviously doesn't know
that it should add keys with the repository name.
In order to fix that, introduce a 'coraid_default_repository' config
option that allows to set a default repository to use if one is not
specified in the volume type key.
In case if neither volume type nor config file provide a repository
name, throw CoraidException with description of the problem.
DocImpact
Change-Id: Ib205553cdee0af0036a774f6926433f4452ec023
Tristan Cacqueray [Fri, 3 Oct 2014 19:57:01 +0000 (19:57 +0000)]
Sync latest processutils from oslo-incubator
An earlier commit (Ia92aab76fa83d01c5fbf6f9d31df2463fc26ba5c) failed
to address ssh_execute(). This change set addresses ssh_execute.
------------------------------------------------
oslo-incubator head:
commit
4990535fb5f3e2dc9b397e1a18c1b5dda94ef1c4
Merge:
9f5c700 2a130bf
Author: Jenkins <jenkins@review.openstack.org>
Date: Mon Sep 29 23:12:14 2014 +0000
Merge "Script to list unreleased changes in all oslo projects"
-----------------------------------------------
The sync pulls in the following changes (newest to oldest):
6a60f842 - Mask passwords in exceptions and error messages (SSH)
-----------------------------------------------
Change-Id: Ie0caf32469126dd9feb44867adf27acb6e383958
Closes-Bug: #
1377981
Jenkins [Fri, 3 Oct 2014 01:38:27 +0000 (01:38 +0000)]
Merge "NetApp fix eseries unit test mock clean"
Jenkins [Fri, 3 Oct 2014 01:00:47 +0000 (01:00 +0000)]
Merge "Windows SMBFS: Handle volume_name in _qemu_img_info"
Jenkins [Thu, 2 Oct 2014 22:40:18 +0000 (22:40 +0000)]
Merge "ZFSSA iSCSI vol create fails with vol type option"
Jenkins [Thu, 2 Oct 2014 22:40:10 +0000 (22:40 +0000)]
Merge "Clarify InvalidInput exception when the size is missing"
Jenkins [Thu, 2 Oct 2014 22:35:58 +0000 (22:35 +0000)]
Merge "Handle eqlx SSH connection close on abort."
Jenkins [Thu, 2 Oct 2014 21:44:22 +0000 (21:44 +0000)]
Merge "Refuse invalid qcow2 backing files"
Jenkins [Thu, 2 Oct 2014 19:41:29 +0000 (19:41 +0000)]
Merge "Deprecate / obsolete NetApp volume extra specs"
Lucian Petrut [Tue, 30 Sep 2014 08:58:22 +0000 (11:58 +0300)]
Windows SMBFS: Handle volume_name in _qemu_img_info
The volume_name is now parsed to the _qemu_img_info wrapper. As
this method is not prone to security issues because this driver
does not support raw images (at least not yet), we don't have to
perform any checks on the backing image file path.
Thus, this method simply ignores this argument that will be parsed
by the base class methods.
Related-Bug: #
1350504
Change-Id: I801a6338250ec2dc631c4058543f7d0088b3e4d4
Eric Harney [Tue, 9 Sep 2014 20:20:24 +0000 (16:20 -0400)]
Refuse invalid qcow2 backing files
Don't allow qcow2 files that are pointing to backing files outside of:
volume-<id>
volume-<id>.<snap-id>
volume-<id>.tmp-snap-<snap-id>
(optionally prefixed with /mnt/path)
Closes-Bug: #
1350504
Change-Id: Ic89cffc93940b7b119cfcde3362f304c9f2875df
Joe Gordon [Thu, 2 Oct 2014 16:44:12 +0000 (09:44 -0700)]
Clarify InvalidInput exception when the size is missing
In the case where size is None, the exception message
'Volume size must be an integer...' is misleading.
Change-Id: Ida34a84f8b3d156e3dca54de594c991b5ef73295
Sean McGinnis [Fri, 26 Sep 2014 20:21:35 +0000 (15:21 -0500)]
Handle eqlx SSH connection close on abort.
EqualLogic array CLI operation timeout causes the
SSH thread to be aborted. This would cause SSH
sessions to be orphaned and hit a max connection
limit on the array. This fix catches these aborts
and makes sure the connection is closed.
Change-Id: I9392fd5dd79eb44f252bf50217f17cc473e6f2f0
Closes-Bug:
1374613
Jenkins [Thu, 2 Oct 2014 03:10:01 +0000 (03:10 +0000)]
Merge "Fix race condition in ISCSIConnector _disconnect_volume_multipath_iscsi"
Jenkins [Wed, 1 Oct 2014 23:46:00 +0000 (23:46 +0000)]
Merge "ZFSSA iSCSI driver cannot add multple initiators to a group"
Clinton Knight [Fri, 26 Sep 2014 16:07:44 +0000 (12:07 -0400)]
Deprecate / obsolete NetApp volume extra specs
The NetApp Data ONTAP (Cluster-mode) NFS & iSCSI drivers for Juno support
the Cinder pools feature, but the drivers are reporting two qualified
extra specs that must be converted to unqualified extra specs in order to
be used by the Cinder scheduler's capability filter. Furthermore, there
are four extra specs that must be deprecated due to having the pools
feature. Warnings will be logged during volume creation if any of the
obsolete or deprecated extra specs are seen in the volume type.
Change-Id: I4dbd667610e481356304a12b8dae84cff61aa9d9
Closes-bug:
1374630
Jenkins [Wed, 1 Oct 2014 08:42:36 +0000 (08:42 +0000)]
Merge "Fix parameter miss in test_snapshot_metadata test case"
Patrick East [Tue, 30 Sep 2014 18:47:42 +0000 (11:47 -0700)]
Fix race condition in ISCSIConnector _disconnect_volume_multipath_iscsi
This is a similar issue as seen in
https://bugs.launchpad.net/cinder/+bug/
1375382
The list of devices returned by driver.get_all_block_devices() in
_disconnect_volume_multipath_iscsi will potentially contain broken
symlinks as the SCSI devices have been deleted from calling
self._linuxscsi.remove_multipath_device(device_realpath) right before
_disconnect_volume_multipath_iscsi but the udev rule for the symlink
may not yet have completed.
Adding in a check to os.path.exists() will ensure that we will not
consider the broken symlinks as an “in use” device.
Change-Id: I79c9627e9b47127d3765fcec5b7e3bacef179630
Closes-Bug: #
1375946
Jenkins [Tue, 30 Sep 2014 17:35:55 +0000 (17:35 +0000)]
Merge "IBM Storwize driver: Retype the volume with correct empty QoS"
Juan Zuluaga [Tue, 16 Sep 2014 15:23:36 +0000 (11:23 -0400)]
ZFSSA iSCSI driver cannot add multple initiators to a group
All initiators defined in zfssa_initiator property would be
added to the group.
Also fixed some typos related to initiators error messages.
Change-Id: Iec6c90702e5aafa153b4a7f1e429974ac450afc0
Closes-Bug: #
1369750
Juan Zuluaga [Wed, 24 Sep 2014 22:51:07 +0000 (18:51 -0400)]
ZFSSA iSCSI vol create fails with vol type option
Vol create with volume-type option is not working since
volume_backend_name contains the class name as
predefined string. No matter what was specified in cinder.conf
as volume_backend_name, volume creation failed.
Multi-backend option and using extra specs to create custom volumes
won't work.
The fix is to look whether volume_backend_name is part of the
configuration or falls into the class name in case there is
no backend name.
Change-Id: I1bc501dd4c5689d96c7beb720b64112df1770232
Closes-Bug:
1373621
DocImpact
Thierry Carrez [Tue, 30 Sep 2014 07:25:09 +0000 (09:25 +0200)]
Open Kilo development
Bump pre-version to 2015.1 to formally open master branch to Kilo
development.
Change-Id: I326741949e338537388f020442aa026ea4673b92
Jenkins [Tue, 30 Sep 2014 05:06:02 +0000 (05:06 +0000)]
Merge "VMware: cinder-volume create_session fail at retry"
Jenkins [Tue, 30 Sep 2014 04:33:12 +0000 (04:33 +0000)]
Merge "Fix race condition in ISCSIConnector disconnect_volume"
Jenkins [Tue, 30 Sep 2014 02:00:10 +0000 (02:00 +0000)]
Merge "Adds openSUSE support for developer documentation"
Jenkins [Mon, 29 Sep 2014 22:02:24 +0000 (22:02 +0000)]
Merge "Remove unused py33 tox env"
Patrick East [Mon, 29 Sep 2014 17:54:22 +0000 (10:54 -0700)]
Fix race condition in ISCSIConnector disconnect_volume
The list of devices returned by driver.get_all_block_devices() will
sometimes contain broken symlinks as the SCSI device has been deleted
but the udev rule for the symlink has not yet completed.
Adding in a check to os.path.exists() will ensure that we will not
consider the broken symlinks as an “in use” device.
Change-Id: Ibb869e10976f894f9e18e9edec6739c2c3bea68c
Closes-Bug: #
1375382
Alberto Planas [Mon, 29 Sep 2014 15:25:10 +0000 (17:25 +0200)]
Adds openSUSE support for developer documentation
Add information for openSUSE as developer platform.
Change-Id: I3d5429f78b06cd38b10756570acea96fb23ed021
Vincent Hou [Fri, 12 Sep 2014 08:10:02 +0000 (16:10 +0800)]
IBM Storwize driver: Retype the volume with correct empty QoS
* Currently for Storwzie driver, if the new type does not have QoS
configurations, the old QoS configurations remain in the volume after
retyping it. It should be retyped into a volume with empty QoS for the
Storwize driver.
* Refactor three dicts into one for better maintainance of the QoS keys
for Storwize driver.
DocImpact
Change-Id: I2b2801a4ef72ef02c11392ed00b56f5263a8a7e4
Closes-Bug: #
1368595
Vipin Balachandran [Thu, 14 Aug 2014 09:39:40 +0000 (15:09 +0530)]
VMware:Unquote folder name for folder exists check
vCenter server escapes special characters in the folder name using URL
encoding and returns back the encoded string while querying. This causes
the check for folder existence to return false. Therefore, folder
creation is reattempted which eventually fails. This patch fixes the
problem by decoding the folder name returned by vCenter before
comparison.
Change-Id: I40aa6f42ea0d85fbfcb40970c55b20e13ea46522
Closes-Bug: #
1356794
Jenkins [Mon, 29 Sep 2014 06:26:28 +0000 (06:26 +0000)]
Merge "Add required spaces in log messages"
Johnson Koil Raj [Fri, 26 Sep 2014 18:37:47 +0000 (00:07 +0530)]
VMware: cinder-volume create_session fail at retry
cinder-volume exits with an exception while accessing a None
object during retry of create session failure.
Closes-Bug: #
1374585
Change-Id: I1d8dd034e9c6eb7568cf6f243a203df7de1777da
Jenkins [Sun, 28 Sep 2014 02:24:35 +0000 (02:24 +0000)]
Merge "IBM Storwize:Failed to retype from non-type to replication enable"
Jenkins [Sat, 27 Sep 2014 22:24:46 +0000 (22:24 +0000)]
Merge "NetApp fix for controller preferred path"
Jenkins [Sat, 27 Sep 2014 22:24:37 +0000 (22:24 +0000)]
Merge "Fix running unit tests with coverage"
Jenkins [Sat, 27 Sep 2014 22:24:28 +0000 (22:24 +0000)]
Merge "VMware: Add storage profile related unit tests"
Jenkins [Sat, 27 Sep 2014 22:24:20 +0000 (22:24 +0000)]
Merge "VMware: Relocate volume to compliant datastore"
Jenkins [Sat, 27 Sep 2014 22:24:11 +0000 (22:24 +0000)]
Merge "VMware: Implement retype for VMDK driver"
Jenkins [Sat, 27 Sep 2014 22:18:53 +0000 (22:18 +0000)]
Merge "VMware: Improve datastore selection logic"
Jenkins [Sat, 27 Sep 2014 22:18:43 +0000 (22:18 +0000)]
Merge "Failed to re-detach volume when volume detached."
ArkadyKanevsky [Wed, 27 Aug 2014 21:47:37 +0000 (16:47 -0500)]
Fixing format for log messages
code_cleanup_batching for EQL driver
Follow log essage format for i18n - http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages
Closes-Bug:
1362337
Change-Id: Ic3726f725efa4d29204e8530a8f191b801a4aac8
Jay S. Bryant [Thu, 25 Sep 2014 20:58:41 +0000 (15:58 -0500)]
Update /etc/cinder/cinder.conf.sample for memcache
It appears that an update to keystone middleware earlier today
added options for memcache_secret_key, memcache_pool_dead_retry,
memcache_pool_maxsize, memcache_pool_socket_timeout,
memcache_pool_unused_timeout, memcache_pool_conn_get_timeout and
memcache_use_advanced_pool. The commit that added these options
was:
a7beb50b38be5c3dd4c44d68ad79d1bb206dab6b - "Add an optional
advanced pool of memcached clients".
This has once again caused the check_uptodate.sh script to fail.
This patch updates cinder.sample.conf .
Change-Id: Ibcf19ccc81a56a9a3e795022e3e07bc061fa9401
Closes-bug:
1374154
Jenkins [Thu, 25 Sep 2014 13:39:02 +0000 (13:39 +0000)]
Merge "Fix unnecessary WSGI worker warning at API startup"
Vipin Balachandran [Wed, 27 Aug 2014 14:56:34 +0000 (20:26 +0530)]
VMware: Relocate volume to compliant datastore
During attach to a nova instance, the backing VM corresponding to the
volume is relocated only if the nova instance's ESX host cannot access
the backing's current datastore. The storage profile is ignored and
the volume's virtual disk might end up in a non-compliant datastore.
This patch fixes the problem by checking storage profile compliance of
the current datastore.
Change-Id: I3865654e219c05dcec3aaab07c4cee0658fe181e
Closes-Bug: #
1301348
Haiwei Xu [Thu, 25 Sep 2014 09:46:18 +0000 (18:46 +0900)]
Fix parameter miss in test_snapshot_metadata test case
Exception.SnapshotNotFound exception should be passed snapshot_id
parameter, but the test case didn't pass it when raising this
exception.
Change-Id: Ic9b8cf7b647933b847a9602752ca87d141cda09e
Rick Chen [Wed, 24 Sep 2014 09:08:52 +0000 (17:08 +0800)]
Failed to re-detach volume when volume detached.
When first request command detach the volume, but the back-end
storage state is in-processing or busy. Next retry command will
got the error code that describe the volume already detached.
Change-Id: If340980ab2dcc844398254ff368ca6b78ca40ff6
Closes-Bug:
1373317
Jenkins [Thu, 25 Sep 2014 05:12:02 +0000 (05:12 +0000)]
Merge "Imported Translations from Transifex"
Jenkins [Wed, 24 Sep 2014 18:12:37 +0000 (18:12 +0000)]
Merge "Add unit test to cinder cgsnapshot api"
Jenkins [Wed, 24 Sep 2014 18:08:53 +0000 (18:08 +0000)]
Merge "Downgrade 'infinite' and 'unknown' capacity in weigher"
OpenStack Proposal Bot [Wed, 24 Sep 2014 06:04:09 +0000 (06:04 +0000)]
Imported Translations from Transifex
Change-Id: If1cff4924585a11e5545cd8f3b206d574f5a4558
TaoBai [Thu, 18 Sep 2014 08:49:47 +0000 (11:49 +0300)]
IBM Storwize:Failed to retype from non-type to replication enable
It used none as volume type to create replication. Storwize Driver
did not check whether it's none.
Change to use new type to create replication.
Closes-bug: #
1369815
Change-Id: I78501e1d3558bd6c3e6e1abb0c312cec7d11efd4