"No valid storage container found for VIRTUAL_MACHINE_DISK" when SDRS is enabled for cluster
search cancel

"No valid storage container found for VIRTUAL_MACHINE_DISK" when SDRS is enabled for cluster

book

Article ID: 386043

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

Deployment of vAPP from vcloud Director fails with "PlacementException NO_FEASIBLE_PLACEMENT_SOLUTION"

The reason listed before is "No valid storage container found for"

SDRS is enabled for the cluster inside vcenter

Events in debug log show this sequence:

  1. "List of storage containers is reduced to 1 after running filter "
  2. "Invoking SDRS recommendDatastores for placement result"
  3. "Calculated SDRS recommendations for subject"
  4. "Using the free space worst fit storage placement algorithm to place"
  5. "Single container placement failed. Attempting to place items in seperate containers..."
  6. "Not considering container 'moref://XXX/Datastore#datastore-XXX' for item 'VmDiskRef://NEW_DISK/0?3#0' as container does not have required storage capacity"
  7. "No valid storage containers found for item with URI: VmDiskRef://NEW_DISK/0?3#0"

Environment

VMware Cloud Director 10.3

Cause

vCloud director is not able to consider new valid container as per SDRS filtering from vcenter

Since the only valid container had no space for the disk of the VM, the deployment fails

 

Resolution

Disable SDRS on vcenter side for the DS cluster to allow vcloud director to use different DS

OR

Increase the space on the failed datastore if this is a requirement as per design

Additional Information

The message "NO_FEASIBLE_PLACEMENT_SOLUTION" is generic and only means that the placement was not possible after filtering all requirements

It is necessary always to confirm the reasons for the filter to fail after this message "Storage containers were rejected for the following reasons: "

Some of the errors after this message are expected and are not relevant as vcloud will filter every single datastore available for a possible match