]> review.fuel-infra Code Review - openstack-build/cinder-build.git/log
openstack-build/cinder-build.git
10 years agoUpdate URL for global HACKING document and remove duplicate section
Joe Gordon [Mon, 11 Nov 2013 19:28:18 +0000 (11:28 -0800)]
Update URL for global HACKING document and remove duplicate section

* Related to I579e7c889f3addc2cd40bce0c584bbc70bf435e2

* Remove section on locals since its already in global hacking doc
  (http://git.openstack.org/cgit/openstack-dev/hacking/tree/doc/source/index.rst#n154)

Change-Id: I5acb06dfde6eb7f579d8d52bc31fafbdab8c726d

11 years agoMerge "Examine if GPFS is mounted before writing data."
Jenkins [Sun, 3 Nov 2013 07:28:44 +0000 (07:28 +0000)]
Merge "Examine if GPFS is mounted before writing data."

11 years agoMerge "Fix typo in test_check_ssh_injection_on error test"
Jenkins [Fri, 1 Nov 2013 08:56:36 +0000 (08:56 +0000)]
Merge "Fix typo in test_check_ssh_injection_on error test"

11 years agoMerge "Remove unused db calls to fetch original metadata"
Jenkins [Fri, 1 Nov 2013 05:51:59 +0000 (05:51 +0000)]
Merge "Remove unused db calls to fetch original metadata"

11 years agoMerge "Remove lvm-thin pool_size config option"
Jenkins [Thu, 31 Oct 2013 19:41:10 +0000 (19:41 +0000)]
Merge "Remove lvm-thin pool_size config option"

11 years agoFix typo in test_check_ssh_injection_on error test
Jay S. Bryant [Thu, 31 Oct 2013 19:05:16 +0000 (14:05 -0500)]
Fix typo in test_check_ssh_injection_on error test

The test case currently has shh instead of ssh.
This commit fixes the typo.

Change-Id: I1e6f926b7d22f48ae56166077659ff3e3d9a1899

11 years agoMerge "Sync log from oslo"
Jenkins [Thu, 31 Oct 2013 19:02:29 +0000 (19:02 +0000)]
Merge "Sync log from oslo"

11 years agoMerge "Add tests for LVM -cow clearing"
Jenkins [Thu, 31 Oct 2013 19:02:10 +0000 (19:02 +0000)]
Merge "Add tests for LVM -cow clearing"

11 years agoMerge "replace u\2013 char with dash"
Jenkins [Thu, 31 Oct 2013 19:01:51 +0000 (19:01 +0000)]
Merge "replace u\2013 char with dash"

11 years agoRemove lvm-thin pool_size config option
John Griffith [Thu, 31 Oct 2013 16:14:57 +0000 (10:14 -0600)]
Remove lvm-thin pool_size config option

The pool_size config option when using thin LVM
is never actually checked/honored.  It's also unlikely
that users will want to do something other than use the
entire VG for their thin pool.

Rather than have the unused option going forward let's
remove it from the config and just go with the default
behavior of utilizing the entire Cinder VG.

For folks that would like to only use a portion of the
VG for some reason, they can do an lvcreate pool on their
own (just like we have them do for the VG itself) and get
the same flexibility that way.

This is done simply by:
lvcreate -T -L ${size} ${vg-name}/${vg_name}-pool

DocImpact

Change-Id: I3ef2cde433b8dd775b1873a0d6df165dd1945d8c

11 years agoExamine if GPFS is mounted before writing data.
Qin Zhao [Wed, 30 Oct 2013 16:37:43 +0000 (00:37 +0800)]
Examine if GPFS is mounted before writing data.

If GPFS is not mounted, throw an exception and log the error message. That will
prevent create_volume(), copy_image_to_volume() or _clone_image() to create
file on local disk, which can not be removed by the driver code itself.

Change-Id: If5d4c7a88e82362d2a87068202926b1ca82d9dff
Closes-Bug: #1242511

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

Change-Id: I51851182eaf19bd096d938e8e04fd56433b7280a

11 years agoRemove unused db calls to fetch original metadata
Aswad Rangnekar [Wed, 30 Oct 2013 12:45:35 +0000 (05:45 -0700)]
Remove unused db calls to fetch original metadata

Remove unnecessary db calls made to fetch
original metadata when delete flag is set
to True.

Closes-Bug: #1246291

Change-Id: If7483b8b21f71efa5e7c211b031170bc03eb6b9b

11 years agoreplace u\2013 char with dash
Sean Roberts [Thu, 31 Oct 2013 03:31:51 +0000 (20:31 -0700)]
replace u\2013 char with dash

unicode char causes problems with maven build.

backport:none

closes-bug: #1246569

Change-Id: I3aa5c2debaed03acd2c2fb8d4e7c30738d35f4f3

11 years agoSync log from oslo
Chang Bo Guo [Thu, 31 Oct 2013 02:21:22 +0000 (19:21 -0700)]
Sync log from oslo

5fef5a8105 allow keeping of existing loggers with fileConfig
fb8075a19d Add amqp=WARN,qpid=WARN to default_log_levels
4654a5d247 Don't override default value for eventlet.wsgi.server logging
41ddd7a975 _get_log_file_path explictly return, when logfile/logdire unset
e12e6b45f8 Make openstack.common.log Python 3 compatible
572cfecb4d Make Messages unicode before hitting logging
3243cdfbe9 python3: handle module moves in log

DocImpact

Change-Id: I2e565fd65a00f1c6dea830a09487de9f03cb5279

11 years agoMerge "NetApp unit test fail fix for http_proxy"
Jenkins [Thu, 31 Oct 2013 01:19:35 +0000 (01:19 +0000)]
Merge "NetApp unit test fail fix for http_proxy"

11 years agoMerge "Allow spaces in quoted SSH command arguments"
Jenkins [Thu, 31 Oct 2013 01:19:15 +0000 (01:19 +0000)]
Merge "Allow spaces in quoted SSH command arguments"

11 years agoMerge "remove rundundant lockfile requirement"
Jenkins [Wed, 30 Oct 2013 23:26:09 +0000 (23:26 +0000)]
Merge "remove rundundant lockfile requirement"

11 years agoMerge "Use pipe between ceph backup diff export/import"
Jenkins [Wed, 30 Oct 2013 16:24:14 +0000 (16:24 +0000)]
Merge "Use pipe between ceph backup diff export/import"

11 years agoMerge "Fixes typo in method name _notify_voloume_type_error"
Jenkins [Wed, 30 Oct 2013 15:57:19 +0000 (15:57 +0000)]
Merge "Fixes typo in method name _notify_voloume_type_error"

11 years agoAdd tests for LVM -cow clearing
Eric Harney [Tue, 29 Oct 2013 20:39:45 +0000 (16:39 -0400)]
Add tests for LVM -cow clearing

Ensure that volume_clear for Thick LVM snapshot deletion
references the -cow device, and that it uses the LV instead
of the -cow device for ThinLVM.

These tests were written for a change to stable/grizzly --
but are applicable for general use here as well.

Related-Bug: #1245529
Change-Id: I380ad7832d558d9aa73a701cbf3acc35229e70ab

11 years agoclean up numeric expressions in test
Chang Bo Guo [Tue, 29 Oct 2013 09:03:50 +0000 (02:03 -0700)]
clean up numeric expressions in test

Replace numeric expressions with constants in tests
to make code more readable.

Change-Id: I42469cdbe3cafd36f8d9855c8284f885ffa7f465

11 years agoFixes typo in method name _notify_voloume_type_error
Aswad Rangnekar [Wed, 30 Oct 2013 09:37:47 +0000 (02:37 -0700)]
Fixes typo in method name _notify_voloume_type_error

Closes-Bug: #1246228

Change-Id: I7b408f2c4085ba5af5fc4b539000e5675bdc5a76

11 years agoAllow spaces in quoted SSH command arguments
Luis A. Garcia [Tue, 29 Oct 2013 18:44:12 +0000 (18:44 +0000)]
Allow spaces in quoted SSH command arguments

The check_ssh_injection() method was rejecting arguments with spaces
even when they were quoted, this was causing problems with some volume
driver commands such as commands for a storage pool with spaces in the
name.

Closes-Bug: #1244415
Change-Id: Ie4b809e1b39fdb752cf634e6d3c0a3924d8ac52b

11 years agoUse pipe between ceph backup diff export/import
Edward Hope-Morley [Fri, 25 Oct 2013 17:57:55 +0000 (10:57 -0700)]
Use pipe between ceph backup diff export/import

We now use a piped transfer between the rbd export-diff
and import-diff for incremental backups/restores as
opposed to holding the entire diff in memory.

Change-Id: I33476d9b3934781413af5cd2867a11d825a5d78e
Fixes: bug 1244464
11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 29 Oct 2013 06:13:38 +0000 (06:13 +0000)]
Imported Translations from Transifex

