]> review.fuel-infra Code Review - openstack-build/cinder-build.git/log
openstack-build/cinder-build.git
11 years agoInitialize shares variables for RemoteFsDriver(s)
Eric Harney [Wed, 2 Oct 2013 18:11:31 +0000 (14:11 -0400)]
Initialize shares variables for RemoteFsDriver(s)

self.shares and self._mounted_shares are used by various methods
for RemoteFs-based drivers, but may not be instantiated early enough.

Initialize them in __init__ to ensure they always exist.  (Also fixes
pylint warnings.)

Closes-Bug: #1239741
Change-Id: I0ef884c28b82b7f694cf8a0fb4629c835da11c91

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 13 Oct 2013 09:04:59 +0000 (09:04 +0000)]
Merge "Imported Translations from Transifex"

11 years agoFix all occurences of H404 Hacking warning
Dirk Mueller [Sat, 29 Jun 2013 11:38:13 +0000 (13:38 +0200)]
Fix all occurences of H404 Hacking warning

This fixes all triggers of hacking 0.6.x's warning:
H404 - multi line docstring should start with a summary.
and enables gating check on H404.

Change-Id: I034bd1f05da3f279d8d79aa14a7f6ce8bef5047c

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 13 Oct 2013 06:13:06 +0000 (06:13 +0000)]
Imported Translations from Transifex

Change-Id: I5052c7a1dc3de38fef14046078d93c583c7cee73

11 years agoMerge "Remove option count from sample configuration"
Jenkins [Sun, 13 Oct 2013 05:55:19 +0000 (05:55 +0000)]
Merge "Remove option count from sample configuration"

11 years agoMerge "Remove unused 'initiator' imports"
Jenkins [Sun, 13 Oct 2013 05:31:12 +0000 (05:31 +0000)]
Merge "Remove unused 'initiator' imports"

11 years agoMerge "Refactor Nexenta iSCSI driver"
Jenkins [Sun, 13 Oct 2013 05:29:00 +0000 (05:29 +0000)]
Merge "Refactor Nexenta iSCSI driver"

11 years agoMerge "VMware: Fixed upload-to-image for available volume"
Jenkins [Sun, 13 Oct 2013 05:28:06 +0000 (05:28 +0000)]
Merge "VMware: Fixed upload-to-image for available volume"

11 years agoMerge "Fix tests to work in debug mode"
Jenkins [Sun, 13 Oct 2013 05:15:17 +0000 (05:15 +0000)]
Merge "Fix tests to work in debug mode"

11 years agoVMware: Fixed upload-to-image for available volume
Subramanian Neelakantan [Wed, 9 Oct 2013 10:53:52 +0000 (03:53 -0700)]
VMware: Fixed upload-to-image for available volume

Cinder generally does not allow upload-to-image operation on a volume
that is 'in-use'. This can however be over-ridden using the '--force True'
flag. The VMware driver cannot support upload-to-image when the volume is
in-use. This is a restriction for the VMware driver alone. When the user forces
an upload on a volume that is 'in-use' the Cinder api layer sets the volume
status to 'uploading' and calls into the driver code to upload. In this
scenario the VMware driver needs to fail the operation.

The current driver code here does this check wrongly by looking for volume
status of 'in-use'. Fixing this check to identify an in-use volume correctly.

Fixes bug: 1237338

Change-Id: If54edfdc242a7a1bff442b6bb4c5a9865eede1dc

11 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Fri, 11 Oct 2013 22:26:27 +0000 (22:26 +0000)]
Merge "Updated from global requirements"

11 years agoMerge "Remove obsolete redhat-eventlet.patch"
Jenkins [Fri, 11 Oct 2013 22:21:42 +0000 (22:21 +0000)]
Merge "Remove obsolete redhat-eventlet.patch"

11 years agoRefactor Nexenta iSCSI driver
Victor Rodionov [Wed, 4 Sep 2013 22:02:51 +0000 (02:02 +0400)]
Refactor Nexenta iSCSI driver

1) Rename volume.py to iscsi.py
2) Rename NexentaDriver to NexentaISCSIDriver

DocImpact
Change-Id: I117d881e1f5a70ea50e44c4a409e65961b85978f

11 years agoRemove unused 'initiator' imports
Eric Harney [Fri, 11 Oct 2013 21:43:38 +0000 (17:43 -0400)]
Remove unused 'initiator' imports

