Error: "Operation canceled due to an unexpected error" when changing storage policy on an existing replication
search cancel

Error: "Operation canceled due to an unexpected error" when changing storage policy on an existing replication

book

Article ID: 451223

calendar_today

Updated On:

Products

VMware Cloud Director VMware Live Recovery

Issue/Introduction

  • When attempting to change the storage policy for a replication in VMware Cloud Director Availability (VCDA), the operation fails and displays the error:

    Operation canceled due to an unexpected error

  • A "Created Disk C4-########-####-####-####-############' begins and fails immediately.
  • In the manager.log, the following error is observed:

    The operation failed because no suitable resource was found. Out of 1 candidate hubs: 1 hubs eliminated because: No valid storage containers found for VirtualMachine "########-####-####-####-############". All ## available storage containers were filtered out as being invalid. Rejected hubs: resgroup-#### Storage containers were rejected for the following reasons: ## storage containers rejected because: Threshold would be violated. Rejected storage containers:... ## storage containers rejected because: They do not have enough storage capacity. Rejected storage containers:... storage containers rejected because: They do not support the required storage policy: <storage policy name>. Rejected storage containers:... - PlacementException NO_FEASIBLE_PLACEMENT_SOLUTION

Environment

VMware Cloud Director Availability 4.7.x
VMware Cloud Director 10.6.1.x

Cause

This issue occurs when the destination Organization VDC (Org VDC) is not configured as Elastic. In environments where a Provider VDC is backed by multiple clusters, a non-elastic Org VDC restricts the placement engine to a single resource pool. If the requested storage policy is only available on datastores attached to other clusters within the same PVDC, the placement engine will fail to find a suitable resource.

Resolution

To resolve this issue, enable elasticity on the affected Organization VDC to allow the placement engine to span multiple clusters.

  1. Log in to the VMware Cloud Director provider portal.
  2. Navigate to Resources > Org VDCs.
  3. Select the affected Organization VDC.
  4. Navigate to Allocation > Edit.
  5. Toggle the switch for Elasticity to Enabled.
  6. Save the changes.
  7. Retry the storage policy change in VMware Cloud Director Availability.