During $evm.root['miq_provision'] vm.storage_name returns NIL. VM.Storage.Name is required for customer POC involving VMware VIX library. Current work-around is to force evm.refresh during a Power-On Event. VSphere 5.5 Update 2 Version-Release number of selected component (if applicable): 5.4 How reproducible: Occurs 3 out of five times. (Really noticed this in VSPHERE 5.5 vs. VSPHERE 5.1 but could be coincident.) Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The Core refresh only populates a few values for a VM (name, IP, power state, etc) but the relationship to storage is not part of that process. A full or targeted refresh would populate the full data about a VM. The suggested resolution here would be to retry during the CheckProvisioned or later state waiting for the storage name to be populated.
Changing status to Not a Bug as the product is working as designed.