Bug 2186114

Summary: Provisioning vm on VMware data store cluster using API fails with error InvalidDatastorePath: Invalid datastore path
Product: Red Hat Satellite Reporter: Yogendra <yyadav>
Component: Compute Resources - VMWareAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.11.4CC: chrobert, lstejska, mhulan
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Yogendra 2023-04-12 06:35:14 UTC
Description of problem:
 
  - When provisioning hosts on Vmware data store cluster using API fail with error InvalidDatastorePath: Invalid datastore path  '[clustername]'. 

Version-Release number of selected component (if applicable):

  - Red Hat Satellite Version 6.11

How reproducible:

  - Specify data store cluster which contains multiple pods in Compute resource and then try to provision host using api

Steps to Reproduce:

  1. WebUI -> Infrastructure -> Compute Profile -> select any -> select your compute resource -> go to section Storage -> Specify Datastore cluster which contains multiple pods.

  2. Now try to provision hosts using api and it fails with error InvalidDatastorePath: Invalid datastore path

  3. If we try to provision hosts on VMware  data store cluster using Red Hat Satellite Web UI it is completed successfully.

Actual results:

  - API Provision fails with error InvalidDatastorePath: Invalid datastore path  '[clustername].

Expected results:

  - Hosts provision should complete without error.

Additional info:

  - When specified with datastore specific pod api provisioning is working.