ConfigMgr

VMware, Azure and Automation

VCDA – Operation canceled

5 juni 2023 Cloud Director Solutions VMware

I was working on setting up a protection from an on-prem vCenter to a cloud site running VMware Cloud Director but whatever I did, I received an error message “Operation canceled due to an unexpected error”. From my point of view, an error is always unexpected, but I wanted to figure out what was going on.

The error in the GUI was too general but in the replicator log of the VMware Cloud Availability Replicator Appliance I saw this error:

2023-06-01 10:46:48.651 ERROR - [UI-8babdb5f-b844-4701-a350-6db8d8ce088a-r13165-1o-ux-7R] [https-jsse-nio-8043-exec-7] c.v.h.c.c.error.ExceptionAdvisorBase : A POST request from __system[<IP address>] to /inventory/2899b2c2-94dd-46a9-8738-11632cc384ce/vms/vm-by-name failed.

com.vmware.vlsi.client.exception.VlsiClientException: VC not found: 2899b2c2-94dd-46a9-8738-11632cc384ce

The vCenter was not found? Strange! So I checked the UUID of the vCenter server. SSH into the vCenter appliance with your favorite SSH tool, log in as root and run this command:

grep instanceUuid /etc/vmware-vpx/instance.cfg

Then I checked the UUID in the Cloud Director database. SSH to the primary node of Cloud Director and log in as root. The run these commands:

su - postgres
psql vcloud
select name, url, uuid from virtual_center;

The UUID from both commands was different so that was the reason for the VC not found error. How to solve it? Run this command on your cloud database after taking a backup:

update virtual_center set uuid = '<UUID from vCenter>' where uuid = '<Wrong UUID>';

Run this without the <>…

After changing the UUID in the vcloud database the error was gone and I could configure the protection.

VxRail Console Commands

Cloud Director VAMI Setup - NFS Errors

Recent Posts

  • Using API for Aria OPS Chargeback
  • Unable to set reservation on Org VDC
  • Veeam Tweaks
  • VCF Anyone? Get your license for free…
  • Configure Entra ID as Cloud Director IdP

Recent Comments

Geen reacties om te tonen.

Archives

  • april 2025
  • maart 2025
  • november 2024
  • oktober 2024
  • januari 2024
  • november 2023
  • oktober 2023
  • september 2023
  • juni 2023
  • mei 2023
  • april 2023
  • november 2022
  • maart 2021
  • februari 2021
  • januari 2021
  • november 2020
  • oktober 2020
  • september 2020
  • juli 2020
  • juni 2020
  • april 2020
  • maart 2020
  • februari 2020
  • oktober 2019
  • september 2019
  • juli 2019
  • juni 2019
  • mei 2019
  • maart 2019
  • februari 2019
  • januari 2019
  • december 2018
  • november 2018
  • april 2018
  • januari 2018
  • juli 2017
  • juni 2017
  • mei 2017

Categories

  • AnyLinq
  • Azure
  • Cloud Director
  • ConfigMgr
  • DIY
  • HomeAssistant
  • Microsoft
  • PowerCli
  • Powershell
  • SCCM
  • Script
  • Solutions
  • System Center
  • Veeam
  • VMware
  • vRealize Automation
  • vRealize Orchestrator
Proudly powered by WordPress | Theme: Doo by ThemeVS.