VMware Cloud Community
kevin_tor
Contributor
Contributor

A very wired behavior in VRA VM expirer data

Good afternoon, I am running into a interesting stuff.

When CRA request a vm , it require a lease days. And it write to __Cafe.Request.VM.LeaseDays

like this :

id          : 1428169
name        : __Cafe.Request.VM.LeaseDays
value       : 99999
isHidden    : False
isRuntime   : False
isEncrypted : False

 

But in VRA portal it shows differente value. See attachment.

Where is the date save? I am try to use powerVRA (It should use REST API) to retrive this info, but where this info saving?

 

Thank in advance for nay help. 🙂

 

 

 

name        : __Cafe.Request.VM.LeaseDays
value       : 99999
isHidden    : False
isRuntime   : False
isEncrypted : False
Reply
0 Kudos
1 Reply
eservent
Enthusiast
Enthusiast

Hello Kevin,

In your screenshot, lease days is not the requested lease but the "current" lease of your virtual machine.

So in your case, 1560 days are the life time of the machine.

When you requested your vm, you set 99999 days of lease, so after (99999 - 1560) days, your machine will be powerOff and archive duration will start.

At the end of the archive duration, the vm will be destroyed...

To know when your VM will expire, you can read under "Lease Cost", "Expires", that is the date in (99999 - 1560) days before expiration.

Is that clearer ?

Emmanuel.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Emmanuel.
Reply
0 Kudos