How to reserve the compute resource like CPU, RAM, etc before making the provision call

Posted on

Hello,

We are trying to implement the automation, where the automation engine will talk to CloudForms (CF) using REST call, check the cluster resources from the DC. Based on the resources, it will make the request to provision the compute (VM) from the infrastructure providers like vSphere or RHV.

Our automation in nature will allow multiple user to provision the compute. In such scenario, there might be a possibility that, when some user check the resource it might be available and when he /she tries to provision the VM the resource might have been used by other user and the request will fail. Is there any way to reserve the resource for specific period and reserve for the resources for the user asked for?

Responses