]> review.fuel-infra Code Review - openstack-build/cinder-build.git/log
openstack-build/cinder-build.git
11 years agoFix and enable gating on H401
Dirk Mueller [Tue, 25 Jun 2013 14:24:08 +0000 (16:24 +0200)]
Fix and enable gating on H401

H401  docstring should not start with a space

Change-Id: Iaf63af75b0534cae1bac3c931ef5f51f1644aec9

11 years agoMerge "Add support for swift user/key authentication"
Jenkins [Tue, 25 Jun 2013 05:46:28 +0000 (05:46 +0000)]
Merge "Add support for swift user/key authentication"

11 years agoMerge "Remove usage of locals() for formatting from cinder.tests.*"
Jenkins [Mon, 24 Jun 2013 22:26:11 +0000 (22:26 +0000)]
Merge "Remove usage of locals() for formatting from cinder.tests.*"

11 years agoMerge "Add the project name into CinderKeystoneContext."
Jenkins [Mon, 24 Jun 2013 08:03:39 +0000 (08:03 +0000)]
Merge "Add the project name into CinderKeystoneContext."

11 years agoRemove usage of locals() for formatting from cinder.tests.*
Haomai Wang [Mon, 24 Jun 2013 06:03:31 +0000 (14:03 +0800)]
Remove usage of locals() for formatting from cinder.tests.*

Using of locals() for formatting string is a nasty thing because:
1) It is not so clear as using explicit dicts
2) It could produce hidden errors during refactoring
3) Changing name of variable causes change in message
4) Creating a lot of unused variables

Fix bug 1171936

Change-Id: I67aa5bff650b55484ca76adf5be8555f72a4c426

11 years agoMerge "Adds create_from_volume test cases"
Jenkins [Sun, 23 Jun 2013 11:00:35 +0000 (11:00 +0000)]
Merge "Adds create_from_volume test cases"

11 years agoMerge "NetApp:iSCSI drivers reserved percent need to change to 0."
Jenkins [Sun, 23 Jun 2013 10:07:42 +0000 (10:07 +0000)]
Merge "NetApp:iSCSI drivers reserved percent need to change to 0."

11 years agoMerge "Use list comprehensions when possible"
Jenkins [Sun, 23 Jun 2013 09:08:48 +0000 (09:08 +0000)]
Merge "Use list comprehensions when possible"

11 years agoAdds create_from_volume test cases
xiaoxi_chen [Thu, 20 Jun 2013 16:56:38 +0000 (00:56 +0800)]
Adds create_from_volume test cases

  For tests.test_volumes,
  added 3 test cases:
     create_from_volume
     create_from_volume_with_glance_metadata
     create_from_volume_failed_on_cloning
  refactored an internal api:
     _create_volume_from_image

  The reason not to test a non-exist volume as source_vol is
  the uplayer(volume api) has already checked and ensured the
  source_vol exists

Change-Id: I9c345bc29cae31f1a22236a4849f13d7289ea49e

11 years agoUse list comprehensions when possible
Seif Lotfy [Fri, 21 Jun 2013 13:22:47 +0000 (13:22 +0000)]
Use list comprehensions when possible

Replace some for loops with list comprehensions for compacting

Change-Id: Ia80a013735c595d7c4d40172b34beb18b4383ee0

11 years agoNetApp:iSCSI drivers reserved percent need to change to 0.
Navneet Singh [Fri, 21 Jun 2013 13:16:36 +0000 (18:46 +0530)]
NetApp:iSCSI drivers reserved percent need to change to 0.

The iscsi drivers reserved percent is 100 as of now. This needs
to be changed to 0 for default values. It needs to be corrected
so that filter scheduler does not discard netapp backend.

bug 1182015

Change-Id: Id80584e5d478c83de97735706994206e024f8bf6

11 years agoAdd support for swift user/key authentication
Marc Koderer [Thu, 20 Jun 2013 15:20:30 +0000 (17:20 +0200)]
Add support for swift user/key authentication

