Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1125097

Summary: [RFE][cinder]: Cinder_VMFS:Enabling User defined list of datastores while provisioning vmfs volume
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/vmfs-volume-user-define-ds
Whiteboard: upstream_milestone_none upstream_definition_obsolete upstream_status_unknown
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2014-07-31 04:06:39 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/cinder/+spec/vmfs-volume-user-define-ds.

Description:

Background:
In the existing design, when an VMFS volume creation is done, the following occur
1.	If normal VMFS volume is created then one database entry is inserted
2.	While attaching VMFS Volume to an instance, a shadow VM with VMDK disk is created in the datastore where the instance is running.
3.	Another scenario, when VMFS volume is created with an image or snapshot, then a shadow VM with VMDK disk is created in a datastore, which is chosen among all the datastores present in the VCenter. And while attaching this volume to an instance, the shadow VM is migrated to the datastore where instance is running.

Here the problem is that user has no control over where to store volume created in the second scenario. If VCenter is being shared by more than one group or cloud user is not supposed to use all the datastores in the VCenter, then there is no way to restrict vmfs driver to set of datastores only.

Proposal: If vmfs cinder driver accepts list of datastores as well while creating volume from image or snapshot, then it will choose from that list only, hence we can confine volume datastores.
We can supply lists of datastores using Volume type attributes.


Specification URL (additional information):

None