Change-Id: Icd1f44454695217295422cfc18007296ec77521f

11 years agoMerge "Apply six for metaclass"
Jenkins [Tue, 29 Oct 2013 03:36:56 +0000 (03:36 +0000)]
Merge "Apply six for metaclass"

11 years agoMerge "Add cinder.db.migration.db_initial_version()"
Jenkins [Tue, 29 Oct 2013 03:36:54 +0000 (03:36 +0000)]
Merge "Add cinder.db.migration.db_initial_version()"

11 years agoAdd missing space to num_iser_scan_tries text
Eric Harney [Mon, 28 Oct 2013 20:50:48 +0000 (16:50 -0400)]
Add missing space to num_iser_scan_tries text

Should read "...rescan iSER target to" rather than
"targetto".

Change-Id: I785f67f3a029f06c0184762ddf795202ae198397

11 years agoAdd cinder.db.migration.db_initial_version()
Dan Prince [Mon, 28 Oct 2013 14:11:24 +0000 (10:11 -0400)]
Add cinder.db.migration.db_initial_version()

Updates Cinder to use a new function called db_initial_version()
instead of the INIT_VERSION constant. This allows us to
move the top level INIT_VERSION constant into the
sqlalchemy migration.py implementation where it belongs.

Change-Id: I10dacdebb50d3121e3bfd094e40138807233aa64

