Thomas Goirand [Sat, 1 Aug 2015 22:13:25 +0000 (22:13 +0000)]
Disable zfs tests.
Thomas Goirand [Fri, 17 Jul 2015 19:07:28 +0000 (19:07 +0000)]
Using testr directly, not using run_tests.sh anymore
Thomas Goirand [Sat, 1 Aug 2015 16:52:38 +0000 (18:52 +0200)]
(build-)depends for this release.
Thomas Goirand [Sat, 1 Aug 2015 15:27:11 +0000 (17:27 +0200)]
Now packaging Liberty b2.
Thomas Goirand [Sat, 1 Aug 2015 15:26:52 +0000 (17:26 +0200)]
Merge tag '7.0.0_b2' into debian/liberty
Cinder liberty-2 milestone (7.0.0.0b2)
Conflicts:
cinder/volume/drivers/zfssa/zfssaiscsi.py
Jenkins [Tue, 28 Jul 2015 16:49:55 +0000 (16:49 +0000)]
Merge "Remove deprecated config options for Liberty"
Eric Harney [Mon, 27 Jul 2015 17:24:36 +0000 (13:24 -0400)]
Log which service is down
This changes the message "Manager for service cinder-volume
is reporting problems..." to
"Manager for service cinder-volume myhost@backend1 is
reporting problems..."
This makes it more clear in the log file which backend this
message is referring to.
Change-Id: I62172080084a01c0324ffb6ab8a0e4af2b47fb85
Jenkins [Tue, 28 Jul 2015 10:22:13 +0000 (10:22 +0000)]
Merge "Port StorwizeSVCDriver to use ABCMeta driver model"
Jenkins [Tue, 28 Jul 2015 08:32:13 +0000 (08:32 +0000)]
Merge "EMC VMAX Modify CG"
Jenkins [Tue, 28 Jul 2015 00:08:02 +0000 (00:08 +0000)]
Merge "Fix cleanup_temp_volume_snapshots for missing vol"
Jenkins [Tue, 28 Jul 2015 00:02:41 +0000 (00:02 +0000)]
Merge "Port XIVDS8K Driver to use ABCMeta driver model"
Jenkins [Mon, 27 Jul 2015 22:06:07 +0000 (22:06 +0000)]
Merge "XtremIO support for iscsi discovery auth"
Jenkins [Mon, 27 Jul 2015 21:33:52 +0000 (21:33 +0000)]
Merge "Fix doc string definitions"
Jenkins [Mon, 27 Jul 2015 20:52:31 +0000 (20:52 +0000)]
Merge "Add extra spec capability for Nimble Cinder Driver"
Mike Perez [Mon, 27 Jul 2015 20:44:27 +0000 (13:44 -0700)]
Remove deprecated config options for Liberty
num_iscsi_scan_tries and backup_service have been deprecated for at
least two releases or longer.
Change-Id: I4c99e0aa06fd6ff8fc38dda29e8132e0edd69257
UpgradeImpact: removed num_iscsi_scan_tries and backup_service conf opts
Jenkins [Mon, 27 Jul 2015 17:44:28 +0000 (17:44 +0000)]
Merge "Add multiple pools support for Huawei driver"
Jenkins [Mon, 27 Jul 2015 17:39:16 +0000 (17:39 +0000)]
Merge "Remove resource lock operation for HBSD"
Tom Barron [Sat, 25 Jul 2015 21:11:29 +0000 (17:11 -0400)]
Fix cleanup_temp_volume_snapshots for missing vol
The cleanup_temp_volume_snapshots method raises an exception that
causes the backup service to exit if there is a backup without a
corresponding volume.
This commit catches these exceptions so that the backup service is
not prevented from starting in this circumstance.
Change-Id: Ia1aac2fe78048df5fce595d5de181cb4930ea78d
Closes-bug:
1478599
Jenkins [Mon, 27 Jul 2015 15:51:11 +0000 (15:51 +0000)]
Merge "NetApp E-Series: Add debug tracing"
Jenkins [Mon, 27 Jul 2015 11:00:06 +0000 (11:00 +0000)]
Merge "Add volume_attachment to volume usage notifications"
Andrey Pavlov [Thu, 18 Jun 2015 13:19:51 +0000 (16:19 +0300)]
Fix doc string definitions
Changed """" at start of docstring to """
and changed ''' to """ in docstrings.
Docstring standards are here -
https://www.python.org/dev/peps/pep-0008/#documentation-strings
Closes-Bug: #
1466802
Change-Id: I7d03643845b0542deb52aed59edc1543827436ba
xqli-openstack [Fri, 24 Jul 2015 09:36:26 +0000 (02:36 -0700)]
Port StorwizeSVCDriver to use ABCMeta driver model
Use new ABCMeta driver model for StorwizeSVCDriver driver.
Also add empty function unmanage for ManageableVD.
Partially-implements: blueprint abc-driver-update
Change-Id: Ib92342186908a4e148fcb341b38de012047e8c22
Jenkins [Mon, 27 Jul 2015 02:14:27 +0000 (02:14 +0000)]
Merge "typos(?) in create_snapshots_in_db"
Raunak Kumar [Mon, 6 Jul 2015 18:40:40 +0000 (11:40 -0700)]
Add extra spec capability for Nimble Cinder Driver
Supported Extra Specs are
1. Performance Policy Name
nimble:perfpol-name = <Performance Policy Name>
2. Encryption
nimble:encryption = "yes"
Implements: blueprint nimble-add-extra-specs-support
Change-Id: I45a18b189746b778f10eecbf669be7943828e28b
Jenkins [Sun, 26 Jul 2015 18:35:33 +0000 (18:35 +0000)]
Merge "Refactoring of manager's create_volume flow"
Jenkins [Sun, 26 Jul 2015 18:35:07 +0000 (18:35 +0000)]
Merge "Remove unused arguments from c-vol's create_volume"
Shay Halsband [Mon, 8 Jun 2015 16:08:46 +0000 (19:08 +0300)]
XtremIO support for iscsi discovery auth
- Discover existing Initiator Groups (a grouping object for initiators)
from connection information.
- add unit tests for better code coverage.
- handle 'system is busy' array error.
Change-Id: Ia5df488ed0996fb6fb1b77016772e82323ac1f92
Partial-Implements: blueprint emc-xtremio-updates
Yusuke Hayashi [Sat, 25 Jul 2015 12:49:33 +0000 (21:49 +0900)]
typos(?) in create_snapshots_in_db
Other variables are used in line 783 (snap) and 784 (snapshot)
of cinder.volume.api.
Since it looks typo, I fix it.
Change-Id: I3f1aa3b71166e882c751362792fbf90477ecbd38
Closes-Bug: #
1478236
chenzongliang [Thu, 4 Jun 2015 03:47:17 +0000 (11:47 +0800)]
Add multiple pools support for Huawei driver
Pool aware scheduler support was introduced in Juno.
This patch proposes to add multiple pools support
for Huawei driver.
Co-Authored-By: Bob-OpenStack liuxinguo@huawei.com
Change-Id: Ibe3b2a123ea5c700d2c2f66d262a8161c5d3e129
Implements: blueprint huawei-storage-multiple-pools-support
Alon Marx [Sat, 25 Jul 2015 06:48:36 +0000 (09:48 +0300)]
Port XIVDS8K Driver to use ABCMeta driver model
Use new ABCMeta driver model for XIVDS8KDriver.
Change-Id: I24eae5d3622b950dd8ff4f516258a2a33dcf7847
Partially-implements: blueprint abc-driver-update
Jenkins [Sat, 25 Jul 2015 04:40:31 +0000 (04:40 +0000)]
Merge "Dell SC: Fix legacy bug, init_conn bug and REST API bug."
Jenkins [Sat, 25 Jul 2015 04:25:48 +0000 (04:25 +0000)]
Merge "XtremIO volume driver consistency group support"
Jenkins [Sat, 25 Jul 2015 01:45:29 +0000 (01:45 +0000)]
Merge "Don’t log warnings in Pure initialize_connection"
Jenkins [Sat, 25 Jul 2015 01:31:12 +0000 (01:31 +0000)]
Merge "Remove unused serialize_args method"
Jenkins [Fri, 24 Jul 2015 15:15:47 +0000 (15:15 +0000)]
Merge "Graceful shutdown WSGI/RPC server"
Jenkins [Fri, 24 Jul 2015 13:58:21 +0000 (13:58 +0000)]
Merge "Remove simple scheduler which is deprecated since Juno"
Michal Dulko [Tue, 21 Jul 2015 10:30:56 +0000 (12:30 +0200)]
Refactoring of manager's create_volume flow
This commit resolves a TODO item (bulk metadata create), rephrases
some comments and makes use of new TaskFlow functionality to save
results of revert command to make decisions in c-vol manager instead
of doing an ugly workaround by injecting the information into exception
raised.
Partial-Implements: blueprint taskflow-refactoring
Depends-On: I82ebd0102aa5f50d98d9d6b48b13cd659d6dbcec
Change-Id: Ia4739c87ca83ae725e16256e3f2c596c5e6d935b
Michal Dulko [Thu, 9 Jul 2015 07:05:10 +0000 (09:05 +0200)]
Remove unused arguments from c-vol's create_volume
Arguments snapshot_id, image_id, source_volid, source_replicaid,
consistencygroup_id and cgsnapshot_id in volume.rpcapi.create_volume
RPC method are duplicated either in request_spec dictionary passed as
one of the arguments or are saved into the databased and are retrieved
by flow processing the request.
To simplify the flow this commit removes these duplicated parameters
and adapts rest of the code to use occurrences that are already there.
Related-Blueprint: taskflow-refactoring
Change-Id: I4dbb57968358e8930b923275c2dfd0e44d7b40d8
Jenkins [Fri, 24 Jul 2015 09:11:53 +0000 (09:11 +0000)]
Merge "VMware:Replace vCenter calls with oslo.vmware calls"
OpenStack Proposal Bot [Fri, 24 Jul 2015 06:59:19 +0000 (06:59 +0000)]
Updated from global requirements
Change-Id: I9f0773836a392b3a51490dc7cbf334f18407f009
Jenkins [Fri, 24 Jul 2015 06:53:00 +0000 (06:53 +0000)]
Merge "Implement retype for Pure drivers"
Jenkins [Fri, 24 Jul 2015 06:41:16 +0000 (06:41 +0000)]
Merge "Revert "Remove X-IO volume driver""
Jenkins [Fri, 24 Jul 2015 05:51:55 +0000 (05:51 +0000)]
Merge "Add Cinder internal tenant support"
Jenkins [Fri, 24 Jul 2015 05:42:05 +0000 (05:42 +0000)]
Merge "Remove logging statements from migrations"
Jenkins [Fri, 24 Jul 2015 03:17:32 +0000 (03:17 +0000)]
Merge "Dell SC: Add support for driver retype"
Jenkins [Fri, 24 Jul 2015 03:08:23 +0000 (03:08 +0000)]
Merge "Removing OpenvStorage for no CI"
Jenkins [Fri, 24 Jul 2015 00:49:13 +0000 (00:49 +0000)]
Merge "Raise BadRequest for invalid replication status"
Jenkins [Fri, 24 Jul 2015 00:49:01 +0000 (00:49 +0000)]
Merge "Fix getting wwpn information in infortrend driver for DS4000"
Jenkins [Fri, 24 Jul 2015 00:48:50 +0000 (00:48 +0000)]
Merge "Fix properties extracting from image with glance api v2"
Yaguang Tang [Fri, 17 Jul 2015 03:02:22 +0000 (11:02 +0800)]
Remove simple scheduler which is deprecated since Juno
Chance and Simple scheduler functionality can be archived using
FilterScheduler, config details is described here:
http://docs.openstack.org/developer/cinder/api/cinder.scheduler.simple.html
The implementation has been deprecated in Juno,so we can remove
it safely now.
DocImpact
Change-Id: I92b302ea0404a35328bd7a36739c3e7846898392
Jenkins [Thu, 23 Jul 2015 23:34:54 +0000 (23:34 +0000)]
Merge "Remove "volume:services" rule from policy.json"
Jenkins [Thu, 23 Jul 2015 23:30:18 +0000 (23:30 +0000)]
Merge "Move volume.api test to correct location"
Patrick East [Thu, 23 Jul 2015 23:02:43 +0000 (16:02 -0700)]
Implement retype for Pure drivers
Currently retyping on the same backend requires a migration to occur
due to using the default implementation of retype on the base volume
driver.
Volumes on the Pure arrays do not have any differentiation
between volume types Cinder may be using. Because of this we can
implement a retype method that will be used whenever changing
types on the same backend that essentially does nothing except return.
Change-Id: Ibf4c57166fe5742cc7e079c4422f7efd2b6dce79
Closes-Bug:
1477780
Jenkins [Thu, 23 Jul 2015 19:49:14 +0000 (19:49 +0000)]
Merge "Filter cgsnapshots data on the DB side"
Sean McGinnis [Wed, 24 Jun 2015 21:55:33 +0000 (16:55 -0500)]
Dell SC: Add support for driver retype
Previously there was no need to support retype by the driver
since any kind of retyping would require migration. With the
addition of the ability to set specific Storage Profiles to
use by commit Icf76fceca5a0ae20bb08b276b0c41ef6cdb31087 we
now have something the driver can handle to optimize the
retyping operation.
This adds handling for changes in the selected Storage Profile
if the backend stays the same. Any other retype changes will
return failure, resulting in it falling back to full volume
migration.
Change-Id: I18c55e0392e18d1686546ba17cb99b53b7b50566
Jenkins [Thu, 23 Jul 2015 17:09:05 +0000 (17:09 +0000)]
Merge "Rename filename from il8n.rst to i18n.rst"
Xing Yang [Tue, 23 Jun 2015 20:49:37 +0000 (16:49 -0400)]
EMC VMAX Modify CG
This patch adds support for modify CG in VMAX driver.
implements blueprint emc-vmax-modify-cg
Change-Id: I23087f6b15dd305fa4e882ea4d8f30414a63c9c8
Shay Halsband [Thu, 21 May 2015 18:34:18 +0000 (21:34 +0300)]
XtremIO volume driver consistency group support
- Adding consistency group support using XtremIO REST API V2.
- Implements all OpenStack CG volume driver interfaces using XtremIO CG
capabilities.
Partial-Implements: blueprint emc-xtremio-updates
Change-Id: I2ddf629b0c97a849a2c95ca4a8b7a4dd4adccbec
Patrick East [Tue, 23 Jun 2015 00:38:30 +0000 (17:38 -0700)]
Add Cinder internal tenant support
This adds two new config options as well as a
helper method to get a RequestContext for the
Cinder internal tenant.
The current implementation will not create a
request context that can be used for calls to
other services, it is (as the name implies) only
for internal Cinder operations.
DocImpact: This adds new config steps that should
be covered in the Cinder docs including the new config
options: 'cinder_internal_tenant_project_id' and
'cinder_internal_tenant_user_id'
Implements: blueprint cinder-internal-tenant
Change-Id: I0c3263e71cf1a275a4538c35ebe1c7d750bb16e6
Jenkins [Thu, 23 Jul 2015 14:15:53 +0000 (14:15 +0000)]
Merge "Add drivers list generator"
Jenkins [Thu, 23 Jul 2015 14:11:55 +0000 (14:11 +0000)]
Merge "Prevent missing Purity hosts from raising errors"
Jenkins [Thu, 23 Jul 2015 14:02:22 +0000 (14:02 +0000)]
Merge "Backups: allow name to be specified during restore"
Jenkins [Thu, 23 Jul 2015 13:11:15 +0000 (13:11 +0000)]
Merge "Non-disruptive backup"
Vipin Balachandran [Wed, 15 Jul 2015 08:14:09 +0000 (13:44 +0530)]
VMware:Replace vCenter calls with oslo.vmware calls
Currently we call vCenter APIs to find storage policy
associated with a volume. There are methods defined
in oslo.vmware to query storage policies. This patch
replaces vCenter API calls with oslo.vmware method
calls.
Change-Id: I54e18e50e8423de51c43a277e701ddc9a9aef6da
Jenkins [Thu, 23 Jul 2015 12:49:46 +0000 (12:49 +0000)]
Merge "Add unit tests for cinder.api.v2.volumes"
Jenkins [Thu, 23 Jul 2015 12:46:00 +0000 (12:46 +0000)]
Merge "VMware: Create volume backing in specific clusters"
Atsushi SAKAI [Thu, 23 Jul 2015 07:34:21 +0000 (16:34 +0900)]
Rename filename from il8n.rst to i18n.rst
Internationalization's abbreviation is i18n.
This patch renames l to one.
Closes-Bug: #
1477393
Change-Id: Ia7f236bd6eae3bf8613f7589916905a811c68e65
Jenkins [Thu, 23 Jul 2015 10:07:50 +0000 (10:07 +0000)]
Merge "Dell SC: Fix Consistency Group issues"
Jenkins [Thu, 23 Jul 2015 08:11:19 +0000 (08:11 +0000)]
Merge "Tests: test_volume mock conversion"
Jenkins [Thu, 23 Jul 2015 07:33:10 +0000 (07:33 +0000)]
Merge "Fix restore point if backup base is diff-format in ceph"
Jenkins [Thu, 23 Jul 2015 03:15:42 +0000 (03:15 +0000)]
Merge "Add CHAP support for Huawei driver"
Jenkins [Thu, 23 Jul 2015 03:12:18 +0000 (03:12 +0000)]
Merge "DRBD: Define a separate prefix for snapshots"
Jenkins [Thu, 23 Jul 2015 00:02:27 +0000 (00:02 +0000)]
Merge "DRBD: Rename a constant to a better name"
Xing Yang [Mon, 22 Jun 2015 21:46:32 +0000 (17:46 -0400)]
Non-disruptive backup
This patch adds support for non-disruptive backup for
volumes in 'in-use' status as follows:
Adds a force flag in create backup API when backing up
an 'in-use' volume.
For the default implementation in volume/driver.py:
* Create a temporary volume from the original volume
* Backup the temporary volume
* Clean up the temporary volume
For the LVM driver:
* Create a temporary snapshot
* Obtain local_path for the temporary snapshot
* Backup the temporary snapshot
* Cleanup the temporary snapshot
Attach snapshot will be implemented in another patch.
Partial-implements blueprint non-disruptive-backup
Change-Id: I915c279b526e7268d68ab18ce01200ae22deabdd
Philipp Marek [Wed, 22 Jul 2015 11:36:24 +0000 (13:36 +0200)]
DRBD: Rename a constant to a better name
As requested in a Icb7347d55dc5b22720269405b6d2b4053c2ad819 review
(https://review.openstack.org/#/c/178573/19..20/cinder/volume/drivers/drbdmanagedrv.py)
constants should consist of uppercase letters only.
Change-Id: I2826fa091b9b7c092c5d436e0a3888cdfa6173a2
Seiji Aguchi [Wed, 20 May 2015 10:10:54 +0000 (19:10 +0900)]
Remove resource lock operation for HBSD
This patch removes unnecessary resource lock operation
from Hitachi Block Storage Driver.
DocImpact
Implements: blueprint hitachi-remove-resource-lock
Change-Id: Ia1f3cfb721fbc3a512627fe875de96927f5baa80
Signed-off-by: Seiji Aguchi <seiji.aguchi.tr@hitachi.com>
Tom Swanson [Tue, 21 Jul 2015 19:05:14 +0000 (14:05 -0500)]
Dell SC: Fix legacy bug, init_conn bug and REST API bug.
If Dell iSCSI ports are in legacy mode rather than virtual port
mode initialize_connection would fail to return connection information.
If initialize_connection was called more than once for the same
connection it would attempt to map the volumes again and fail. It should
instead just return the connection information and not try to map the
volumes again.
The Dell REST API 2.2 and later changed the format of the payload
filter. We need to support either format.
Finally consistency group support is only supported in Dell REST API
2.1 or later. If the version is 2.0 we raise NotImplemented.
Change-Id: Ie798c49a591abb510bd947fc89c26de18f0f3c87
Closes-Bug: #
1476786
Closes-Bug: #
1476794
Closes-Bug: #
1476797
Tom Swanson [Tue, 14 Jul 2015 17:21:19 +0000 (12:21 -0500)]
Dell SC: Fix Consistency Group issues
The Dell Storage Center driver was not honoring the consisgroup_id
in the volume object in volume creation. Updated create_volume,
create_cloned_volume and create_volume_from_snapshot to honor this
value.
The driver was also not checking that volumes were initialized prior
to snapshotting a consistency group. The Dell backend does not
actually create the volumes until there is data or the volumes are
mapped to a server.
On create_volume_from_snapshot the driver was not checking for
cgsnapshot_id before snapshot_id.
Changed from calling the db to update snapshots to retrieving
the SnapshotList() object.
In addition some tests were not checking results. Fixed that.
Change-Id: I896f7438c0b98003aa345ca1c3841aba8835cc2a
Closes-Bug: #
1474062
Closes-Bug: #
1474105
Closes-Bug: #
1475016
Anton Arefiev [Wed, 17 Jun 2015 15:57:34 +0000 (18:57 +0300)]
Add drivers list generator
It is useful to have a maintained (in source control) list
of drivers that exist in Cinder. It could be used in docs
and unit tests to check method impl on backend drivers.
This change add tool for generate list of drivers based on
existing BaseVD class in class hierarchy of volume drivers.
Output example:
Drivers: ['cinder.volume.drivers.lvm.LVMVolumeDriver',
'cinder.volume.drivers.rbd.RBDDriver',
...]
Implements: blueprint drivers-list-generator
Change-Id: I0e10906873e659e09a6e34531a0c932495d7c399
chenzongliang [Thu, 4 Jun 2015 09:35:12 +0000 (17:35 +0800)]
Add CHAP support for Huawei driver
CHAP authentication for iSCSI has already been
implemented in multiple drivers. The patch aims to
add this feature to Huawei driver.
Change-Id: Idb267cbf8cc237878eeb7e1f381a3440699b1342
Implements: blueprint huawei-storage-add-chap-support
Vipin Balachandran [Fri, 26 Jun 2015 12:23:26 +0000 (17:53 +0530)]
Move volume.api test to correct location
Test test_create_volume_with_consistencygroup_invalid_type in
tests.unit.api.v2.test_volumes is verifying consistency group
logic in cinder.volumes.api. This patch moves this test to
tests.unit.test_volume.py.
Change-Id: I0027f03fd084fd490c43e6a957f84a57de7523a6
John Griffith [Mon, 15 Jun 2015 21:23:39 +0000 (15:23 -0600)]
Remove logging statements from migrations
One of the things that I believe is causing problems with the move to
ostestr and concurrency in unit test run is the copious amounts of
logging that is coming from the db migrations. In most cases much of
this logging doesn't really seem all that useful, a debug or info log
stating a migration failed, followed by a raise which should generate
a stack trace with the error anyway, seems we could easily do without
this.
Also the "performing migration xxxx/completing migration xxxx" doesn't
seem overly helpful either. Keep in mind that the migration engine
does some amount of logging anyway.
In addition, catching the exceptions and logging them isn't overly
beneficial or needed either. When calling migrate from cinder-manage
if one of the migrations raises an exception that will be propogated
up to cinder-manage and displayed. In other words all of the info is
already available, so there's no need to put it here.
Finally, if you take a look in general most migrations in other
projects don't LOG every thing for the same reasons.
So this patch removes logging statement from the migrations themeselves.
Change-Id: I285df7061c79c79e217cccb2fe387437c20ff746
Philipp Marek [Mon, 20 Jul 2015 20:23:19 +0000 (22:23 +0200)]
DRBD: Define a separate prefix for snapshots
As snapshots and volumes are done via one namespace (DRBD resources),
having distinct names helps during debugging - it's easy to see which
type of Cinder element is.
Change-Id: I4080651c8ac471f1de93ab2b63a6cec46d583bce
Patrick East [Mon, 13 Jul 2015 22:49:40 +0000 (15:49 -0700)]
Prevent missing Purity hosts from raising errors
Occasionally a Purity host can be deleted out from underneath Cinder.
When this happens if cinder is attempting to disconnect a volume from
that host we should treat it as a ‘success’ since if the host is gone,
it is disconnected already (as far as Purity is concerned).
To prevent one cause of this, the disconnect method will now be locked
with the connect ones so that can’t delete a host we intend to re-use.
Change-Id: Iba82c93f9e101709cf5532225068474688187b29
Closes-bug: #
1472710
Richard Hedlind [Mon, 20 Jul 2015 14:41:12 +0000 (14:41 +0000)]
Revert "Remove X-IO volume driver"
This reverts commit
45e6482998478c953edd6973c2d8304efb910bdc.
Change-Id: I9b53fae7ab7462e3f6f90fdf573f9324a26e0f7c
Jenkins [Mon, 20 Jul 2015 14:09:07 +0000 (14:09 +0000)]
Merge "Remove obsolete API from documentation"
Jenkins [Mon, 20 Jul 2015 14:06:06 +0000 (14:06 +0000)]
Merge "Refactor Huawei Volume driver"
Yuriy Nesenenko [Tue, 30 Jun 2015 16:06:47 +0000 (19:06 +0300)]
Filter cgsnapshots data on the DB side
It filters cgsnapshots data on the DB side to improve performance.
Change-Id: I399ddec9d21345bf0496a293059963363c7c8cbe
Partial-Implements: blueprint data-filtering-on-the-db-side
Jenkins [Sun, 19 Jul 2015 16:14:47 +0000 (16:14 +0000)]
Merge "Remove lio_initiator_iqns config option"
Jenkins [Sun, 19 Jul 2015 15:38:06 +0000 (15:38 +0000)]
Merge "Add white list support for target ports in VNX driver"
chenzongliang [Thu, 4 Jun 2015 02:43:07 +0000 (10:43 +0800)]
Refactor Huawei Volume driver
This patch attempts to refactor Huawei volume driver in liberty.
We add a base driver to implement the basic functions.
The sub-class will inherit from the base driver according to different
storages.
The following changes were made in this refactor:
1. Abstract a base class named HuaweiBaseDriver to make Huawei driver more
universal. You can find it in the huawei_driver.py.
2. Put all static variables into the constants.py.
3. Rename rest_common.py to rest_client.py. rest_client.py stores the
relevant methods implemented for Huawei driver.
4. Migrate some public methods from rest_client.py to huawei_utils.py,
such as parse_xml_file(), _get_volume_type() and so on.
5. This refactor only involves structural adjustment and does not involve
functional changes.
Change-Id: I768889e2577a4d975397218eb31e89b42e08e04f
Implements: blueprint refactor-huawei-volume-driver
Mathieu Gagné [Tue, 14 Jul 2015 23:44:16 +0000 (19:44 -0400)]
Add volume_attachment to volume usage notifications
This change adds volume_attachment to volume usage notifications
sent by Cinder. This information is useful for billing and audit purposes.
Closes-bug: #
1474596
Change-Id: I0698a7d90e61df9e0cb46cee23519ac334b36def
Mitsuhiro Tanino [Wed, 24 Jun 2015 03:49:50 +0000 (23:49 -0400)]
Graceful shutdown WSGI/RPC server
Change-ID I80487f559302b0e88953835ffb4a3bfe2a347501 introduces
oslo.service into Cinder. The graceful shutdown of RPC server
was introduced via merging of oslo.service.
Actual fix was introduced by https://review.openstack.org/#/c/190175/
into oslo.service.
The oslo.service fix provides this facility through it's wait()
method, so we need to call it in Cinder Service wait() method
which gets called when graceful shutdown is requested by sending
the process SIGTERM.
Change-Id: Iea877e062272103ea48583b5638dec6174e99de0
Closes-Bug:
1464822
Abhishek Lekshmanan [Mon, 8 Jun 2015 11:14:22 +0000 (16:44 +0530)]
Backups: allow name to be specified during restore
This commit adds the ability to specify a `name` attribute during backup
restore. This will create a volume with the specified name during
restore, instead of the default pattern of the form
`restore-backup-<id>`. In case volume id is specified the `name`
attribute is ignored.
DocImpact
APIImpact
Implements: blueprint backup-restore-display-name
Change-Id: I23730834058d88e30be62624ada3b24cdaeaa6f3
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Thomas Goirand [Fri, 17 Jul 2015 13:52:21 +0000 (15:52 +0200)]
Merge branch 'debian/liberty' of git+ssh://git.debian.org/git/openstack/cinder into debian/liberty
Thomas Goirand [Fri, 17 Jul 2015 13:50:56 +0000 (15:50 +0200)]
Fixed OSLO_PACKAGE_VERSION for last PBR version.
Jenkins [Fri, 17 Jul 2015 04:48:03 +0000 (04:48 +0000)]
Merge "Fix getting out-of-date volume operation state issue for VNX"
Jenkins [Fri, 17 Jul 2015 04:40:46 +0000 (04:40 +0000)]
Merge "Support SMI-S provider v8.0.3 in VMAX driver"
Jenkins [Fri, 17 Jul 2015 04:39:59 +0000 (04:39 +0000)]
Merge "Fix 3PAR driver handling of existing VLUNs"
Jenkins [Fri, 17 Jul 2015 04:39:45 +0000 (04:39 +0000)]
Merge "scality: add export and name keys to os-initialize_connection info"