Bug 1419060

Summary: [RFE] Auto selection of datastore while provisioning the host in VMware.
Product: Red Hat Satellite Reporter: Varatharaja Perumal G <vgunasek>
Component: Compute Resources - VMWareAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Sanket Jagtap <sjagtap>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.5CC: ajoseph, bmidwood, chrobert, inecas, jcallaha, mhulan, msomasun, nshaik, rraghuwa, sjagtap, wpinheir
Target Milestone: 6.4.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-16 15:27:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Select the storage pod
none
Selected datastores none

Description Varatharaja Perumal G 2017-02-03 15:07:12 UTC
1. Proposed title of this feature request
  
  [RFE] Auto select datastore while provisioning the host in VMware.

2. What are the nature and description of the request?
	
 When we create a compute profile, Satellite recognizes the datastore cluster, But then it ask us to select a datastore. The customer feels that the datastore should be selected based on VMWare's storage recommendation at the time of the VM build. That's the whole point of the datastore cluster - Cu should be able to provision 100 VMs at a time and not have to worry about filling up single datastore. Satellite should negotiate with VMWare to evenly distribute the VMs. Cu don't want to configure different compute profile for each datastore. He wants to use a single compute profile where it negotiates for datastore to avoid manual work.

3. Why does the customer need this?

 Tie the compute profile only to a datastore cluster so we do not need multiple profiles.

 Satellite should then negotiate the target datastore with vSphere at the time of building a host.

 Make Satellite provisioning aware of vSphere Storage DRS to support the above.

4. How would the customer like to achieve this?

  Customer want to achieve this from WebUI or API

5. Is there already an existing RFE upstream or in Red Hat Bugzilla? 

Not that I'm aware of.

8. Does the customer have any specific timeline dependencies and which release 

Sooner is better. 

9. Would the customer be able to assist in testing this functionality if implemented?
yes

Comment 3 Marek Hulan 2017-10-23 16:31:52 UTC
*** Bug 1419181 has been marked as a duplicate of this bug. ***

Comment 5 Satellite Program 2017-10-27 20:14:25 UTC
Upstream bug assigned to szadok

Comment 6 Satellite Program 2017-10-27 20:14:29 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/4509 has been resolved.

Comment 11 Sanket Jagtap 2018-09-11 12:48:04 UTC
Build:Satellite 6.4.0 snap21

Created a Host with Storage Pod, that is a data-store cluster

When we select the storage pod we can no more select the data-store and host will automatically be provisioned in the data-stores that are present in Storage pod by Vmware cluster Policy.

PFA for the host settings

Comment 12 Sanket Jagtap 2018-09-11 12:50:05 UTC
Created attachment 1482350 [details]
Select the storage pod

Comment 13 Sanket Jagtap 2018-09-11 12:51:13 UTC
Created attachment 1482351 [details]
Selected datastores

Automatically the datastore for the storage of the host is selected based on Vmware policy

Comment 15 errata-xmlrpc 2018-10-16 15:27:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2927