11 years agoremove rundundant lockfile requirement
Pádraig Brady [Mon, 28 Oct 2013 11:17:42 +0000 (11:17 +0000)]
remove rundundant lockfile requirement

This requirement was removed from nova even before
the cinder split.

Change-Id: Ie85eeee9aef81a80d1279f7d21566ec33e20159f

11 years agoMerge "Nexenta iSCSI driver: Refactor create_cloned_volume"
Jenkins [Sun, 27 Oct 2013 12:22:33 +0000 (12:22 +0000)]
Merge "Nexenta iSCSI driver: Refactor create_cloned_volume"

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

Change-Id: Ie2ea233527914abbbd069c56cc550fc835f1abb8

11 years agoMerge "Revert "Brick connector fix for NFS drivers""
Jenkins [Fri, 25 Oct 2013 18:57:10 +0000 (18:57 +0000)]
Merge "Revert "Brick connector fix for NFS drivers""

11 years agoMerge "NetApp fix for 7mode iscsi volume stats"
Jenkins [Fri, 25 Oct 2013 17:09:24 +0000 (17:09 +0000)]
Merge "NetApp fix for 7mode iscsi volume stats"

11 years agoMerge "NetApp fix ssc volume filtering inconsistency"
Jenkins [Fri, 25 Oct 2013 17:08:10 +0000 (17:08 +0000)]
Merge "NetApp fix ssc volume filtering inconsistency"

11 years agoRevert "Brick connector fix for NFS drivers"
John Griffith [Thu, 24 Oct 2013 23:35:16 +0000 (23:35 +0000)]
Revert "Brick connector fix for NFS drivers"

This reverts commit b6b9df2940ac07f715f759f4c315b2cf088c2320

Passing in driver=self in the base driver connector builder breaks all of the other drivers and isn't the *correct* driver to be passing in.

Simply removing this fixes the functionality, however breaks your tests and I'm not sure of the impact on what you were attempting so I'm reverting.

Change-Id: I0af85a2bc491cc0e23aa6af1f67c2dfed1c7081f

11 years agoMerge "Update my mailmap"
Jenkins [Fri, 25 Oct 2013 15:50:24 +0000 (15:50 +0000)]
Merge "Update my mailmap"

11 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Fri, 25 Oct 2013 15:44:38 +0000 (15:44 +0000)]
Merge "Updated from global requirements"

