Hai-Xu Cheng [Thu, 20 Aug 2015 10:08:01 +0000 (18:08 +0800)]
Remove the method delete_volume_admin_metadata
This method is no longer used. This patch proposes
to delete it and some related policies.
Closes-Bug: #
1485435
Change-Id: I78f4f545f4a9f2088269925b48db123b901c4f96
Jenkins [Thu, 20 Aug 2015 07:14:21 +0000 (07:14 +0000)]
Merge "Update devref unit tests doc"
Jenkins [Thu, 20 Aug 2015 05:45:51 +0000 (05:45 +0000)]
Merge "Make migration's volume source deletion async"
Jenkins [Thu, 20 Aug 2015 04:34:28 +0000 (04:34 +0000)]
Merge "Refactor to remove duplicate code"
Jenkins [Thu, 20 Aug 2015 03:26:46 +0000 (03:26 +0000)]
Merge "Remove duplicate keys from dictionary"
Jenkins [Thu, 20 Aug 2015 03:25:53 +0000 (03:25 +0000)]
Merge "Corrects the order of AssertEquals params in Quobyte tests"
Jenkins [Wed, 19 Aug 2015 19:59:16 +0000 (19:59 +0000)]
Merge "Test whether sample config generation works"
Jenkins [Wed, 19 Aug 2015 17:01:24 +0000 (17:01 +0000)]
Merge "Adds manage/unmanage methods for HNAS drivers."
Jenkins [Wed, 19 Aug 2015 16:52:24 +0000 (16:52 +0000)]
Merge "Tests: Fix zfssa TestRestClientURL.test_request"
Silvan Kaiser [Wed, 19 Aug 2015 13:42:25 +0000 (15:42 +0200)]
Corrects the order of AssertEquals params in Quobyte tests
Closes-Bug:
1486566
Change-Id: I29bd0ea93d0c432da97d761d7955336a80fff2de
Jenkins [Wed, 19 Aug 2015 09:24:43 +0000 (09:24 +0000)]
Merge "Dell SC: Fix error causing missed log message"
Jenkins [Wed, 19 Aug 2015 07:01:48 +0000 (07:01 +0000)]
Merge "Configure space reservation on NetApp Data ONTAP"
Jenkins [Wed, 19 Aug 2015 07:01:22 +0000 (07:01 +0000)]
Merge "Register the volume_opts config options in remotefs.py"
Jenkins [Wed, 19 Aug 2015 07:01:10 +0000 (07:01 +0000)]
Merge "LeftHand driver is ignoring reserved_percentage"
Yuji Hagiwara [Tue, 18 Aug 2015 05:00:49 +0000 (14:00 +0900)]
Remove duplicate keys from dictionary
There are several places where duplicate keys are added in the dictionary.
Remove all such occurrences throughout the code.
Change-Id: Ib1e6cccb82fdfcde9e3080afca7bebdb61d6f5ad
Closes-Bug: #
1485846
Jenkins [Wed, 19 Aug 2015 02:00:48 +0000 (02:00 +0000)]
Merge "Revert "mark oslo.vmware as optional dependency""
Kurt Martin [Tue, 18 Aug 2015 23:15:28 +0000 (16:15 -0700)]
LeftHand driver is ignoring reserved_percentage
The LH driver was hard coding the reserved_percentage parameter to 0.
The LeftHand driver should be reading this value from the cinder
configuration file as it's used in the capacity filter for calculating
capacities.
DocImpact
Change-Id: Ib76c191f75300f9607811727b0f08ed09deb06c0
Closes-Bug:
1486267
John Griffith [Tue, 18 Aug 2015 23:08:13 +0000 (17:08 -0600)]
Update devref unit tests doc
Simple update for our painfully out of date devref docs.
Just a short refresh on unit_tests, there's a lot that could
and probably should be added there, but this change just gets
rid of the obsolete references to Nose and adds info regarding
tox and how to use it.
Change-Id: Ib1ff174ee9ccb8ecb258558d77202062204dfec3
Eric Harney [Tue, 18 Aug 2015 22:10:58 +0000 (18:10 -0400)]
Tests: Fix zfssa TestRestClientURL.test_request
This test can currently fail with mismatched parameters
to urlopen. Just ensure that urlopen is called so
that this works across all environments/versions.
Closes-Bug: #
1486245
Change-Id: Icec5d208a979ba62b9dfef2b499a00bacec841d3
Jenkins [Tue, 18 Aug 2015 21:51:39 +0000 (21:51 +0000)]
Merge "Add volume migration support for Huawei driver"
Eric Harney [Tue, 18 Aug 2015 21:09:50 +0000 (17:09 -0400)]
Test whether sample config generation works
Adds --checkonly to tools/config/check_uptodate.sh.
This allows verifying that a configuration file was
generated.
We have had a number of issues introduced which
have caused config file generation to fail since we
removed the sample config file check in the gate.
This does not add back checks to ensure that the file
has been updated, it only checks to ensure that it is
still possible to update the sample file.
Change-Id: I2e0e376fbdec5a1bb584c6739231649e1d0f5d8e
Jenkins [Tue, 18 Aug 2015 20:35:37 +0000 (20:35 +0000)]
Merge "Adapt SnapshotController to view builder"
Eric Harney [Tue, 18 Aug 2015 20:22:01 +0000 (16:22 -0400)]
Revert "mark oslo.vmware as optional dependency"
This reverts commit
e67adc385ce6997249fbf70e9402264f758fc6f4.
Adding optional dependency tracking would be nice,
but Cinder is not yet in a place to do this.
- Cinder supports tox 1.6 (minversion in tox.ini)
- This functionality does not work on 1.6, requires 1.7. Tox
fails to build a test environment if using tox 1.6.
- We have decided we can't move to tox 1.7 for now.
( https://review.openstack.org/#/c/211614/ )
This reverts commit
478e8e970e54aaf3a034dc6347605c1b18291d0d.
- Need to remove oslo.vmware from test-requirements.txt now, as
well.
Closes-Bug: #
1484035
Change-Id: Icff52508ff1cd67e8c17964c840d3a5cdcfbbce3
Jay S Bryant [Tue, 18 Aug 2015 19:24:52 +0000 (14:24 -0500)]
Register the volume_opts config options in remotefs.py
With commit
bc23e0bf415defb1956c9864ac33390bb4cc2017 a new
volume_opts configuration option list was added into
cinder/volume/drivers/remotefs.py. This new list, however,
was never registered. When an options list is not registered
genconfig cannot figure out the right place to put the config
options and will fail to generate the sample file.
To resolve this, the patch simply registers the new options
list in remotefs.py. Once the list is registered we are,
once again, able to generate the sample file.
Change-Id: Ic2bb95d7e2296d893f8acc5b3119f0be6a4b5c74
Goutham Pacha Ravi [Thu, 23 Jul 2015 21:37:44 +0000 (17:37 -0400)]
Configure space reservation on NetApp Data ONTAP
This patchset allows configuring Cinder volumes on NetApp Data ONTAP
backends to be thick or thin provisioned.
DocImpact
Implements: blueprint netapp-thin-provisioned-luns
Change-Id: I1a2679c72ca0fb56edd0c9e39d361408022380e3
Jenkins [Tue, 18 Aug 2015 13:45:13 +0000 (13:45 +0000)]
Merge "GlusterFS backup driver"
Sean McGinnis [Tue, 18 Aug 2015 13:08:18 +0000 (08:08 -0500)]
Dell SC: Fix error causing missed log message
Extremely trivial fix. An extra comma at the end of a
logging line actually made it into a statement that
doesn't perform logging. This patch removes the extra
comma so that the message gets logged as expected.
Change-Id: I032d5cdd54e3ed8924115744671d8ef9231e62c0
Gorka Eguileor [Mon, 10 Aug 2015 16:37:27 +0000 (18:37 +0200)]
Make migration's volume source deletion async
Currently source volume deletion on a volume migration (and therefore on
retype with migration as well) is synchronous and that has 2 problems:
1. If the deletion takes more than rpc_response_timeout then when
performed on in-use volumes it will fail.
2. If the deletion fails then the volume will be left in the back-end
and Cinder will no longer have a reference of that volume in the DB.
This patch makes source volume deletion asynchronous resolving both
issues.
Closes-Bug: #
1483155
Closes-Bug: #
1483157
Change-Id: I55c3d86660f90044a56b8609bb5774d4f5481227
Jenkins [Tue, 18 Aug 2015 03:07:36 +0000 (03:07 +0000)]
Merge "3PAR: Adding Consistency Group Support"
Jenkins [Tue, 18 Aug 2015 02:32:43 +0000 (02:32 +0000)]
Merge "Remove unused function volume_type_encryption_get"
Jenkins [Tue, 18 Aug 2015 01:32:23 +0000 (01:32 +0000)]
Merge "Correct comment to be consistent with code"
Adriano Rosso [Wed, 8 Jul 2015 17:11:18 +0000 (14:11 -0300)]
Adds manage/unmanage methods for HNAS drivers.
Implements the support for the manage and unmanage features in HDS
HNAS drivers (NFS and ISCSI).
Implements: blueprint hnas-manage-unmanage
Change-Id: Ic222b8009a064824775aafb8713b4ddde38678f6
Jenkins [Tue, 18 Aug 2015 00:12:26 +0000 (00:12 +0000)]
Merge "Cleanup for cinder tests with ConsistencyGroups"
Jenkins [Tue, 18 Aug 2015 00:12:15 +0000 (00:12 +0000)]
Merge "Implement Clone CG in Pure Volume Drivers"
Jenkins [Tue, 18 Aug 2015 00:12:03 +0000 (00:12 +0000)]
Merge "Add delete/update_volume_metadata policy rules"
Jenkins [Tue, 18 Aug 2015 00:06:12 +0000 (00:06 +0000)]
Merge "Fix backup init_host volume cleanup"
Jenkins [Tue, 18 Aug 2015 00:03:40 +0000 (00:03 +0000)]
Merge "VMware: Bump driver version"
Alex O'Rourke [Mon, 20 Jul 2015 17:05:40 +0000 (10:05 -0700)]
3PAR: Adding Consistency Group Support
Adds support for Consistency Groups to the HP 3PAR driver
Implements: blueprint hp-3par-add-consistency-groups
Change-Id: I31e74b55db0f9b813a9295378271715df4b839f4
Joel Coffman [Mon, 17 Aug 2015 15:27:03 +0000 (11:27 -0400)]
Remove unused function volume_type_encryption_get
This change removes the aforementioned function, which isn't used in
the existing code.
Change-Id: Iadac34d34c6824d4b2fc5e4db139ff563833f222
Joel Coffman [Mon, 17 Aug 2015 15:07:32 +0000 (11:07 -0400)]
Refactor to remove duplicate code
This change reuses the get_volume_type_encryption function for the
implementation of the is_encrypted function.
Change-Id: Ie6434016840c20229b3a32b676aa8fc994f9362b
Joel Coffman [Tue, 4 Aug 2015 19:12:22 +0000 (15:12 -0400)]
Correct comment to be consistent with code
The volume_encryption_metadata_get function returns more than just
the encryption key id. This change generalizes the comment to refer
to all the metadata that is returned.
Change-Id: I3f154930cec5f065011b40026d3dbdb3a8a2f07d
Jenkins [Mon, 17 Aug 2015 18:49:37 +0000 (18:49 +0000)]
Merge "Allow 0 length name"
Jenkins [Mon, 17 Aug 2015 18:49:28 +0000 (18:49 +0000)]
Merge "VMware: Change inventory folder hierarchy"
Jenkins [Mon, 17 Aug 2015 18:48:44 +0000 (18:48 +0000)]
Merge "Port NetApp DATAONTAP blocks drivers to ABC model"
Jenkins [Mon, 17 Aug 2015 18:05:43 +0000 (18:05 +0000)]
Merge "Fix 033 add encryption unique key migration"
Jenkins [Mon, 17 Aug 2015 16:50:17 +0000 (16:50 +0000)]
Merge "Use min and max on IntOpt option types"
John Griffith [Mon, 17 Aug 2015 14:08:14 +0000 (08:08 -0600)]
Allow 0 length name
There are currently cases where nova for example
creates volumes with a name of zero length. We
can't just change that and break compatability.
This patch just modifes the wsgi module to allow
min length of zero again.
Change-Id: I829a8b4d6773d1c646d07cccb36994370e1dbce9
Closes-Bug: #
1485198
Liu Xinguo [Tue, 14 Jul 2015 03:25:46 +0000 (11:25 +0800)]
Add volume migration support for Huawei driver
If the target host and the original volume are on the same array,
then Huawei driver will do the migration now instead of having
it done by the general migration process.
Change-Id: Ife8fca765402e95778079fb0166b3abf9684d134
Implements: blueprint huawei-storage-volume-migration-support
Daniel Tadrzak [Thu, 30 Jul 2015 16:48:34 +0000 (18:48 +0200)]
Cleanup for cinder tests with ConsistencyGroups
Switch cinder tests to use ConsistencyGroup objects instead of directly
calls to db. Additionally switch over from dict to object notation.
Drivers tests need to be fixed in other patch.
Partial-Implements: blueprint cinder-objects
Change-Id: Ib3d4c791e095d89e7bc5e5e9a6b26e8433517ffb
Jenkins [Mon, 17 Aug 2015 12:05:44 +0000 (12:05 +0000)]
Merge "Enhance PureISCSIDriver multipath support"
Jenkins [Mon, 17 Aug 2015 12:05:36 +0000 (12:05 +0000)]
Merge "Over subscription for HP 3PAR drivers"
Vipin Balachandran [Sat, 10 Jan 2015 17:32:00 +0000 (23:02 +0530)]
VMware: Change inventory folder hierarchy
In vCenter inventory, volumes are organized under the folder:
<datacenter_vm_folder>/<volume_folder>, where <volume_folder>
is the value of driver config option 'vmware_volume_folder'.
Due to this organization certain project-specific maintenance
tasks (using vSphere client) might be difficult for vCenter
admin. For example, the admin may need to migrate the volumes
of a particular project from one vCenter datastore to another.
This patch changes the folder hierarchy to:
<datacenter_vm_folder>/OpenStack/Project
(<project_id>)/<volume_folder>
for better organization.
DocImpact
Modified default value of config option
'vmware_volume_folder' and updated its description.
Closes-Bug: #
1485550
Change-Id: I37a3bd00efaa3b4a0bbcb22cbe9fff3f4fb80456
Gorka Eguileor [Fri, 31 Jul 2015 18:01:20 +0000 (20:01 +0200)]
Adapt SnapshotController to view builder
Snapshots were not using the view builder to translate responses, unlike
other resources like volumes and backups.
This patch moves snapshots to use the view builder like the rest.
Change-Id: Iec6873aedcf126f00c81fd016acfc8db9a5e512c
Jenkins [Mon, 17 Aug 2015 11:16:41 +0000 (11:16 +0000)]
Merge "Tintri snapshot id"
Jenkins [Mon, 17 Aug 2015 02:40:40 +0000 (02:40 +0000)]
Merge "VMware: Deprecate vCenter version less than 5.1"
Jenkins [Mon, 17 Aug 2015 02:35:20 +0000 (02:35 +0000)]
Merge "Dell Eqlx: Use generic option ssh_timeout"
Jenkins [Mon, 17 Aug 2015 02:31:47 +0000 (02:31 +0000)]
Merge "Enhance unit tests for zfssa drivers"
Jenkins [Mon, 17 Aug 2015 02:25:22 +0000 (02:25 +0000)]
Merge "Fix HNAS iSCSI 32 targets limitation error"
Jenkins [Mon, 17 Aug 2015 02:08:15 +0000 (02:08 +0000)]
Merge "Add support '--all-tenants' for cinder backup-list"
Jenkins [Mon, 17 Aug 2015 01:43:13 +0000 (01:43 +0000)]
Merge "Add volume type support to Datera"
Eric Brown [Sat, 15 Aug 2015 18:36:33 +0000 (11:36 -0700)]
Use min and max on IntOpt option types
Latest version of oslo.config support the ability to set valid
range on IntOpt option values. This path makes use of that feature
for a number of options with well known minimum and maximum values.
Change-Id: Ie4b081bdaa373c9dedf7dd0c9884553ffb42b61c
Jenkins [Sun, 16 Aug 2015 21:59:44 +0000 (21:59 +0000)]
Merge "Return volume name from backup_restore"
Jenkins [Sun, 16 Aug 2015 21:01:42 +0000 (21:01 +0000)]
Merge "Make X-IO volume driver wait for delete volume to complete"
Kurt Martin [Wed, 12 Aug 2015 18:18:44 +0000 (11:18 -0700)]
Over subscription for HP 3PAR drivers
Add support for over subscription in the HP 3PAR drivers.
Also, fixed the reporting of capacity related stats at the pool
level in the unit tests.
DocImpact
Change-Id: I182c67d864c6094e738c20436e42e4fa2d876613
Implements: blueprint over-subscription-3par
Jenkins [Sun, 16 Aug 2015 05:29:14 +0000 (05:29 +0000)]
Merge "Small clean up in volume object"
Jenkins [Sat, 15 Aug 2015 20:39:25 +0000 (20:39 +0000)]
Merge "Reduced file size to prevent timeout"
Jenkins [Sat, 15 Aug 2015 03:02:12 +0000 (03:02 +0000)]
Merge "Validate string, integer limit for input parameter"
Jenkins [Sat, 15 Aug 2015 02:58:51 +0000 (02:58 +0000)]
Merge "Remove RetypeVD class, fix NFS driver retype"
Jenkins [Sat, 15 Aug 2015 02:58:35 +0000 (02:58 +0000)]
Merge "Updated from global requirements"
Sean Chen [Tue, 23 Jun 2015 21:10:03 +0000 (14:10 -0700)]
Tintri snapshot id
Tintri driver to associate cinder snapshot id to tintri id and
store in cinder snapshot provider_id.
Bump up driver version for this change.
Cinder snapshot name and volume id are stored in tintri snapshot.
Closes-Bug: #
1468949
Co-Authored-By: apoorvad apps.desh@gmail.com
Co-Authored-By: opencompute xuchenx@gmail.com
Change-Id: I41e174d361491c3976b037a4aa16a085afbc93e5
Jenkins [Fri, 14 Aug 2015 23:32:29 +0000 (23:32 +0000)]
Merge "On Volume list only retrieve needed data from DB"
Mike Perez [Fri, 14 Aug 2015 23:19:28 +0000 (16:19 -0700)]
Add volume type support to Datera
This allows created volumes to have a volume type specified with them.
Implements: blueprint datera-extra-spec-support
Implements: blueprint datera-qos-support
Change-Id: I217d75deecbbf2282125703c296dc524174c4660
Patrick East [Tue, 11 Aug 2015 21:08:29 +0000 (14:08 -0700)]
Implement Clone CG in Pure Volume Drivers
This adds support for the consisgroup-create-from-src method specifying
a source consistency group.
The driver will create a new Purity Protection Group, take a temporary
snapshot of the source Protection Group, create new volumes from the
consistent snapshot, and then add these new volumes into the newly
created protection group.
Implements: blueprint pure-clone-cg
Change-Id: I3446c4a86027f1f50ada673ddb1f3b13b5e8f6cc
Jenkins [Fri, 14 Aug 2015 22:55:39 +0000 (22:55 +0000)]
Merge "Don't use context.elevated to get volume"
Jenkins [Fri, 14 Aug 2015 22:11:49 +0000 (22:11 +0000)]
Merge "Validate name and description string"
Jenkins [Fri, 14 Aug 2015 22:11:35 +0000 (22:11 +0000)]
Merge "Update SolidFire driver to pass newer flake8"
Jenkins [Fri, 14 Aug 2015 22:11:20 +0000 (22:11 +0000)]
Merge "3PAR: Adding performance metrics to volume status"
Jenkins [Fri, 14 Aug 2015 21:58:57 +0000 (21:58 +0000)]
Merge "Switch Pure volume drivers to use Snapshot Objects"
rajinir [Thu, 13 Aug 2015 16:36:34 +0000 (11:36 -0500)]
Dell Eqlx: Use generic option ssh_timeout
Deprecated the driver specific option eqlx_cli_timeout
in favor of generic option ssh_conn_timeout.
Config parameter eqlx_cli_timeout parameter will be
removed in M release
Closes Bug: #
1484284
Change-Id: Ib0ec5fdd6d8b7c61312721b2a5901bd7380f29a8
Richard Hedlind [Thu, 6 Aug 2015 04:52:35 +0000 (22:52 -0600)]
Make X-IO volume driver wait for delete volume to complete
Add a check to make sure the volume has been deleted from
the backend storage before returning from delete_volume.
Change-Id: Icc662de476fcb21ff2f7ca6aa69e46c434214d7e
Closes-Bug: #
1482044
Jacob Gregor [Thu, 13 Aug 2015 20:31:16 +0000 (15:31 -0500)]
Reduced file size to prevent timeout
We currently have a test system that appears to be I/O constrained
and is hitting timeouts. Rather than mocking out the file copy, we
decided to reduce the file size in order to avoid timeouts. This way
we are not changing the way these test cases work, but we are reducing
the time required to run each test case. This patch will help improve
check and gate performance as well.
Change-Id: I04cf9d6dbdaebb8944a38ffa34d1e2e1b27e2552
Closes-bug:
1480361
Jenkins [Fri, 14 Aug 2015 20:14:29 +0000 (20:14 +0000)]
Merge "Handle missing temp volume and snapshot during cleanup"
Jenkins [Fri, 14 Aug 2015 20:02:12 +0000 (20:02 +0000)]
Merge "GPFS volume encryption-at-rest support"
John Griffith [Fri, 14 Aug 2015 19:03:21 +0000 (13:03 -0600)]
Update SolidFire driver to pass newer flake8
Just an easy update of some things that newer versions of
flake8 complains about.
I've updated my env to flake8 2.1.0, and figured might as
well fix these up rather ignore them. pep8 is 1.5.6 and pyflakes
is at 0.8.1
Change-Id: I6d22fe95b67acddcece283e6dca6fe980904bfed
Jenkins [Fri, 14 Aug 2015 18:09:30 +0000 (18:09 +0000)]
Merge "Enable cinder-manage to remove services"
Jenkins [Fri, 14 Aug 2015 17:03:14 +0000 (17:03 +0000)]
Merge "Fix Python 3 issues in Windows tests"
Jenkins [Fri, 14 Aug 2015 17:00:41 +0000 (17:00 +0000)]
Merge "Prevent creating encrypted volume with image"
Joseph Vokt [Fri, 10 Jul 2015 20:10:40 +0000 (13:10 -0700)]
3PAR: Adding performance metrics to volume status
If one storage backend has high load while another has lower load,
when a user/admin creates a volume, the current evaluator/scheduler
may place the volume on the backend with higher load. In many cases,
the evaluator/scheduler should place that volume on the backend
with the lowest load for load balancing purposes. In general, for load
balancing virtual volume placement, an evaluator/scheduler needs
access to performance metrics (e.g. IOPS throughput, bandwidth,
latency, IO size) to measure load, but Cinder drivers don't generally
report those metrics.
Although these performance metrics are available from the 3PAR CLI,
they are currently inaccesible in the evaluator/scheduler. The
proposed changes add these metrics to the volume status report and
thus make them accesible by the evaluator/scheduler.
In cinder/volume/drivers/san/hp/hp_3par_common.py, uses the 3PAR
client method HP3parClient.getCPGStatData to get performance metrics,
and adds new fields in the output of HP3PARCommon.get_volume_stats
corresponding to the performance metrics: IOPS throughput, bandwidth,
latency, io_size, queue_length, and avg_busy_perc. These metrics are
taken by averaging samples taken once per day for the last week.
In cinder/tests/unit/test_hp3par.py, adds unit tests in
TestHP3PARFCDriver.test_get_volume_stats and in
TestHP3PARISCSIDriver.test_get_volume_stats.
Closes-bug: #
1482741
Change-Id: If9e7b5ffd100489af6537f7dab970d89a6d70851
Jenkins [Fri, 14 Aug 2015 16:46:05 +0000 (16:46 +0000)]
Merge "Fix missing parameters in driver CG interface"
Jenkins [Fri, 14 Aug 2015 16:14:40 +0000 (16:14 +0000)]
Merge "Add multipath support to 3PAR iSCSI driver"
Jenkins [Fri, 14 Aug 2015 16:08:59 +0000 (16:08 +0000)]
Merge "Set default policy for "volume:get""
Kuo-tung Kao [Tue, 28 Jul 2015 09:44:57 +0000 (17:44 +0800)]
Don't use context.elevated to get volume
Original Problem:
=================
Since the metadata(readonly and attached_mode) is stored in admin metadata,
normal user need `run context.elevated` to retrieves admin metadata.
The above way will bring a side effect. Normal user can also get
any volume which the user shouldn't access when the user knows the UUID.
Solution:
=========
Use context instead of context.elevated to get volume.
And add admin metadata to it.
Based on cinder-meetup-summer-2015 conclusion, we use the solution.
The solution will need extra database connection.
Change-Id: I06f21e7578b65a59c0fe4d3afe0e882ed73c4725
Closes-Bug: #
1477625
Kendall Nelson [Mon, 20 Jul 2015 20:06:21 +0000 (15:06 -0500)]
Enable cinder-manage to remove services
These changes are to enable cinder-manage to remove old services
from the database like nova does. All that is being added is the remove
method to manage.py and tests to cover this new method in test_cmd.py.
The command will remove the binary from the list of running services
in the db that can be viewed via "cinder-manage service list". NOTE:
Active and restarted services will re-populate the DB with their current
status automatically.
To use this new command, the user types "cinder-manage service remove
<binary> <host>" and the service will be removed.
DocImpact
Change-Id: I3bcec824d3c5f65fdd187459428025993a2010a0
Implements-blueprint: add-cinder-service-removal
Vipin Balachandran [Fri, 14 Aug 2015 13:54:51 +0000 (19:24 +0530)]
VMware: Bump driver version
In Liberty we added support for volume placement in specific
vCenter clusters. This patch bumps the driver minor version
to reflect this.
Change-Id: Ic19dbb4cab77db95cca2f5fa7cea10b8bba3a497
Tom Barron [Wed, 5 Aug 2015 23:19:37 +0000 (17:19 -0600)]
Fix backup init_host volume cleanup
Backup service manager init_host method cleans up leftover volumes from
interrupted backup and restore operations. As the code is currently
written, it only does this for volumes with attachments.
This commit runs the volume cleanup for volumes in backing-up or restoring
state even when they do not have attachments.
Closes-bug:
1482548
Change-Id: I753c72b7adcdf57745deafaad7de616eb6243aa9
Vipin Balachandran [Thu, 30 Jul 2015 07:17:43 +0000 (12:47 +0530)]
VMware: Deprecate vCenter version less than 5.1
Log a warning if the vCenter server version is less than 5.1.
The plan is to enforce the version in M release.
DocImpact
Running Cinder with a VMware vCenter version less than 5.1 is
deprecated. The minimum required version of vCenter server will
be raised to 5.1 in the 8.0.0 release.
Change-Id: I38f520cace67ddcaf067787683ac47f50a6c0b3f
Jenkins [Fri, 14 Aug 2015 11:02:16 +0000 (11:02 +0000)]
Merge "VNX driver needs extra params for create cg from src"
Jenkins [Fri, 14 Aug 2015 09:19:42 +0000 (09:19 +0000)]
Merge "LVM Thin Provisioning auto-detect"
OpenStack Proposal Bot [Fri, 14 Aug 2015 09:14:34 +0000 (09:14 +0000)]
Updated from global requirements
Change-Id: I2e23700feb4dbba88f2de48624a401ac1c087463
Xinyuan Huang [Fri, 14 Aug 2015 08:50:05 +0000 (16:50 +0800)]
Small clean up in volume object
This call of __init__() is unnecessary.
Change-Id: I1513d4c392ef773d990a3b3f339fe87622a8c5b5