Bug 1041729

Summary: [RFE][cinder]: Add multiple NexentaStor hosts/volumes support in nexenta iSCSI volume driver.
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/cinder/+spec/volume-driver-multi-nexenta
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_obsolete
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:26:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 18:51:40 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/cinder/+spec/volume-driver-multi-nexenta.

Description:

There are many use-cases where we need to support multiple hosts to choose from to serve as a backend for Cinder volume or backup.  This is easily supported in NFS driver via 'nfs_shares' config option in Cinder.
In Nexenta iSCSI driver we can add similar behavior by specifying another config file named, say, 'nexenta_volume_hosts' with the similar format. The file will contain lines looking as: 'nexenta_volume http[s]://user:pass@host:[port]'. Each line will be read during driver initialization and NexentaStor NMS service will be connected using passed params. Then we can choose between different backend hosts to perform volume creation/backup based on free capacity (as done in NFS driver) or other characteristics.
Please proceed to https://review.openstack.org/#/c/47005/ for code review.

Specification URL (additional information):

None