VSC Provision Datastore " Unable to click Finish to complete"
Applies to
Virtual Storage Console 9.6P1
Issue
While provisioning a datastore using VSC's Datastore Provisioning Wizard, the Finish button is not enabled to complete the task.
In developer tools on chrome, you can observe the following error when clicking on the Finish button:
com.vmware.vijava.vim25.mo.Folder cannot be cast to com.vmware.vijava.vim25.mo.Datacenter
The javascript errors match up with the errors seen in kamino:
2019-11-04 15:43:19,646 (qtp1367068823-315 - /kamino/remoting/kaminoRmiExporter?sessionId=a9291be3339623687035717d84754e368863e35a&serviceUrl=https://serverx:443/sdk) INFO [DatastoreUtil] - getParentDatacenter Exception occured : com.vmware.vijava.vim25.mo.Folder cannot be cast to com.vmware.vijava.vim25.mo.Datacenter
2019-11-04 15:43:19,646 (qtp1367068823-315 - /kamino/remoting/kaminoRmiExporter?sessionId=a9291be3339623687035717d84754e368863e35a&serviceUrl=https://serverx:443/sdk) INFO [DatastoreUtil] - Returning from getParentDatacenter: Ended.