• About me…
  • VMware
  • Powershell
  • DIY

ConfigMgr.nl

VMware, PowerShell, Automation, and more…

  • About me…
  • VMware
  • Powershell
  • DIY

vRA – Request failed, VM not found, and possibly deleted before provisioning finished

25 februari 2019 Solutions VMware vRealize Automation No Comments

This week I was working on a vRealize Automation blueprint that was used for deploying Windows servers. The blueprint already had the possibility to choose between Windows Server 2012R2 and Windows Server 2016. I added the choice of Windows Server 2019. However, the deployment of a new 2019 server failed.

The first error I received was during the customization of the OS.

The error was caused by a wrong KMS client key. After replacing the wrong key with a correct one the customization worked. However, now I received another error.

This error was related to the IPAM system that was used in vRA. After copying the template to a new VM and customizing the OS, the host record needs to be updated because the VM gets a new name. But this workflow ended with an error

Sorry for the image size but the error says “IPAM Provider Error: Unable to update host record: no host records were found in IPAM”

So the question was “why is the host record not found?”

The answer to this question is: “because the VM changed it.”

After converting the template to a VM I could log in to the OS. Going to the network configuration, TCP/IPv4, DNS showed me the cause of the problem: 

When the template was cloned and the resulting VM was booted, it registered itself in the IPAM thereby overwriting specific vRA attributes of the host record. When searching for the record using those attributes it could not be found… And vRA deleted the deployed VM…

Simply uncheck this option and the deployment was successful.

DIY Ambilight

vRO - Import configuration - Exception occured. Could not extract ResultSet

Geef een antwoord Reactie annuleren

Deze site gebruikt Akismet om spam te verminderen. Bekijk hoe je reactie-gegevens worden verwerkt.

Recente berichten
  • Copying Home Assistant configuration to GitHub
  • Handy one-liners
  • The system has insufficient locker space for the image profile
  • Testing Script Runtime Service for vSphere – part 2
  • Reporting on your Windows Server backup
Categorieën
Proudly powered by WordPress | Theme: Doo by ThemeVS.