Community
 
 
 

CloudPlatform 3.x

343 abonnés
 
Avatar
Pankaj Paliwal

VM instances not removed from cloud.vm_instance tabl

Avatar

VM instances not removed from cloud.vm_instance tabl

We have configured the expunge.delay and expunge.interval settings to 300 but VM instances are not being removed from the vm_instance table in the Cloud DB. The state shows "expunging" and the removed column is populated with the date and time when the VM was deleted by the user. Is the vm_instance suppose to keep these rows forever? I was expecting these rows to be deleted at some point.


Kevin Dorle MEMBERS
2 commentaires
0

Vous devez vous connecter pour laisser un commentaire.

 
 

Previous 2 commentaires

Avatar
Pankaj Paliwal
Avatar

VM instances not removed from cloud.vm_instance tabl

Hi,

This is by design. "expunging" is the last state in a VM life cycle. The record for the VM will exists in the "vm_instance table" in Cloud DB for future reference.

The way to confirm if a VM and the associated objects have indeed been removed (garbage collected) is to look at the "removed" column/field in the "vm_instance" table. In case it has a date then the the particular VM and associated objects (at least metadata) has been removed. If it is null then they still exists.

Hope this clarifies.

Regards,
Somesh


Somesh Naidu CITRIX EMPLOYEES
Actions pour les commentaires Permalien
Avatar
Pankaj Paliwal
Avatar

Thanks Someshn. It might make sense to change the state in the vm_instance table to "expunged" to indicate the process is complete. The term "expunging" implies the process is still working.


Kevin Dorle MEMBERS
Actions pour les commentaires Permalien

Top Contributors