11 years agoMerge "GlusterFS: set correct filename when cloning volume"
Jenkins [Fri, 25 Oct 2013 15:40:41 +0000 (15:40 +0000)]
Merge "GlusterFS: set correct filename when cloning volume"

11 years agoUpdate my mailmap
Zhenguo Niu [Fri, 25 Oct 2013 08:26:26 +0000 (16:26 +0800)]
Update my mailmap

Using new email address.

Change-Id: I6dc5e7d96a166b890e6e1878531df1ea160d4b9d

11 years agoGlusterFS: set correct filename when cloning volume
Eric Harney [Thu, 24 Oct 2013 20:18:54 +0000 (16:18 -0400)]
GlusterFS: set correct filename when cloning volume

When cloning a volume, the volume[name] field was populated
with incorrect data, resulting in an unexpected filename containing
the volume data.  This results in failures of later operations on
that cloned volume.

Change-Id: I067ed44cebdc8e91e9ded326953fd0c99d003f05
Closes-Bug: #1244238

11 years agoMerge "Downgrade target create failure mesg to warning"
Jenkins [Thu, 24 Oct 2013 20:03:49 +0000 (20:03 +0000)]
Merge "Downgrade target create failure mesg to warning"

11 years agoMerge "Handle NotFound exceptions in API"
Jenkins [Thu, 24 Oct 2013 20:03:41 +0000 (20:03 +0000)]
Merge "Handle NotFound exceptions in API"

11 years agoHandle NotFound exceptions in API
John Griffith [Wed, 23 Oct 2013 20:08:30 +0000 (20:08 +0000)]
Handle NotFound exceptions in API

There were a number of calls in the API that
weren't catching NotFound exceptions.  The result is
unhandled exception traces and errors in the logs on good
runs in tempest.

Basicly any negative test that requests a non-existent element
would result in an unhandled exception.  This patch adds try/except
around the volume_api.getxxx calls in cinder/api/... methods to
clean this up.

Closes-bug: #1243485

Change-Id: I902acc7f4fdbc20fdb1a68697679417694c5533e

11 years agoUnit test fails in pbuilder environment
Michael Kerrin [Thu, 24 Oct 2013 15:17:47 +0000 (15:17 +0000)]
Unit test fails in pbuilder environment

When running tests inside a pbuilder environment we don't
have /dev/disk/by-path directory and so the test_host_driver
test fails. Fix test by overriding the isdir method to
return True and pretend that the directory is there.

Change-Id: Ifd39d796b7f250b1ec45227a4262ebb33d5656bf

11 years agoUpdated from global requirements
OpenStack Jenkins [Thu, 24 Oct 2013 13:15:31 +0000 (13:15 +0000)]
Updated from global requirements

Change-Id: I24d49ff79f5ed7364a47278179dcadbaf519aed1

11 years agoMerge "Rename "rtstool" to "cinder-rtstool", add dep"
Jenkins [Thu, 24 Oct 2013 08:15:34 +0000 (08:15 +0000)]
Merge "Rename "rtstool" to "cinder-rtstool", add dep"

11 years agoMerge "Brick connector fix for NFS drivers"
Jenkins [Thu, 24 Oct 2013 07:00:19 +0000 (07:00 +0000)]
Merge "Brick connector fix for NFS drivers"

11 years agoCheck if dir exists before calling listdir
John Griffith [Thu, 24 Oct 2013 00:04:51 +0000 (18:04 -0600)]
Check if dir exists before calling listdir

Changes along the way to how we clean up and detach after
copying an image to a volume exposed a problem in the cleanup
of the brick/initiator routines.

The clean up in the initiator detach was doing a blind listdir
of /dev/disk/by-path, however due to detach and cleanup being
called upon completion of the image download to the volume if
there are no other devices mapped in this directory the directory
is removed.

The result was that even though the create and copy of the image
was succesful, the HostDriver code called os.lisdir on a directory
that doesn't exist any longer and raises an unhandled exception that
cause the taskflow mechanism to mark the volume as failed.

Change-Id: I488755c1a49a77f42efbb58a7a4eb6f4f084df07
Closes-bug: #1243980

11 years agoMerge "VMware: Registering vmdk opts in global space"
Jenkins [Wed, 23 Oct 2013 22:33:01 +0000 (22:33 +0000)]
Merge "VMware: Registering vmdk opts in global space"