By default the swift backup service uses keystone authentication to
communicate with the swift endpoint. This patch adds three optional
parameters to allow username/key authentication

Change-Id: I54ad7d91785ade5375f317aceb80b3374b59f5fe

11 years agoRefactor the backup method of SwiftBackupService
Seif Lotfy [Fri, 21 Jun 2013 09:28:27 +0000 (09:28 +0000)]
Refactor the backup method of SwiftBackupService

Export functionalities of backup to 3 new methods:
prepare_backup backup_chunk and finalize_backup. The original
backup function calls those functions. This allows other
drivers to combine them in a different logic.
e.g for the RBDDriver

Change-Id: I4f335bfcd03cd1da52a9e5c5c689d97581614af6

11 years agoMerge "NetApp unified driver implementation."
Jenkins [Fri, 21 Jun 2013 01:42:50 +0000 (01:42 +0000)]
Merge "NetApp unified driver implementation."

11 years agoMerge "cinder.backup: Replace 'locals()' with explicit values"
Jenkins [Fri, 21 Jun 2013 00:45:13 +0000 (00:45 +0000)]
Merge "cinder.backup: Replace 'locals()' with explicit values"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 20 Jun 2013 18:11:00 +0000 (18:11 +0000)]
Imported Translations from Transifex

Change-Id: I188f3cd9a415361fa07289977d35406e8f9786f3

11 years agoNetApp unified driver implementation.
Navneet Singh [Fri, 17 May 2013 11:19:50 +0000 (04:19 -0700)]
NetApp unified driver implementation.

NetApp has growing number of multiple drivers depending on storage families
and technologies. NetApp unified driver simplifies configuration
and provides single entry point for all storage technologies/drivers.
It provides new mechanism to support multiple NetApp technologies
and block drivers related to them. Deprecated 7mode dfm and c mode
webservice based drivers.

blueprint netapp-unified-driver

Change-Id: Ife3cb12ef2256e0124c9a02a968c20a580b5df93

11 years agoMerge "Add _create_volume to ThinLVMVolumeDriver"
Jenkins [Thu, 20 Jun 2013 17:28:59 +0000 (17:28 +0000)]
Merge "Add _create_volume to ThinLVMVolumeDriver"

11 years agoAdd _create_volume to ThinLVMVolumeDriver
Eric Harney [Wed, 19 Jun 2013 20:31:07 +0000 (16:31 -0400)]
Add _create_volume to ThinLVMVolumeDriver

Previously, _create_volume from LVMISCSIDriver would be called
when the volume manager calls create_volume_from_snapshot.

Fixes bug: 1192601

Change-Id: I5cca287e8204c4647a5f09df961d9a76d0b38c42

11 years agoMerge "Add build directory to flake8 ignore dirs."
Jenkins [Thu, 20 Jun 2013 09:56:59 +0000 (09:56 +0000)]
Merge "Add build directory to flake8 ignore dirs."

11 years agoMerge "Add missing extend volume test (rpcapi)."
Jenkins [Thu, 20 Jun 2013 07:05:29 +0000 (07:05 +0000)]
Merge "Add missing extend volume test (rpcapi)."

11 years agoMerge "Modify check for volume-type-id to a get w/default"
Jenkins [Thu, 20 Jun 2013 06:00:58 +0000 (06:00 +0000)]
Merge "Modify check for volume-type-id to a get w/default"

11 years agoMerge "Don't perform retry_execute in certain cases."
Jenkins [Thu, 20 Jun 2013 05:53:45 +0000 (05:53 +0000)]
Merge "Don't perform retry_execute in certain cases."

11 years agoAdd the project name into CinderKeystoneContext.
Vincent Hou [Mon, 17 Jun 2013 08:42:43 +0000 (16:42 +0800)]
Add the project name into CinderKeystoneContext.

Fixed Bug 1178576.

Change-Id: I35cbd40c6f4aba45aeb8722ae5e10db8349d4510

