VMware Cloud Community
CBaum
Contributor
Contributor

Stale VM information in Vrops API?

Running into some weird issues with our vrealize.  Maybe it's a bug/defect or maybe it's a design 'feature', I can't figure it out.  Two oddities I am seeing:

1.  A VM was deleted from vcenter 9-10 days ago.  It is still showing up in vrealize API, but not the console.  Worse yet, under the PropertiesofResource HREF for that VM it is showing as "Powered On".  What is going on with that?

2.  I have a VM that I have created and deleted a dozen times for some testing.  If I look for that VM in vreazlie API, I see 12 entries for that VM. 

Is this by design?  If so I can't imagine why, especially when the VM isn't seen in the GUI console.  

0 Kudos
1 Reply
MichaelRyom
Hot Shot
Hot Shot

Not sure... But VMs are keep in the db on till 15 days after deletion, as i recall. Theres a setting in the global settings which takes care of this.

That might be a reason... Could you check the deletion schedule and check if the API returns deleted objects which are older than that ?

Blogging at https://MichaelRyom.dk
0 Kudos