11 years agoRename "rtstool" to "cinder-rtstool", add dep
Eric Harney [Mon, 21 Oct 2013 18:55:43 +0000 (14:55 -0400)]
Rename "rtstool" to "cinder-rtstool", add dep

With rtstool merged into Cinder, it should use the
"cinder-" prefix.

Add to setup.cfg scripts section for installation.

Additionally, add the rtslib-fb>=2.1.39 dependency
to Cinder's runtime requirements.

Implements blueprint: lio-rtslib

Change-Id: I715db09cb86145c6769c345f59ecda4d18b5e659

11 years agoDowngrade target create failure mesg to warning
John Griffith [Wed, 23 Oct 2013 20:00:35 +0000 (20:00 +0000)]
Downgrade target create failure mesg to warning

Since this will occur more often than we would like and
almost always recovers, change the log level to warning
instead of error.

This is to comply with the desire of the QA team to eradicate
error messages from succesful tempest runs.

Change-Id: If1a841bbeb9a36ff7e103a0e9aff67fda66a7f3b
Closes-Bug: #1243840

11 years agoNexenta iSCSI driver: Refactor create_cloned_volume
Victor Rodionov [Fri, 6 Sep 2013 23:07:11 +0000 (03:07 +0400)]
Nexenta iSCSI driver: Refactor create_cloned_volume

Optimize volume cloning of Nexenta iSCSI driver, current implementation
with zfs send recv may take long time, because it requires data
transferring.

Change-Id: Iaa2eea608e09d0a4ac155b74f964b153de561f4c

11 years agoMerge "Add openstack/common/crypto from OSLO"
Jenkins [Wed, 23 Oct 2013 06:45:02 +0000 (06:45 +0000)]
Merge "Add openstack/common/crypto from OSLO"

11 years agoMerge "Revert "remove cinder-rtstool because of rtslib dep""
Jenkins [Wed, 23 Oct 2013 06:08:02 +0000 (06:08 +0000)]
Merge "Revert "remove cinder-rtstool because of rtslib dep""

11 years agoMerge "Remove duplication of brick.iscsi in brick.iser"
Jenkins [Wed, 23 Oct 2013 06:06:16 +0000 (06:06 +0000)]
Merge "Remove duplication of brick.iscsi in brick.iser"

11 years agoMerge "Nexenta drivers ignore "does not exist" exception"
Jenkins [Wed, 23 Oct 2013 06:06:07 +0000 (06:06 +0000)]
Merge "Nexenta drivers ignore "does not exist" exception"

11 years agoVMware: Registering vmdk opts in global space
Kartik Bommepally [Mon, 21 Oct 2013 09:18:22 +0000 (02:18 -0700)]
VMware: Registering vmdk opts in global space

Registering vmdk_opts in the patch. This will make sure the documentation
tool will auto generates a table for the driver config params.

Closes-Bug: #1242547

Change-Id: Ic12126ad5283e37113e9f75e190fa92a9277ca7f

11 years agoMerge "NetApp fix mirrored stats"
Jenkins [Wed, 23 Oct 2013 05:11:16 +0000 (05:11 +0000)]
Merge "NetApp fix mirrored stats"

11 years agoMerge "NetApp fix for compression and dedup stats"
Jenkins [Wed, 23 Oct 2013 01:36:28 +0000 (01:36 +0000)]
Merge "NetApp fix for compression and dedup stats"

11 years agoNexenta drivers ignore "does not exist" exception
Victor Rodionov [Wed, 16 Oct 2013 18:00:16 +0000 (11:00 -0700)]
Nexenta drivers ignore "does not exist" exception

Ignore "does not exist" exception in NFS and iSCSI driver,
delete_volume and delete_snapshot methods.
This exceptions means that the volume or the snapshot not exists in the
backend, so we can avoid "delete" errors, when the resource was already
deleted.

Closes-Bug: 1240650
Change-Id: I3b2684097dcb95ba50a67c94a353dc3f17374777

11 years agoMerge "Let GPFS driver to rename snapshot with root permission"
Jenkins [Tue, 22 Oct 2013 20:47:44 +0000 (20:47 +0000)]
Merge "Let GPFS driver to rename snapshot with root permission"