Remove unused 'initiator' imports from driver.py and manager.py

Change-Id: I4bb3099d6099588d242fae7ed92d0bd9f7126fbb

11 years agoMerge "Remove whitespace from cfg options"
Jenkins [Fri, 11 Oct 2013 21:21:13 +0000 (21:21 +0000)]
Merge "Remove whitespace from cfg options"

11 years agoMerge "Fix typo in cinder.volume.drivers.nexenta.__init__"
Jenkins [Fri, 11 Oct 2013 21:20:11 +0000 (21:20 +0000)]
Merge "Fix typo in cinder.volume.drivers.nexenta.__init__"

11 years agoFix tests to work in debug mode
Michael Kerrin [Thu, 10 Oct 2013 13:16:37 +0000 (13:16 +0000)]
Fix tests to work in debug mode

Avoid oslo.cfg errors when running the tests in debug mode, with
run_tests.sh -d, or directly with testtools.

Change-Id: I7c8b24673ac2d502b219a00ce8af93111348b1ff

11 years agoUpdated from global requirements
OpenStack Jenkins [Thu, 10 Oct 2013 20:24:27 +0000 (20:24 +0000)]
Updated from global requirements

Change-Id: Ic2508231560ea1bd7d8c8df01193846bec4f70cc

11 years agoRemove whitespace from cfg options
Andreas Jaeger [Thu, 10 Oct 2013 18:51:51 +0000 (20:51 +0200)]
Remove whitespace from cfg options

This extra whitespace will cause warnings in the openstack-manuals,
thus remove it.

Change-Id: I36c0e0d8456bb78384620362b1c1cedb053c6a3c

11 years agoRemove option count from sample configuration
Eric Harney [Thu, 10 Oct 2013 19:01:25 +0000 (15:01 -0400)]
Remove option count from sample configuration

This doesn't serve much purpose, and makes it much harder than it
should be to merge multiple patches that change the sample config.

Change-Id: I44895bfbf4a7c9af30040f84b17a97f8e2f4e5b6

11 years agoMerge "improves lvm version parsing for customised builds"
Jenkins [Thu, 10 Oct 2013 17:05:38 +0000 (17:05 +0000)]
Merge "improves lvm version parsing for customised builds"

11 years agoMerge "Clean up comparison assertions"
Jenkins [Thu, 10 Oct 2013 16:57:25 +0000 (16:57 +0000)]
Merge "Clean up comparison assertions"

11 years agoMerge "long flashcopy operation may block volume service"
Jenkins [Thu, 10 Oct 2013 15:57:44 +0000 (15:57 +0000)]
Merge "long flashcopy operation may block volume service"

11 years agoimproves lvm version parsing for customised builds
Giulio Fidente [Thu, 10 Oct 2013 12:59:44 +0000 (14:59 +0200)]
improves lvm version parsing for customised builds

supports_thin_provisioning now uses a regexp to ensure parsing of
lvm version succeeds when the build is customised; also adds a test
for a customised string parsing

Closes-Bug: #1237994
Change-Id: I49049a58bbdb5315b9d2d7c259a9324ca15d78cb

11 years agoMerge "use cinder utils.get_root_helper"
Jenkins [Thu, 10 Oct 2013 00:02:27 +0000 (00:02 +0000)]
Merge "use cinder utils.get_root_helper"

11 years agoFix typo in cinder.volume.drivers.nexenta.__init__
Victor Rodionov [Tue, 8 Oct 2013 15:45:35 +0000 (19:45 +0400)]
Fix typo in cinder.volume.drivers.nexenta.__init__

s/Mikhaik/Mikhail/

Change-Id: I78f53f4a5f73af03657a21302021145d42faed0c

11 years agoRemove obsolete redhat-eventlet.patch
Mark McLoughlin [Wed, 9 Oct 2013 20:39:56 +0000 (21:39 +0100)]
Remove obsolete redhat-eventlet.patch

See I62ce43a330d7ae94eda4c7498782a655e63747fa for the gorey details on
why this exists.

As of this fix:

  https://github.com/eventlet/eventlet/pull/34

which was released in eventlet 0.13, we no longer need the patch.

This has now been removed from oslo-incubator, so this is really just
syncing that removal.

Change-Id: I84267f3c6726cb2e750f615e107c48b12c6ed353