11 years agoAdd build directory to flake8 ignore dirs.
John Griffith [Thu, 20 Jun 2013 05:19:54 +0000 (23:19 -0600)]
Add build directory to flake8 ignore dirs.

No need to run flake8 on the build dir, so add it
to ignore list.

Change-Id: I0f6d3d3b889616f12ae2c52bbc65e528f3786996

11 years agoAdd missing extend volume test (rpcapi).
Avishay Traeger [Thu, 20 Jun 2013 04:48:51 +0000 (07:48 +0300)]
Add missing extend volume test (rpcapi).

Add test that was missing to test the volume rpcapi call for
extend_volume.

Change-Id: Idffc18cad60afe6e8864fd93d36f9ec23a402b73

11 years agofix error class path in logging sample
Yejia Xu [Wed, 19 Jun 2013 14:41:07 +0000 (22:41 +0800)]
fix error class path in logging sample

class path for NullHandler should be
cinder.openstack.common.log.NullHandler.

Fixes bug: 1192765
Change-Id: I552fe25cb89fa911dcbacb733013097b6e3c4ef3

11 years agoModify check for volume-type-id to a get w/default
John Griffith [Wed, 19 Jun 2013 23:33:59 +0000 (17:33 -0600)]
Modify check for volume-type-id to a get w/default

While implementing Fix for a previous bug to enable setting
volume type on a cloned volume and reading it's info we added
a vref['volume_type_id'], problem is that the _do_clone method
is shared for both clone and create from snapshot.

In the create from snapshot case however that key doesn't exist
in the vref (which is a snapshot object).

This change turns this into a key.get with a default return.

Fixes bug: 1192745

Change-Id: I1a6d38de614f54fcaa31ea7cc4250aacc85b0796

11 years agoDon't perform retry_execute in certain cases.
John Griffith [Tue, 18 Jun 2013 20:45:50 +0000 (14:45 -0600)]
Don't perform retry_execute in certain cases.

Certain cases like "LVM not found" and "Insufficient space"
in LVM create/delete shouldn't be retried.

Change-Id: I1a0891f769d37dc858c70b07c838f9fc4111a76c

11 years agoMerge "Use Python 3.x compatible except construct"
Jenkins [Wed, 19 Jun 2013 14:03:58 +0000 (14:03 +0000)]
Merge "Use Python 3.x compatible except construct"

11 years agoMerge "Implement capability to extend existing volume."
Jenkins [Wed, 19 Jun 2013 07:54:24 +0000 (07:54 +0000)]
Merge "Implement capability to extend existing volume."

11 years agoMerge "Update attach status when instance id invalid."
Jenkins [Wed, 19 Jun 2013 04:19:12 +0000 (04:19 +0000)]
Merge "Update attach status when instance id invalid."

11 years agoUpdate attach status when instance id invalid.
John Griffith [Tue, 18 Jun 2013 22:49:13 +0000 (16:49 -0600)]
Update attach status when instance id invalid.

In cinder.manager do_attach we have a check to make sure the
supplied instance id is a valid UUID which is great, but if it's
not we just raise and dump out, leaving the volume in an attaching
state.

We should update the status to error_attaching in this case and then
raise/return.

Fixes bug: 1192370

Change-Id: Ia759ea7a387544913953ca84e9ed927480c4edfd

11 years agoFix and enable gating on H403
Dirk Mueller [Tue, 18 Jun 2013 19:22:44 +0000 (21:22 +0200)]
Fix and enable gating on H403

Fix occurrences of
H403 - multi line docstring end on new line

Change-Id: I79a818095e9f64a18ded1686fb152b9d58f3c8b1

11 years agoUse Python 3.x compatible except construct
Dirk Mueller [Tue, 18 Jun 2013 19:09:19 +0000 (21:09 +0200)]
Use Python 3.x compatible except construct

Use except x as y:, which works with any
Python version >= 2.6

Change-Id: Ibf0f9aa8fb9725c1c9c00558ec217db96301678f