11 years agoMerge "Drop auth_token configs for api-paste.ini."
Jenkins [Tue, 22 Oct 2013 20:44:56 +0000 (20:44 +0000)]
Merge "Drop auth_token configs for api-paste.ini."

11 years agoMerge "Fix volume transfer href issue"
Jenkins [Tue, 22 Oct 2013 20:35:27 +0000 (20:35 +0000)]
Merge "Fix volume transfer href issue"

11 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Tue, 22 Oct 2013 17:25:46 +0000 (17:25 +0000)]
Merge "Updated from global requirements"

11 years agoAdd openstack/common/crypto from OSLO
Elena Ezhova [Wed, 16 Oct 2013 11:55:21 +0000 (15:55 +0400)]
Add openstack/common/crypto from OSLO

Add cinder/openstack/common/crypto/__init__.py and
cinder/openstack/common/crypto/utils.py.

They are needed in cinder/openstack/common/rpc/securemessage,
which is updated in the following commits.

Oslo version: 4987d09a28c986bdca0921a1d0f062ac9328904f

Change-Id: I15e7ce3b84831fd247ea155a3b15829348087830

11 years agoMerge "Provide gettext _ in missing locations"
Jenkins [Tue, 22 Oct 2013 12:03:53 +0000 (12:03 +0000)]
Merge "Provide gettext _ in missing locations"

11 years agoFix volume transfer href issue
liudong [Tue, 22 Oct 2013 10:37:50 +0000 (18:37 +0800)]
Fix volume transfer href issue

The volume transfer collection in url defined as "os-volume-tranfer",
but I got another define "tranfers" in href url. They are different.
So it should be modify.

Change-Id: I69a43012f2bb70ce5fc7b0331d2759527a261170
closes-bug: #1242980

11 years agoRemove duplication of brick.iscsi in brick.iser
Ann Kamyshnikova [Tue, 3 Sep 2013 13:44:50 +0000 (17:44 +0400)]
Remove duplication of brick.iscsi in brick.iser

TargetAdmin and TgtAdm in iser is mostly a copy of TargetAdmin and
TgtAdm in iscsi.

Change-Id: I8d89a35c478485370b41f4dfd376de07b9fc9314

11 years agoMerge "Add extend_volume for Huawei drivers"
Jenkins [Tue, 22 Oct 2013 04:49:55 +0000 (04:49 +0000)]
Merge "Add extend_volume for Huawei drivers"

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

11 years agoMerge "Uses oslo.imageutils"
Jenkins [Tue, 22 Oct 2013 03:01:14 +0000 (03:01 +0000)]
Merge "Uses oslo.imageutils"

11 years agoMerge "Add auth_token settings to cinder.conf.sample."
Jenkins [Tue, 22 Oct 2013 02:48:44 +0000 (02:48 +0000)]
Merge "Add auth_token settings to cinder.conf.sample."

11 years agoDrop auth_token configs for api-paste.ini.
Dan Prince [Sun, 20 Oct 2013 15:47:16 +0000 (11:47 -0400)]
Drop auth_token configs for api-paste.ini.

We now prefer to use cinder.conf to configure keystoneclients
auth_token configs.

Also, Devstack has now been update to allow this:

https://review.openstack.org/#/c/52259/

Related-Bug #1240753

Change-Id: I2a4b300af37eddf5010b97ca796f0552941642a8

11 years agoNetApp unit test fail fix for http_proxy
Navneet Singh [Mon, 21 Oct 2013 20:11:11 +0000 (01:41 +0530)]
NetApp unit test fail fix for http_proxy

The environment having http_proxy settings caused
the unit tests to fail with 404 error. This fix
handles both situations with proxy or without
proxy settings.

Change-Id: I791a45adff654305db9f1fb6f039e91b11ba88d8
Closes-Bug:#1223145

11 years agoRevert "remove cinder-rtstool because of rtslib dep"
Eric Harney [Thu, 10 Oct 2013 20:13:44 +0000 (16:13 -0400)]
Revert "remove cinder-rtstool because of rtslib dep"

This reverts commit b66c3361be2095186e19b0d44e49a8b2c48f7235.

Dependencies of this code (rtslib-fb) are now Apache-licensed,
which resolves the previous issue with this code being in-tree.