11 years agolong flashcopy operation may block volume service
Alan Jiang [Thu, 3 Oct 2013 22:03:09 +0000 (17:03 -0500)]
long flashcopy operation may block volume service

Storwize family uses flashcopy for snapshot or volume clone. The
volume delete has to wait until flashcopy finishes or errors out.
The _delete_vdisk() will poll volume FlashCopy status in a loop.
This may block volume serivce heartheat since it is in the same
. The solution is to use openstack FixedIntervalLoopingCall
to run the FlashCopy status poll in a timer thread.

The cinder volume mananger will resume delete operation for those
volumes that are in the deleting state during volume service startup.
Since Storwize volume delete may wait for a long time, this can cause
volume service to have long delay before it becomes available.
A greenpool is used to offload those volume delete operations.

Change-Id: Ie01a441a327e1e318fa8da0040ae130731b7a686
Closes-Bug: #1203152

11 years agoMerge "Support Huawei driver upgrade from grizzly to havana"
Jenkins [Wed, 9 Oct 2013 15:36:30 +0000 (15:36 +0000)]
Merge "Support Huawei driver upgrade from grizzly to havana"

11 years agoMerge "VMware: Disallow snapshot of attached volume"
Jenkins [Wed, 9 Oct 2013 08:54:51 +0000 (08:54 +0000)]
Merge "VMware: Disallow snapshot of attached volume"

11 years agoMerge "Nexenta volume drivers: refactor NexentaJSONProxy"
Jenkins [Wed, 9 Oct 2013 08:50:45 +0000 (08:50 +0000)]
Merge "Nexenta volume drivers: refactor NexentaJSONProxy"

11 years agoMerge "Utilizes assertIsNone and assertIsNotNone"
Jenkins [Wed, 9 Oct 2013 07:48:29 +0000 (07:48 +0000)]
Merge "Utilizes assertIsNone and assertIsNotNone"

11 years agoMerge "Provide user with more information on quota fail"
Jenkins [Wed, 9 Oct 2013 07:48:27 +0000 (07:48 +0000)]
Merge "Provide user with more information on quota fail"

11 years agoSupport Huawei driver upgrade from grizzly to havana
zhangchao010 [Wed, 9 Oct 2013 07:37:49 +0000 (15:37 +0800)]
Support Huawei driver upgrade from grizzly to havana

To make the driver upgrade from grizzly to higher versions, the patch
checks the old host name firstly when creating and deleting host in
Huawei storage system.
If the old host name exists:
*get and use it directly when adding host.
*delete it directly when deleting host.

Closes-bug 1237189

Change-Id: I82a9dbc1ef0bb0b91771afea4aadec5afe65eecf

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 9 Oct 2013 06:13:50 +0000 (06:13 +0000)]
Imported Translations from Transifex

Change-Id: I68cbee28565b1b4bd0352a4d769744cab28b71a0

11 years agoVMware: Disallow snapshot of attached volume
Kartik Bommepally [Tue, 8 Oct 2013 13:33:33 +0000 (06:33 -0700)]
VMware: Disallow snapshot of attached volume

The current implementation perform snapshot of attached volume.
This is invalid because when we take snapshot of the backing, the instance
continues pointing to the readonly delta and tries writing to it.
This patch will disallow snapshot creation of attached volume.

We have similar issue with delete of snapshot, when deleted the instance will
point to an invalid disk file, since that will get merged with its parent.
Hence any writes by the instance will fail with disk not found error.
This patch will ignore delete snapshot of attached volume.

Since we disallow snapshot of attached volume, we disallow linked clone of
attached source volume and also upload of attached volume.

Fixes bug: 1236891

Change-Id: I6a91eac8529836d1fe1de73bf6b28ec098aa7c54

11 years agoClean up comparison assertions
Zhongyue Luo [Tue, 3 Sep 2013 05:07:21 +0000 (13:07 +0800)]
Clean up comparison assertions

Using assertTrue and the comparison operators to test
if an element is greater, equal, or less is too python2.4.
Our unit testing framework 'testtools' supports
- assertEqual
- and testtools Matcher classes
which were created for these types of tests.

Re-implemented assertGreater and assertGreaterEqual
with compatibility for python < 2.7.

Change-Id: I6f3e3279630393e594c75d30cb4b895c2e2c22ca

11 years agoUtilizes assertIsNone and assertIsNotNone
Zhongyue Luo [Wed, 9 Oct 2013 01:54:30 +0000 (09:54 +0800)]
Utilizes assertIsNone and assertIsNotNone

