VMware Cloud Community
DexG83
Enthusiast
Enthusiast
Jump to solution

Resource Action on Cloud.vSphere.Machine

Hello Community,

I built a Resource Action that acts on Cloud.vSphere.Machine in an existing deplyoment.

The Orchestrator Workflow in that Resource Action should do two things with a REST Call on vRA:

  1. delete the virtual machine from deployment 
  2. update the deployment to (re)create the virtual machine

Doing this results in an Error on the Step "delete virtual machine" with:

Content as string: {"message":"Another conflicting request is already in progress.","statusCode":409,"errorCode":20009}

I think this is because the running Resource Action is not finished at this moment, so I cannot start a second one with my Orchestrator REST Call, isn't it?

Is there any way to achieve that goal?

 

thanks for any idea,

Dex

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
xian_
Expert
Expert
Jump to solution

We used an async workflow that waits for the previous request to finish.

View solution in original post

0 Kudos
2 Replies
xian_
Expert
Expert
Jump to solution

We used an async workflow that waits for the previous request to finish.

0 Kudos
DexG83
Enthusiast
Enthusiast
Jump to solution

Hey xian,

thank you very much! This is exactly what I was looking for.

In the meanwhile, I found a blog post that describes the solution very well. Maybe this is also handy for the community.

https://fluffyclouds.blog/2021/05/04/custom-add-disk-day-2-in-vra-cloud-8-x/

 

0 Kudos