]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
LeftHand: Implement v2 replication (unmanaged)
authorAlex O'Rourke <alex.orourke@hpe.com>
Mon, 23 Nov 2015 18:43:13 +0000 (10:43 -0800)
committerAlex O'Rourke <alex.orourke@hpe.com>
Fri, 22 Jan 2016 22:27:49 +0000 (14:27 -0800)
commitaba098e575ba9da2715980f2f197aa67752684cb
tree3eb63a694b1b0878b595e31455898cfa2312afaf
parente1349f8b619190db2d3e05ce5cfe66f5c65cc761
LeftHand: Implement v2 replication (unmanaged)

This patch implements the unmanaged side of v2 replication in the HPE
LeftHand driver.

With unmanaged replication, the original driver instance will handle
all provisioning requests even after a failover.

cinder.conf should have the replication config group:

[lefthandrep]
hpelefthand_api_url = https://10.10.10.10:8081/lhos
hpelefthand_username = user
hpelefthand_password = pass
hpelefthand_clustername = vsa-12-5-mgmt1-vip
volume_backend_name = lefthandrep
volume_driver = cinder.volume.drivers.hpe.hpe_lefthand_iscsi.\
                HPELeftHandISCSIDriver
replication_device = target_device_id:lh-id,
                     hpelefthand_api_url:https://11.11.11.11:8081/lhos,
                     hpelefthand_username:user2,
                     hpelefthand_password:pass2,
                     hpelefthand_clustername:vsa-12-5-mgmt2-vip

Change-Id: I3c489e986648eee16b3bf5a19799a4ea0c0240b0
Implements: blueprint hp-lefthand-v2-replication
DocImpact
cinder/tests/unit/test_hpelefthand.py
cinder/volume/drivers/hpe/hpe_lefthand_iscsi.py
releasenotes/notes/lefthand-v2-replication-unmanaged-315c2888423f0f3b.yaml [new file with mode: 0644]