VMware vCloud Director media upload fails with the error: cannot upload media, Placement Exception NO_FEASIBLE_PLACEMENT_SOLUTION
search cancel

VMware vCloud Director media upload fails with the error: cannot upload media, Placement Exception NO_FEASIBLE_PLACEMENT_SOLUTION

book

Article ID: 320471

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

Symptoms:
  • When attempting to upload media to a catalog, the upload appears successful, but the media tab shows the error.

    Cannot upload media
     
  • You see the error:

    Placement Exception NO_FEASIBLE_PLACEMENT_SOLUTION
     
  • On the vCloud Cell, the vcloud-debug.log shows entries similar to:

    Unable to execute task VDC_UPLOAD_MEDIA(com.vmware.vcloud.entity.task:<example UUID>) | vcd=<VCD_UUID>,task=<TASK_UUID>

    com.vmware.pbm.placement.PlacementException: PlacementException NO_FEASIBLE_PLACEMENT_SOLUTION


Environment

VMware Cloud Director 5.1.x

Cause

This issue occurs if all of the datastores in the storage profile selected during the upload are in the red threshold.

Resolution

To resolve this issue, either add storage that is not in a red threshold state to the profile, or change the thresholds in the existing datastores to allow a more tolerable threshold.

To change the thresholds:
  1. Log in to the vCloud Web UI as a System Administrator and click the Manage & Monitor tab.
  2. Navigate to vSphere Resources > Datastores & Datastore Clusters.
  3. Right-click on one of the datastores in the desired Storage Profile and select Properties.
  4. Under Status and Thresholds, adjust the Disk space threshold yellow: and Disk space threshold red: accordingly and click OK.

    Try the Upload Media task again and the media upload should now be successful.