Using assertEqual/assertNotEqual to test if an element
is or is not None is too python2.4.
Our unit testing framework supports assertIsNone and assertIsNotNone
which were created for these types of tests.

Change-Id: I2e430e87dd0222b194a84f2928ad36aac26aaba6

11 years agoMerge "remove unused methods in driver.Scheduler"
Jenkins [Wed, 9 Oct 2013 00:39:41 +0000 (00:39 +0000)]
Merge "remove unused methods in driver.Scheduler"

11 years agoNexenta volume drivers: refactor NexentaJSONProxy
Victor Rodionov [Tue, 8 Oct 2013 20:11:09 +0000 (00:11 +0400)]
Nexenta volume drivers: refactor NexentaJSONProxy

Change constructor arguments of NexentaJSONProxy.

Change-Id: I43d69485e6a98704f4cb02a4b55acccf9c05b683

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Tue, 8 Oct 2013 16:43:17 +0000 (16:43 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "VMware: Re-create session for RetrievePropertiesEx"
Jenkins [Tue, 8 Oct 2013 16:00:31 +0000 (16:00 +0000)]
Merge "VMware: Re-create session for RetrievePropertiesEx"

11 years agoremove unused methods in driver.Scheduler
KIYOHIRO ADACHI [Tue, 8 Oct 2013 07:28:25 +0000 (16:28 +0900)]
remove unused methods in driver.Scheduler

cinder.scheduler.host_manager.HostManager doesn't have get_host_list()
and get_service_capabilities(). But we don't catch the AttributeError
by them. Therefore, get_host_list() and get_service_capabilities() in
cinder.scheduler.driver.Scheduler have not been used.

Also, get_host_list() and get_service_capabilities() in
cinder.scheduler.manager.SchedulerManager have not been used.

Change-Id: I402cf068612866649cc8645391eff38fca56f634
Closes-Bug: #1236723

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 8 Oct 2013 06:15:49 +0000 (06:15 +0000)]
Imported Translations from Transifex

Change-Id: I8b4e6122ec5dfa64f749a73e6ccf0b777acdd4bc

11 years agoMerge "Cleanup and more tests for db.api methods"
Jenkins [Tue, 8 Oct 2013 06:08:35 +0000 (06:08 +0000)]
Merge "Cleanup and more tests for db.api methods"

11 years agoMerge "Drop conf_key_mgr warning message!"
Jenkins [Tue, 8 Oct 2013 06:07:25 +0000 (06:07 +0000)]
Merge "Drop conf_key_mgr warning message!"

11 years agoMerge "Ignore H803 from Hacking."
Jenkins [Tue, 8 Oct 2013 05:56:00 +0000 (05:56 +0000)]
Merge "Ignore H803 from Hacking."

11 years agoNexenta iSCSI driver fix _lu_exists
Victor Rodionov [Mon, 7 Oct 2013 23:19:23 +0000 (03:19 +0400)]
Nexenta iSCSI driver fix _lu_exists

Catch "does not exist" exception of NMS scsidisk lu_exists method.

Change-Id: I082b588dfbf54efec68a9affc76466097765b6db
Closes-Bug: #1236626

11 years agoIgnore H803 from Hacking.
Dan Prince [Mon, 7 Oct 2013 18:09:34 +0000 (14:09 -0400)]
Ignore H803 from Hacking.

H803 checks for a period in commit messages, something the community
clearly rejected as a sensible check: periods in commit messages
should neither be rejected or required.

Change-Id: I754e10ca01b3e6f8c6482e1bcd4c2e2ca8c1cfc9

11 years agoDrop conf_key_mgr warning message!
Dan Prince [Mon, 7 Oct 2013 16:41:28 +0000 (12:41 -0400)]
Drop conf_key_mgr warning message!

By default ConfKeyManager logs tons of WARNING message stating
that it isn't production ready...

Given that it is currently the only Cinder key manager option
which can be used/selected I don't think repeatedly logging
warnings is helpful. Lets just drop the warning message
for now and when a good "production ready" cinder key manager
implementation is implemented perhaps we can re-add a warning to
this class (hopefully making the production ready impl the default).

Change-Id: Id1fdddc20a963f9fa4749ad57f355cd83d0e14e3
Closes-Bug: #1236459