11 years agocinder.backup: Replace 'locals()' with explicit values
Andrew Forrest [Sat, 15 Jun 2013 00:09:53 +0000 (17:09 -0700)]
cinder.backup: Replace 'locals()' with explicit values

Help bring source code into compliance with the Cinder Style Commandments:
https://github.com/openstack/cinder/blob/master/HACKING.rst

This change covers all affected source in the cinder backup module, i.e.
cinder/backup/*.py and subdirectories.

Partially fixes: bug #1190748

Change-Id: I3e0f3806030f1813d055135f15e64b5a719970ed

11 years agoMerge "cinder.schedule: Replace 'locals()' with explicit values"
Jenkins [Tue, 18 Jun 2013 07:52:16 +0000 (07:52 +0000)]
Merge "cinder.schedule: Replace 'locals()' with explicit values"

11 years agoMerge "Use common.processutils.execute"
Jenkins [Tue, 18 Jun 2013 06:13:25 +0000 (06:13 +0000)]
Merge "Use common.processutils.execute"

11 years agoMerge "Use Python 3.x compatible octal numbers"
Jenkins [Mon, 17 Jun 2013 23:17:09 +0000 (23:17 +0000)]
Merge "Use Python 3.x compatible octal numbers"

11 years agoMerge "cinder/.: replace 'locals()' with explicit values"
Jenkins [Mon, 17 Jun 2013 21:21:40 +0000 (21:21 +0000)]
Merge "cinder/.: replace 'locals()' with explicit values"

11 years agoMerge "Editable default quota support for cinder"
Jenkins [Mon, 17 Jun 2013 18:00:30 +0000 (18:00 +0000)]
Merge "Editable default quota support for cinder"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 17 Jun 2013 17:01:55 +0000 (17:01 +0000)]
Merge "Imported Translations from Transifex"

11 years agocinder/.: replace 'locals()' with explicit values
Andrew Forrest [Sat, 15 Jun 2013 18:09:33 +0000 (11:09 -0700)]
cinder/.: replace 'locals()' with explicit values

Help bring source code into compliance with the Cinder Style Commandments:
https://github.com/openstack/cinder/blob/master/HACKING.rst

This change covers all affected source directly in the top-level directory
of the cinder module, i.e. cinder/*.py

Partially fixes: bug #1190748

Change-Id: Ice5efc5eda7189969af6a9b722344fad7aa49ff0

11 years agoEditable default quota support for cinder
liyingjun [Thu, 23 May 2013 08:24:26 +0000 (16:24 +0800)]
Editable default quota support for cinder

Implement blueprint edit-default-quota

DocImpact

Using the class quotas named `default` as the default editable quotas.

We can use the following cinderclient command to update default quota:

cinder quota-class-update default <key> <value>

Change-Id: I9f97506b41157066026dd43163ec4b1827d5b9cf

11 years agoMerge "Remove usage of locals() for formatting from cinder.volume.*"
Jenkins [Sun, 16 Jun 2013 20:07:25 +0000 (20:07 +0000)]
Merge "Remove usage of locals() for formatting from cinder.volume.*"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 16 Jun 2013 18:10:55 +0000 (18:10 +0000)]
Imported Translations from Transifex

Change-Id: I33655108153839dc27a906ad757e5e447a84bcce

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 16 Jun 2013 17:13:17 +0000 (17:13 +0000)]
Merge "Imported Translations from Transifex"

11 years agoUse common.processutils.execute
John Griffith [Tue, 4 Jun 2013 23:07:03 +0000 (17:07 -0600)]
Use common.processutils.execute

This patch replaces the cinder.utils.execute method
with a wrapper around openstack.common.processutils.execute.

With the wrapper I'm also converting the processutils exceptions
to maintain compatability with the existing exceptions that are
caught/raised in the code.

Change-Id: Ibc36a1e83191e7c888ea62c55d28b7023535d9fa

11 years agoMerge "Start using Pyflakes"
Jenkins [Sun, 16 Jun 2013 16:46:27 +0000 (16:46 +0000)]
Merge "Start using Pyflakes"

11 years agoRemove usage of locals() for formatting from cinder.volume.*
Haomai Wang [Sun, 16 Jun 2013 05:21:20 +0000 (13:21 +0800)]
Remove usage of locals() for formatting from cinder.volume.*

Using of locals() for formatting string is a nasty thing because:
1) It is not so clear as using explicit dicts
2) It could produce hidden errors during refactoring
3) Changing name of variable causes change in message
4) Creating a lot of unused variables

Fix bug 1171936

Change-Id: I806c530851527db9da251352be45b97c183241a8

11 years agocinder.schedule: Replace 'locals()' with explicit values
Andrew Forrest [Sat, 15 Jun 2013 18:45:15 +0000 (11:45 -0700)]
cinder.schedule: Replace 'locals()' with explicit values

Help bring source code into compliance with the Cinder Style Commandments:
https://github.com/openstack/cinder/blob/master/HACKING.rst

This change covers all affected source in the cinder scheduler module, i.e.
cinder/scheduler/*.py and subdirectories.

Partially fixes: bug #1190748

Change-Id: I75ad858ee62317bef6c59b9c0896f8a94a989d52

11 years agoMerge "Remove the 'migrate' option from cinder-manage"
Jenkins [Sun, 16 Jun 2013 13:10:30 +0000 (13:10 +0000)]
Merge "Remove the 'migrate' option from cinder-manage"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 15 Jun 2013 18:10:58 +0000 (18:10 +0000)]
Imported Translations from Transifex

Change-Id: I79a7551378872d60bea0b516dd6ed59bf6cdcc39

11 years agoMerge "Update and add notifiers in create volume"
Jenkins [Sat, 15 Jun 2013 06:36:18 +0000 (06:36 +0000)]
Merge "Update and add notifiers in create volume"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sat, 15 Jun 2013 01:44:40 +0000 (01:44 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Use Python 3.x compatible except: construct"
Jenkins [Sat, 15 Jun 2013 00:40:55 +0000 (00:40 +0000)]
Merge "Use Python 3.x compatible except: construct"

11 years agoMerge "Remove usage of locals() for formatting from cinder.api.*"
Jenkins [Sat, 15 Jun 2013 00:40:52 +0000 (00:40 +0000)]
Merge "Remove usage of locals() for formatting from cinder.api.*"

11 years agoMerge "Replace utils.to_bytes() with strutils.to_bytes()"
Jenkins [Sat, 15 Jun 2013 00:40:45 +0000 (00:40 +0000)]
Merge "Replace utils.to_bytes() with strutils.to_bytes()"

11 years agoRemove the 'migrate' option from cinder-manage
Jay S. Bryant [Fri, 14 Jun 2013 23:30:10 +0000 (18:30 -0500)]
Remove the 'migrate' option from cinder-manage

The 'migrate' option was only appropriate for use migrating
databases for volumes from Nova-Folsom-->Cinder-Folsom.  The
code hasn't been tested since.

Given the above facts, this commit removes the migrate code from
cinder-manage.  The man page for cinder-manage was already
updated to remove the option in a previous commit.

(fixes bug #1187134)

Change-Id: I7bf378cd4b0dd4f6d1bdf475b826a59a31112638

11 years agoUse Python 3.x compatible octal numbers
Dirk Mueller [Sat, 8 Jun 2013 08:59:13 +0000 (10:59 +0200)]
Use Python 3.x compatible octal numbers

Unfortunately, Python 3.x deprecated support for 0755
octal numbers. Use 0o755 instead.

Change-Id: I70403d382d6e6569445b6a99954ea24d436f29ad

11 years agoUse Python 3.x compatible except: construct
Dirk Mueller [Sat, 8 Jun 2013 08:49:57 +0000 (10:49 +0200)]
Use Python 3.x compatible except: construct

Per (proposed) H203 check, convert all uses of
the deprecated except x,y: construct to except
x as y:, which works with any Python version >= 2.6

Change-Id: I5528dc556f3ef8d356e01d59df04ba57f66c95b7

11 years agoUpdate and add notifiers in create volume
jenny-shieh [Thu, 13 Jun 2013 22:04:59 +0000 (15:04 -0700)]
Update and add notifiers in create volume

1. Change status from 'creating' to 'available' when the volume is created
2. Add a notifier when it fails to create the volume

Implements: notifiers for create volume
Fixes: bug #1190754
Change-Id: I3a7d118630b32cfa7efb6bc8984418ca9836764a

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 14 Jun 2013 18:10:15 +0000 (18:10 +0000)]
Imported Translations from Transifex

Change-Id: Ifdb8f90abd6ece7e3cc47e27c0c4e8fd29e89b4d

11 years agoFix up the test framework
Michael Kerrin [Thu, 16 May 2013 08:10:27 +0000 (08:10 +0000)]
Fix up the test framework

When trying to test a bug the cinder test framework was
running all the tests when I just wanted one to run.

Instead of fixing this problem in nose I tried to move cinder to
testr. I copied a fair bit of code from nova to get this to work.
This way at least if some one makes an improvement to the nova
test framework cinder can improve here also.

Note that now all the tests a thread safe. Added a concurrency argument
to run_tests.sh that defaults to 1. You can specify your own level then
and take the risk of intermittent failures. Tell jenkins to use a
concurrency level of 1 to avoid failing gate jobs.

Note One of these tests is broken and I have disabled for now. There
is a bug for this here: https://bugs.launchpad.net/cinder/+bug/1173266

Note: cinder.api.openstack.FaultWrapper is deprecated and is causing
a circular import when I try and import cinder.tests.test_wsgi. This
is fixed by only importing the openstack.FaultWrapper during the
__init__ phase of the wsgi middleware.

Fixes: bug 1183434
Fixes: bug 1177924
Change-Id: I5e10b55c5b236eb81a6a3e0e9ea56af8ca4ef8e1

11 years agoRemove usage of locals() for formatting from cinder.api.*
Haomai Wang [Fri, 14 Jun 2013 07:11:29 +0000 (15:11 +0800)]
Remove usage of locals() for formatting from cinder.api.*

Using of locals() for formatting string is a nasty thing because:
1) It is not so clear as using explicit dicts
2) It could produce hidden errors during refactoring
3) Changing name of variable causes change in message
4) Creating a lot of unused variables

Fix bug 1171936

Change-Id: Id6a900899db328be067b8139a49c12ce802dd415

11 years agoImplement capability to extend existing volume.
John Griffith [Mon, 10 Jun 2013 20:26:57 +0000 (14:26 -0600)]
Implement capability to extend existing volume.

This patch adds the core components to implement extending
the size of an existing available volume.

Volume status must be available, and the format is:
    extend <vol-id> <new-size>

where new-size must be > current size.

Adding support to drivers will be handled in follow up
patches for each of the existing drivers.

Implements blueprint: volume-resize

Change-Id: I40026083e564ea2074757e11e13cd07cdae3e6cc

11 years agoMerge "Flatten Volume from Snapshot"
Jenkins [Fri, 14 Jun 2013 05:28:17 +0000 (05:28 +0000)]
Merge "Flatten Volume from Snapshot"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 14 Jun 2013 05:28:14 +0000 (05:28 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Replace FLAGS with cfg.CONF in volume"
Jenkins [Fri, 14 Jun 2013 02:52:49 +0000 (02:52 +0000)]
Merge "Replace FLAGS with cfg.CONF in volume"

11 years agoReplace utils.to_bytes() with strutils.to_bytes()
Zhongyue Luo [Fri, 14 Jun 2013 01:43:40 +0000 (09:43 +0800)]
Replace utils.to_bytes() with strutils.to_bytes()

The to_bytes() function have moved to oslo.
Replaced/removed the to_bytes() function with the one in strutils.

Change-Id: I53947b7a333057fec738a02f5643be59e563290d

11 years agoMerge "Fix various Sphinx warnings"
Jenkins [Fri, 14 Jun 2013 00:23:11 +0000 (00:23 +0000)]
Merge "Fix various Sphinx warnings"

11 years agoFlatten Volume from Snapshot
Mandell Degerness [Mon, 10 Jun 2013 22:02:28 +0000 (22:02 +0000)]
Flatten Volume from Snapshot

Implements: blueprint flatten-volume-from-snapshot

Change-Id: I77b0a9bf8cfbe4881a75909d2749d0c3f17561c9

11 years agoMerge "Replace FLAGS with cfg.CONF in other modules, unless tests"
Jenkins [Thu, 13 Jun 2013 19:06:16 +0000 (19:06 +0000)]
Merge "Replace FLAGS with cfg.CONF in other modules, unless tests"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 13 Jun 2013 18:10:22 +0000 (18:10 +0000)]
Imported Translations from Transifex

Change-Id: I0a33030fb608d564eb0717f5107553254c888e78

11 years agoMerge "Fix some unittest cases failed on osx"
Jenkins [Thu, 13 Jun 2013 17:21:56 +0000 (17:21 +0000)]
Merge "Fix some unittest cases failed on osx"

11 years agoReplace FLAGS with cfg.CONF in volume
Sergey Vilgelm [Thu, 13 Jun 2013 09:06:25 +0000 (13:06 +0400)]
Replace FLAGS with cfg.CONF in volume

Replace all the FLAGS with cfg.CONF in cinder/volume
Large commit was split into several parts

Change-Id: I435fe91f414fda027531076bdbcb6660a3c635af
Fixes: bug #1182037
11 years agoReplace FLAGS with cfg.CONF in other modules, unless tests
Sergey Vilgelm [Thu, 13 Jun 2013 07:25:37 +0000 (11:25 +0400)]
Replace FLAGS with cfg.CONF in other modules, unless tests

Replace all the FLAGS with cfg.CONF in cinder/
Large commit was split into several parts

Change-Id: Iacd645997a0c50aa47079c856e1b4e33e3001243
Fixes: bug #1182037
11 years agoMerge "Fixes 3PAR drivers terminate_connection issue."
Jenkins [Thu, 13 Jun 2013 05:32:46 +0000 (05:32 +0000)]
Merge "Fixes 3PAR drivers terminate_connection issue."

11 years agoMerge "Elevate volume/snap "is busy" log message for volume/snap_delete"
Jenkins [Thu, 13 Jun 2013 03:18:56 +0000 (03:18 +0000)]
Merge "Elevate volume/snap "is busy" log message for volume/snap_delete"

11 years agoMerge "Added policy check for backup operations"
Jenkins [Wed, 12 Jun 2013 23:33:13 +0000 (23:33 +0000)]
Merge "Added policy check for backup operations"

11 years agoElevate volume/snap "is busy" log message for volume/snap_delete
Eric Harney [Wed, 12 Jun 2013 21:20:52 +0000 (17:20 -0400)]
Elevate volume/snap "is busy" log message for volume/snap_delete

If deletion fails because the volume is busy, log at "error" level
rather than "debug" to ensure that the error is logged and visible
to a user.

Change-Id: I04031ee6b1f6647a126baa8a29c15a00b84b27b1

11 years agoMerge "Update to the latest stevedore"
Jenkins [Wed, 12 Jun 2013 21:10:30 +0000 (21:10 +0000)]
Merge "Update to the latest stevedore"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 12 Jun 2013 21:09:42 +0000 (21:09 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Merge from oslo-incubator"
Jenkins [Wed, 12 Jun 2013 21:09:35 +0000 (21:09 +0000)]
Merge "Merge from oslo-incubator"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 12 Jun 2013 18:10:17 +0000 (18:10 +0000)]
Imported Translations from Transifex

Change-Id: Idadd30ca29eaf2da44c670722060b28ad8028c4a

11 years agoFixes 3PAR drivers terminate_connection issue.
Viraj Hardikar [Wed, 12 Jun 2013 17:34:26 +0000 (10:34 -0700)]
Fixes 3PAR drivers terminate_connection issue.

3PAR drivers now default the third parameter when terminate_connection
is called after copying a volume to image.
Fixes: bug #1190056
Change-Id: Icadacc9e083c6e97a919857d735ec16068d0f0c6

11 years agoMerge from oslo-incubator
Dirk Mueller [Wed, 12 Jun 2013 17:37:16 +0000 (19:37 +0200)]
Merge from oslo-incubator

Change-Id: Ie5d9d2c1938e58125b58e64a3363f1e1e8ce2ba2

11 years agoMerge "Re-set default sql_connection and sqlite_db."
Jenkins [Wed, 12 Jun 2013 17:30:13 +0000 (17:30 +0000)]
Merge "Re-set default sql_connection and sqlite_db."

11 years agoMerge "Remove direct call to utils.execute."
Jenkins [Wed, 12 Jun 2013 16:07:58 +0000 (16:07 +0000)]
Merge "Remove direct call to utils.execute."

11 years agoAdded policy check for backup operations
Jay Payne [Sun, 9 Jun 2013 15:20:12 +0000 (10:20 -0500)]
Added policy check for backup operations

This patch adds policy checks for operations in the backup extension
consisting of create, delete, restore, get and get_all.  It also adds
policies into the policy.json files in the tests and etc directories.

Fixes Bug: 1188386

Change-Id: I847640051c5d25cebf06b8658b27d4b82603d796

11 years agoUpdate to the latest stevedore
Doug Hellmann [Wed, 12 Jun 2013 15:13:38 +0000 (11:13 -0400)]
Update to the latest stevedore

Use a version of stevedore that does not try to
install distribute.

The requirements change is in
https://review.openstack.org/#/c/32738/

Change-Id: I74bc6013710965401b7e64abc8827a46c817fd56
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
11 years agoMerge "Remove explicit distribute depend."
Jenkins [Wed, 12 Jun 2013 15:12:19 +0000 (15:12 +0000)]
Merge "Remove explicit distribute depend."

11 years agoFix various Sphinx warnings
Dirk Mueller [Wed, 12 Jun 2013 13:21:40 +0000 (15:21 +0200)]
Fix various Sphinx warnings

Change-Id: I68c9ff6fdf9115d1abb0fb756eb806b92af29286

11 years agoMerge "Fix the after subscription size checks."
Jenkins [Wed, 12 Jun 2013 12:35:41 +0000 (12:35 +0000)]
Merge "Fix the after subscription size checks."

11 years agoMerge "Replace functions in utils with oslo.fileutils"
Jenkins [Wed, 12 Jun 2013 07:54:28 +0000 (07:54 +0000)]
Merge "Replace functions in utils with oslo.fileutils"

11 years agoFix some unittest cases failed on osx
Haomai Wang [Tue, 11 Jun 2013 08:36:42 +0000 (16:36 +0800)]
Fix some unittest cases failed on osx

dd shouldn't actually be called in the unit tests to begin with. Stub these
improper calls out.

Fixes bug: 1188972

Change-Id: I2966382a66eebbf49ce74e091e444a91ab274869

11 years agoMerge "Replace FLAGS with cfg.CONF in tests"
Jenkins [Wed, 12 Jun 2013 06:22:55 +0000 (06:22 +0000)]
Merge "Replace FLAGS with cfg.CONF in tests"

11 years agoMerge "Removing service_* options from authtoken"
Jenkins [Wed, 12 Jun 2013 06:22:50 +0000 (06:22 +0000)]
Merge "Removing service_* options from authtoken"

11 years agoMerge "Allow disabling ssl compression for glance client"
Jenkins [Wed, 12 Jun 2013 06:22:46 +0000 (06:22 +0000)]
Merge "Allow disabling ssl compression for glance client"

11 years agoMerge "Add missing attributes to xml deserializer for volume request"
Jenkins [Wed, 12 Jun 2013 04:32:42 +0000 (04:32 +0000)]
Merge "Add missing attributes to xml deserializer for volume request"