This patch is a direct revert, other patches will follow to
line up changes that have occurred between b66c336 and now.

Conflicts:
setup.py

Blueprint: lio-rtslib

Change-Id: I14786bddf419d98ff7c468b185462f5387dbbba1

11 years agoMerge "Update openstack/common/notifier"
Jenkins [Mon, 21 Oct 2013 16:42:42 +0000 (16:42 +0000)]
Merge "Update openstack/common/notifier"

11 years agoMerge "Fix generate conf script can't handle multistropt"
Jenkins [Mon, 21 Oct 2013 16:12:24 +0000 (16:12 +0000)]
Merge "Fix generate conf script can't handle multistropt"

11 years agoLet GPFS driver to rename snapshot with root permission
chaochin [Mon, 21 Oct 2013 10:36:32 +0000 (05:36 -0500)]
Let GPFS driver to rename snapshot with root permission

Deleting GPFS volume snapshot operation fails, because cinder
volume is not running with root permission.

Change-Id: Id00357030da171fddbc6abf82603ceabe4db73ff
Closes-Bug: #1242549

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 21 Oct 2013 06:14:00 +0000 (06:14 +0000)]
Imported Translations from Transifex

Change-Id: Idf752d935353317e59893a3885d32545130968a4

11 years agoNetApp fix for 7mode iscsi volume stats
Navneet Singh [Sun, 20 Oct 2013 22:34:32 +0000 (04:04 +0530)]
NetApp fix for 7mode iscsi volume stats

This fixes the bug for reporting correct
capacity information in case of 7mode
iscsi drivers.

Change-Id: Ie41009eca866830173809211d58470025be847e3
Closes-Bug: #1238967

11 years agoBrick connector fix for NFS drivers
Navneet Singh [Sun, 20 Oct 2013 13:00:36 +0000 (18:30 +0530)]
Brick connector fix for NFS drivers

This change fixes the error that comes
while getting brick connector and attaching volumes
in case of NFS drivers in cinder. The attribute for
mount point base was not passed to attach_volume method
as the connector initialization logic is common for all
types of protocols. It is fixed by populating
the required parameter in the RemoteFsConnector
for NFS drivers.

Change-Id: I8601326b318f6f8c53a03610f1b4f2bfd14070ff
Closes-Bug: #1238085

11 years agoNetApp fix ssc volume filtering inconsistency
Navneet Singh [Sun, 20 Oct 2013 00:55:55 +0000 (06:25 +0530)]
NetApp fix ssc volume filtering inconsistency

This fixes the situation when the actual netapp
volume data structure becomes inconsistent
because of operating on the actual object
than the copy of it. It also introduces some checks
before calculating volume stats.

Change-Id: I626f9ca9aa8c7cc41ba4aa6058f14cc040f7301f
Closes-Bug:#1243081

11 years agoUpdated from global requirements
OpenStack Jenkins [Sat, 19 Oct 2013 23:58:37 +0000 (23:58 +0000)]
Updated from global requirements

Change-Id: Ic96db4b4b462badc2fcbee62b40ebf3997ed6adf

11 years agoNetApp fix mirrored stats
Navneet Singh [Sat, 19 Oct 2013 18:04:15 +0000 (23:34 +0530)]
NetApp fix mirrored stats

This fixes the incorrect reporting of mirrorred
statistics for NetApp iscsi and nfs backend.
The uninitialized and broken snapmirror is
not reported and only snapmirrored state
is reported back.

Closes-Bug:#1242808

Change-Id: I4b9f788e1f99b78d12db23bd92b6a277d5f64cb3

11 years agoNetApp fix for compression and dedup stats
Navneet Singh [Sat, 19 Oct 2013 13:21:01 +0000 (18:51 +0530)]
NetApp fix for compression and dedup stats

This change fixes the incorrect stats reported
for compression and deduplication by NetApp
iscsi and nfs backend.

Change-Id: I3e97d953b3ea2231c3eb1f950b0ca6705b3b2286
Closes-Bug:#1236839

11 years agoFix generate conf script can't handle multistropt
Xingchao Yu [Fri, 18 Oct 2013 05:50:18 +0000 (13:50 +0800)]
Fix generate conf script can't handle multistropt