11 years agoVMware: Re-create session for RetrievePropertiesEx
Kartik Bommepally [Fri, 4 Oct 2013 11:05:09 +0000 (04:05 -0700)]
VMware: Re-create session for RetrievePropertiesEx

When RetrievePropertiesEx API is called after session timeout, the driver
does not re-create session automatically.

This is a regression caused when moving from RetrieveProperties to
RetrievePropertiesEx API.

Fixes bug: 1235187

Change-Id: I8a1e2452dfb3029365d59eae7850d1a9363b25f0

11 years agouse cinder utils.get_root_helper
Walter A. Boring IV [Wed, 2 Oct 2013 18:24:25 +0000 (11:24 -0700)]
use cinder utils.get_root_helper

Replaced all of the manual entries of
the root_helper with the cinder
utils.get_root_helper()

Closes-Bug: #1233907

Change-Id: I4c9b4c27ed4b779595a272436d79ec068e7ee537

11 years agoProvide user with more information on quota fail
Ollie Leahy [Fri, 4 Oct 2013 14:56:26 +0000 (14:56 +0000)]
Provide user with more information on quota fail

Provide the user with useful information when a snapshot or volume
create fails because it would cause the user to exceed available quota.
Specifically report the user's current gigabyte usage and quota
allocations.

Closes-Bug: #1235148

Change-Id: Ib4c5dbcbd172c69834c2824791af755380f38e01

11 years agoCleanup and more tests for db.api methods
Sergey Skripnick [Wed, 28 Aug 2013 06:52:53 +0000 (09:52 +0300)]
Cleanup and more tests for db.api methods

New tests for methods:

 backup_*
 quota_*
 reservation_*
 snapshot_*
 transfer_*
 volume_*

Removed unnecessary methods:

 quota_usage_create
 volume_metadata_get_item
 snapshot_metadata_get_item
 volume_type_extra_specs_get_item
 exact_filter

Improved coverage of existing tests.

Improved ModelsObjectComparatorMixin.

blueprint: db-api-tests

Change-Id: Ia2a3845f27a7b4b08fd8a16c6010513d213e642f

11 years agoFix broken solidfire create-snapshot
John Griffith [Thu, 3 Oct 2013 21:54:20 +0000 (15:54 -0600)]
Fix broken solidfire create-snapshot

A previous change to enable secifying size for cloned volumes
created introduced a bug that breaks the ability to create-snapshots
when using the SolidFire driver
(CID: I5628c7fa922780d6b0601e2daa79310a61085edc).

The problem is that we use a shared method in the SF driver for both
create-clone and create-snapshot, the added change only considers the
clone case and does a get ref['size'] but in the case of snapshots
this needs to be ref['volume_size'].

Change-Id: I50603b3ac43f2c3c7e7811ec34de078a268519f7
Closes-Bug: 1234970

11 years agoMerge "Open Icehouse development"
Jenkins [Thu, 3 Oct 2013 18:29:56 +0000 (18:29 +0000)]
Merge "Open Icehouse development"

11 years agoClean CONF out of brick iser
Walter A. Boring IV [Wed, 25 Sep 2013 21:32:32 +0000 (14:32 -0700)]
Clean CONF out of brick iser

This is part 2 of the work needed to
remove CONF from the brick subproject.

This patch removes CONF from the iser
portion of brick

Fixes Bug #1230066

Change-Id: Id165deffdf04fb064c425861dab284de377d2440

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 3 Oct 2013 15:45:30 +0000 (15:45 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Fixes ceph backup import errors"
Jenkins [Thu, 3 Oct 2013 15:37:25 +0000 (15:37 +0000)]
Merge "Fixes ceph backup import errors"

11 years agoOpen Icehouse development
Thierry Carrez [Thu, 3 Oct 2013 09:51:17 +0000 (11:51 +0200)]
Open Icehouse development

This should be accepted/merged once all the RC1 bugfixes are in.

This bumps the target version to 2014.1, effectively opening the master
branch to Icehouse development, ending the feature freeze.

The Havana release branch is cut from the previous commit in master.

Change-Id: Id33ea4faa8497f636999583781f652e3e4ac9c21

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 3 Oct 2013 06:07:57 +0000 (06:07 +0000)]
Imported Translations from Transifex

Change-Id: Ie27ede4711508f7d67c46909d3535e0ca0170337

