VMware Cloud Community
zmCZ
Contributor
Contributor
Jump to solution

Approval Policy for LeaseTime change

Hi guys ,

I'm working with vRA 7.6 Advanced and I've got an issue setting up an approval policy for changing lease time.

Our blueprints have lease time range set to 1 - 365 days and if a user is requesting blueprint with a lease longer than 30 days it requires approval.

This part works perfectly.

But of course I need to cover also the "Change Lease" action, so if user requests again lease longer than 30 days it must require approval and this is where I fail to make it work.

I've created an approval policy of type: Service Catalog - Resource Action Request - Change Lease - Deployment

and assigned it to change lease action in proper entitlement.

But every time I make change lease request that should match the requirements for the approval, it's just approved without asking.

I've tried both pre and post-approval options, but it made no difference.

I can see that the approval is not ignored, the request for pre-approval is actually fired, but immediately approved.

Any ideas what am I doing wrong, or is it even possible to do what I'm trying to achieve?

pastedImage_1.pngpastedImage_2.png

Reply
0 Kudos
1 Solution

Accepted Solutions
zmCZ
Contributor
Contributor
Jump to solution

So we've talked to our VMware support guy.

Basically they are aware of the issues and it's supposedly fixed in vRA8.

They are not planning to release fix for other versions.

View solution in original post

4 Replies
sappomannoz
Hot Shot
Hot Shot
Jump to solution

Hi,

same issue here, did you find a solution?

regards

Cristiano

Reply
0 Kudos
ktungeman
Contributor
Contributor
Jump to solution

Hey guys- not sure, but I'm kind of going through this right now too. I've configured a policy much like you have below, but I used Business Group->NAME->Equals-><bizgroupname>, and it seems to work. Although- I'm falling down where it looks like you've succeeded- this seemingly only works for machines ALREADY deployed, and then requesting their leases be extended. How did you get the initial deployment to trigger an approval upon 30+ day lease time?

Reply
0 Kudos
zmCZ
Contributor
Contributor
Jump to solution

Hey ,

I was not able to make work what works for you :smileygrin:.

Capturing in case of new deployment request is done by this policy.

This can be applied on whole service or single blueprints.

pastedImage_1.png

Reply
0 Kudos
zmCZ
Contributor
Contributor
Jump to solution

So we've talked to our VMware support guy.

Basically they are aware of the issues and it's supposedly fixed in vRA8.

They are not planning to release fix for other versions.