In case MultiStrOpt option's value is empty list, current extract_opts.py
logic will ignore it. This patch aims to update func _print_opt:

add the multistropt's option_name in conf even its value is empty list.

This bug also affects https://bugs.launchpad.net/cinder/+bug/1240783

Closes-bug: #1241348

Change-Id: Ica1da0cd20c97a587964cb0059836d609a440145

11 years agoAdd auth_token settings to cinder.conf.sample.
Dan Prince [Fri, 18 Oct 2013 13:23:38 +0000 (09:23 -0400)]
Add auth_token settings to cinder.conf.sample.

Updates our example config file so that it includes configuration
settings for the auth_token middleware.

A step towards using cinder.conf instead of the api-paste.ini config file
for authtoken configuration.

Once https://review.openstack.org/#/c/52259/ lands I'll push another
review which removes the settings from api-paste.ini (which takes priority).

Related-Bug #1240753

Change-Id: I6636d33ee522757145ac97fc354324a8b9379700

11 years agoAdd extend_volume for Huawei drivers
zhangchao010 [Fri, 18 Oct 2013 08:32:56 +0000 (16:32 +0800)]
Add extend_volume for Huawei drivers

This patch adds extend_volume function for Huawei drivers.

Huawei T driver needs to create a slave LUN for the extended LUN.
And accordingly it needs to delete all these slave LUNs before deleting
the extended LUN.

HVS driver just sends a rest command to finish extending volume.

Change-Id: Iae17dba8c4d88ec09eb52b4a14bd17bc5a2c1ccc

11 years agoUpdate openstack/common/notifier
Elena Ezhova [Thu, 17 Oct 2013 09:04:20 +0000 (13:04 +0400)]
Update openstack/common/notifier

Oslo version: 5e765b2546dab9d04e4641d92296bfa3d3b17ebf

Change-Id: I679a0f3a953cbe1904c3fd32bf33b5a656c2a938

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

Change-Id: I48307cde63b774a611c2675a1e9e67cbd518d17c

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 17 Oct 2013 03:43:31 +0000 (03:43 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Cinder extension to add used resources in absolute limits"
Jenkins [Thu, 17 Oct 2013 03:39:55 +0000 (03:39 +0000)]
Merge "Cinder extension to add used resources in absolute limits"

11 years agoApply six for metaclass
fujioka yuuichi [Thu, 17 Oct 2013 00:53:30 +0000 (09:53 +0900)]
Apply six for metaclass

__metaclass__ cannot be used in python3.
six be used in general for python 3 compatibility.

Change-Id: I1d21c82163a1c00bbf4fbf3c9dd513f1c0591b00
Closes-Bug: #1236648

11 years agoMerge "Storwize: Fix iogrp availability check"
Jenkins [Wed, 16 Oct 2013 22:42:31 +0000 (22:42 +0000)]
Merge "Storwize: Fix iogrp availability check"

11 years agoMerge "Nexenta NFS driver: caching for appliance volroot"
Jenkins [Wed, 16 Oct 2013 22:42:23 +0000 (22:42 +0000)]
Merge "Nexenta NFS driver: caching for appliance volroot"

11 years agoProvide gettext _ in missing locations
John Griffith [Wed, 16 Oct 2013 02:51:07 +0000 (20:51 -0600)]
Provide gettext _ in missing locations

A while back a change was merged that moved
our shortcut for gettext out of __init__
(change here: If4125d6bcbde63df95de129ac5c83b4a6d6f130a)

This worked out fine for the most part but broke the sphinx doc
builder for a number of files.  This patch just adds the proper
import to each of these files to get the builder working correctly
again.

Change-Id: Ifed20d309566be456c9519294714ccb45de76e00
Closes-Bug: #1209406

11 years agoNexenta NFS driver: caching for appliance volroot
Victor Rodionov [Thu, 10 Oct 2013 20:21:44 +0000 (00:21 +0400)]
Nexenta NFS driver: caching for appliance volroot

Added caching for NexentaStor appliance 'volroot' value.

Change-Id: I3803981cc8c9b6c47dc9fccc6b2414e21d9d6285

11 years agoMerge "Fix indentation errors in drivers"
Jenkins [Wed, 16 Oct 2013 16:36:40 +0000 (16:36 +0000)]
Merge "Fix indentation errors in drivers"