11 years agoMerge "Add support for querying the quotas usage"
Jenkins [Thu, 3 Oct 2013 04:38:30 +0000 (04:38 +0000)]
Merge "Add support for querying the quotas usage"

11 years agoMerge "VMware ESX: Fixes vol clone & clone from snapshot"
Jenkins [Thu, 3 Oct 2013 04:34:12 +0000 (04:34 +0000)]
Merge "VMware ESX: Fixes vol clone & clone from snapshot"

11 years agoMerge "Remove incorrect class in cinder.conf.sample"
Jenkins [Thu, 3 Oct 2013 04:34:04 +0000 (04:34 +0000)]
Merge "Remove incorrect class in cinder.conf.sample"

11 years agoMerge "Add key manager implementation with static key"
Jenkins [Thu, 3 Oct 2013 04:22:42 +0000 (04:22 +0000)]
Merge "Add key manager implementation with static key"

11 years agoMerge "Remove need for CONF acces in brick iscsi"
Jenkins [Thu, 3 Oct 2013 04:13:39 +0000 (04:13 +0000)]
Merge "Remove need for CONF acces in brick iscsi"

11 years agoMerge "Quotas roll back failure of create volume task"
Jenkins [Thu, 3 Oct 2013 03:56:02 +0000 (03:56 +0000)]
Merge "Quotas roll back failure of create volume task"

11 years agoAdd key manager implementation with static key
Joel Coffman [Tue, 24 Sep 2013 23:10:09 +0000 (19:10 -0400)]
Add key manager implementation with static key

Per feedback received on other patch sets, an example key manager
driver is required to support ephemeral storage encryption and
Cinder volume encryption -- see
* https://blueprints.launchpad.net/nova/+spec/encrypt-cinder-volumes
* https://blueprints.launchpad.net/nova/+spec/encrypt-ephemeral-storage
The ConfKeyManager class reads its key from the project's
configuration file and provides this key for *all* requests. As
such, this key manager is insecure but allows the aforementioned
encryption features to be used without further integration effort.

To clarify the above statements, the configuration-based key
manager uses a single, fixed key. When used to encrypt data (e.g.,
by the Cinder volume encryption feature), the encryption provides
limited protection for the confidentiality of data. For example,
data cannot be read from a lost or stolen disk, and a volume's
contents cannot be reconstructed if an attacker intercepts the iSCSI
traffic between the compute and storage host. If the key is ever
compromised, then any data encrypted with the key can be decrypted.

This commit copies the ConfKeyManager class from Nova as well as
synchronizing changes with the key manager interface in Nova.

Implements blueprint encrypt-cinder-volumes
DocImpact
SecurityImpact

Change-Id: I5cb06386410f46cabc490fa6af23272d1d2cb979

11 years agoRemove need for CONF acces in brick iscsi
John Griffith [Thu, 26 Sep 2013 21:23:01 +0000 (15:23 -0600)]
Remove need for CONF acces in brick iscsi

At some point we'd like brick to be a standalone lib,
and as such we don't want to have a requirement for
CONF files and having duplicate conf entries across
projects.

The better approach would be to let the projects decide
what they want to use, and how they want defaults to be set
and then pass those settings in via __init__ or when calling
the methods that need them.

Partial-Bug: #1230066

Change-Id: Ib108f1abb2948cb896bdad58070daa7a725a205d

11 years agoMerge "Fixes incorrect class path in logging_sample.conf"
Jenkins [Thu, 3 Oct 2013 01:18:11 +0000 (01:18 +0000)]
Merge "Fixes incorrect class path in logging_sample.conf"

11 years agoMerge "Storwize SVC driver hostname can't start with number"
Jenkins [Thu, 3 Oct 2013 01:18:09 +0000 (01:18 +0000)]
Merge "Storwize SVC driver hostname can't start with number"

11 years agoMerge "Improve gpfs config flag help text readability"
Jenkins [Thu, 3 Oct 2013 01:18:06 +0000 (01:18 +0000)]
Merge "Improve gpfs config flag help text readability"

11 years agoMerge "v2 api - return bootable attr value on volume list"
Jenkins [Thu, 3 Oct 2013 00:43:37 +0000 (00:43 +0000)]
Merge "v2 api - return bootable attr value on volume list"

11 years agoMerge "Check for backing lun on iscsi target create"
Jenkins [Thu, 3 Oct 2013 00:33:53 +0000 (00:33 +0000)]
Merge "Check for backing lun on iscsi target create"

