Error: "Unable to retrieve storage policy"
search cancel

Error: "Unable to retrieve storage policy"

book

Article ID: 416022

calendar_today

Updated On:

Products

VMware Integrated OpenStack

Issue/Introduction

  • VIO Instance creation failure
  • OpenStack Nova scheduler could not find a vSphere datastore that met all the storage policy requirements for the instance being created.

Oct 02 07:21:23 controller-###### nova-compute[880]: 2025-10-02 07:21:23.830 1 ERROR nova.virt.vmwareapi.ds_util [req-########-####-####-####-############ ######################################## ######################################## - ######################################## ########################################] Unable to retrieve storage policy with name VSAN-###-####-####

Oct 02 07:21:23 controller-###### nova-compute[880]: 2025-10-02 07:21:23.831 1 ERROR nova.compute.manager [req-########-####-####-####-############ ######################################## ######################################## - ######################################## ########################################] [instance: ########-####-####-####-############] Instance failed to spawn: nova.exception.DatastoreNotFound: Storage policy VSAN-###-####-#### did not match any datastores

Environment

7.x

Cause

  • This problem occurs when there is communication issues between Openstack and vCenter Storage Policy-Based Management (SPBM) service, and the underlying vSAN policies incompatible.
  • This would be the reason that nova failed stating Storage policy did not match any datastores.

Resolution

 

  1. Navigate to VM Storage Policies in vCenter GUI
  2. Check for the policy for which the error is being reported under the list of policies.
  3. Once identified the exact policy, click on it 
  4. Check for "INCOMPATIBLE" list under Storage Compatibility tab.
  5. Check for the datastore <VSAN Datastore Name> (Specific to environment and the one which the error is reported) and if it is listed in the "INCOMPATIBLE" datastore list under Storage Policy name.
  6. Once validated check and make datastore  <VSAN Datastore Name>"  compatible for Storage Policy.