11 years agoQuotas roll back failure of create volume task
Abhijeet Malawade [Fri, 27 Sep 2013 12:13:52 +0000 (05:13 -0700)]
Quotas roll back failure of create volume task

Fixes quotas rollback issue if volume creation fails

* Added revert method in QuotaCommitTask to rollback
* volume reservations.

Fixes bug #1230176

Change-Id: I0983ea876983b4294ed0aebb49a065715a185b4e

11 years agoMerge "Changed header from LLC to Foundation based on trademark policies"
Jenkins [Wed, 2 Oct 2013 22:33:50 +0000 (22:33 +0000)]
Merge "Changed header from LLC to Foundation based on trademark policies"

11 years agoMerge "Validate force_host_copy API param for migration"
Jenkins [Wed, 2 Oct 2013 21:47:24 +0000 (21:47 +0000)]
Merge "Validate force_host_copy API param for migration"

11 years agoMerge "Update Babel from Openstack Requirements"
Jenkins [Wed, 2 Oct 2013 21:47:15 +0000 (21:47 +0000)]
Merge "Update Babel from Openstack Requirements"

11 years agoMerge "NetApp fix clone image compatibility issue with ssc"
Jenkins [Wed, 2 Oct 2013 21:46:21 +0000 (21:46 +0000)]
Merge "NetApp fix clone image compatibility issue with ssc"

11 years agoMerge "After commiting quota we should avoid certain reverts"
Jenkins [Wed, 2 Oct 2013 21:45:12 +0000 (21:45 +0000)]
Merge "After commiting quota we should avoid certain reverts"

11 years agoMerge "Remove CONF from brick remotefs"
Jenkins [Wed, 2 Oct 2013 13:57:08 +0000 (13:57 +0000)]
Merge "Remove CONF from brick remotefs"

11 years agoMerge "Pass through args and kwargs in brick connectors"
Jenkins [Wed, 2 Oct 2013 13:55:31 +0000 (13:55 +0000)]
Merge "Pass through args and kwargs in brick connectors"

11 years agoMerge "VMware: Usng RetrvProprtisEx & does multi ESX scan"
Jenkins [Wed, 2 Oct 2013 13:55:00 +0000 (13:55 +0000)]
Merge "VMware: Usng RetrvProprtisEx & does multi ESX scan"

11 years agoMerge "Create volume revert fails for non admin user"
Jenkins [Wed, 2 Oct 2013 13:54:49 +0000 (13:54 +0000)]
Merge "Create volume revert fails for non admin user"

11 years agoMerge "Clean CONF out of brick initiator"
Jenkins [Wed, 2 Oct 2013 13:52:50 +0000 (13:52 +0000)]
Merge "Clean CONF out of brick initiator"

11 years agoMerge "Disable lazy translation"
Jenkins [Wed, 2 Oct 2013 10:59:36 +0000 (10:59 +0000)]
Merge "Disable lazy translation"

11 years agoMerge "usedevelop in tox"
Jenkins [Wed, 2 Oct 2013 10:39:20 +0000 (10:39 +0000)]
Merge "usedevelop in tox"

11 years agoRemove incorrect class in cinder.conf.sample
KIYOHIRO ADACHI [Wed, 2 Oct 2013 08:19:13 +0000 (17:19 +0900)]
Remove incorrect class in cinder.conf.sample

cinder.openstack.common.exception has already been deleted.
It seems to be a leak in 'Change-Id:
I6f46f90bd74cc26fc01667e467e3dab38037eec3'.

Change-Id: Ic2000280f31e354da39a9bbb0d60142b431f58a6
Closes-Bug: #1234002

11 years agoFixes incorrect class path in logging_sample.conf
KIYOHIRO ADACHI [Wed, 2 Oct 2013 05:36:01 +0000 (14:36 +0900)]
Fixes incorrect class path in logging_sample.conf

It seems to be a leak in 'Change-Id:
I95d23aafe19b12d4a427149aa5f7a66394d178c6'.

Change-Id: I4c2777049ec9e301a1f05b3a7b4aa5dd71c033e3
Closes-Bug: #1233985

11 years agoStorwize SVC driver hostname can't start with number
Alan Jiang [Tue, 1 Oct 2013 05:38:03 +0000 (00:38 -0500)]
Storwize SVC driver hostname can't start with number

Storwize family storage does not allow host identifier start with
a numeric number. Otherwise cinder initialize_connection() API will
throw exception due to such invalid host name in the connector. The fix
is to add a '_' symbol as prefix if the host identifier in connector
starts with non-alphabet letters.

Closes-Bug: #1233952
Change-Id: Ia88afc373e2635c10c3f6256331a4fd90f51f4b8

11 years agoAfter commiting quota we should avoid certain reverts
Joshua Harlow [Tue, 1 Oct 2013 22:53:30 +0000 (15:53 -0700)]
After commiting quota we should avoid certain reverts

After we commit the quota successfully we do not want to
set the database volume to destroyed or attempt further
rollback of the quota itself to reflect what the code
previously did.

Closes-Bug: #1230189

Change-Id: I115dc6736b8f2d0d7b2b6f29e9fd1904fd1c6eee

11 years agoRemove CONF from brick remotefs
Chet Burgess [Thu, 26 Sep 2013 04:57:25 +0000 (21:57 -0700)]
Remove CONF from brick remotefs

Move the remotefs CONF options back into their
corresponding volume drivers.

Partial-Bug: #1230066
Change-Id: Ie37a803dc0f895ffd9dc2c7daf8255e6096ccee2

11 years agoPass through args and kwargs in brick connectors
Walter A. Boring IV [Mon, 30 Sep 2013 22:45:28 +0000 (15:45 -0700)]
Pass through args and kwargs in brick connectors

This is a change needed to help remove CONF usage
in the brick/remotefs/RemoteFsClient.
RemoteFsClient can then pull the values from the caller.

Change-Id: Ie1ff2a39b92c4150fec4a3191367797a260b30ec
Partial-Bug: #1230066

11 years agoClean CONF out of brick initiator
Walter A. Boring IV [Mon, 30 Sep 2013 18:07:46 +0000 (11:07 -0700)]
Clean CONF out of brick initiator

This is part 1 of the work needed to
remove CONF from the brick subproject.
This patch removes the CONF usage
completely from the initiator portion of brick.

Change-Id: I62cf72214db9d4296ae4c5b09bd21fb53664c117
Partial-Bug: #1230066

11 years agoUpdate Babel from Openstack Requirements
John Griffith [Tue, 1 Oct 2013 14:23:01 +0000 (08:23 -0600)]
Update Babel from Openstack Requirements

This is the update pushed to the global reqs.

Change-Id: I0d8ea330db3f9d68fee172302543b861cae4e013
Closes-Bug: 1233694

11 years agoDisable lazy translation
Doug Hellmann [Tue, 1 Oct 2013 22:01:59 +0000 (18:01 -0400)]
Disable lazy translation

Late in the Havana cycle bug 1225099 was found in the lazy
translation code, and to be safe it was decided to disable lazy
translation for Havana.  This change does that.

Change-Id: Ia934a7df9386baf6ae8eb9ff48c24386c47ecd23
Partial-bug: 1225099

11 years agoMerge "Fixes backup with multiple volume backend"
Jenkins [Tue, 1 Oct 2013 21:00:49 +0000 (21:00 +0000)]
Merge "Fixes backup with multiple volume backend"

11 years agoMerge "Fix finish_volume_migration() on SQLAlchemy 0.8.x"
Jenkins [Tue, 1 Oct 2013 21:00:14 +0000 (21:00 +0000)]
Merge "Fix finish_volume_migration() on SQLAlchemy 0.8.x"

11 years agoImprove gpfs config flag help text readability
Bill Owen [Mon, 30 Sep 2013 18:59:45 +0000 (11:59 -0700)]
Improve gpfs config flag help text readability

Modify the help text for gpfs configuration flags so that it
reads more clearly.

Closes-Bug: #1233288

Change-Id: Iea41bceb496dfaa1f8625a6e3abb31794838213d

11 years agoCheck for backing lun on iscsi target create
John Griffith [Tue, 1 Oct 2013 18:05:14 +0000 (12:05 -0600)]
Check for backing lun on iscsi target create

Check to verify the backing lun was actually created and not just
the controller lun.  If it was NOT created, attempt to issue
tgtadm --op new to see if we can recover.

If this fails, then we want to actually fail in Cinder rather than
pretending that everything went well, so we'll log the error and raise.

Change-Id: I3cabab0d214c051267638a627664df2b673236e3
Closes-Bug: #1226337