Hello Team,

We've encountered an issue with our cloudstack setup on 3 XCP-ng hosts.
Suddenly, VM deployments are failing.

Our configuration includes a primary storage of type 'presetup' using HBA.
Interestingly, the storage functions properly in the XEN cluster, allowing
us to deploy VMs directly in xen.

However, in cloudstack, deployments are failing with the following logs:
"StoragePool is in avoid set, skipping this pool."

Could someone please provide guidance on why it's in the avoid set and how
we can remove it from there?

Full logs are provided below for reference.


024-02-27 11:24:04,879 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671
 ctx-02929e21) (logid:97976fdd) Looking for pools in dc [1], pod [1] and
cluster [1]. Disabled pools will be ignored.
2024-02-27 11:24:04,881 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671
 ctx-02929e21) (logid:97976fdd) Found pools [[Pool[1|PreSetup]]] that match
with tags [[]].
2024-02-27 11:24:04,885 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671 ctx
-02929e21) (logid:97976fdd) Checking if storage pool is suitable, name:
CLOUDSTACKVOL1 ,poolId: 1
2024-02-27 11:24:04,885 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671 ctx-02929e21)
(logid:97976fdd) StoragePool is in avoid set, skipping this pool
2024-02-27 11:24:04,885 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671 ctx-02929e21)
(logid:97976fdd) ClusterScopeStoragePoolAllocator is returning [0] suitable
storage pools [[]].
2024-02-27 11:24:04,891 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671 ctx-02929e21)
(logid:97976fdd) ZoneWideStoragePoolAllocator is returning [0] suitable
storage pools [[]].
2024-02-27 11:24:04,891 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671 ctx-02929e21)
(logid:97976fdd) No suitable pools found for volume:
Vol[1182|name=ROOT-1133|vm=1133|ROOT] under cluster: 1
2024-02-27 11:24:04,891 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671 ctx-02929e21)
(logid:97976fdd) No suitable pools found
2024-02-27 11:24:04,891 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671 ctx-02929e21)
(logid:97976fdd) No suitable storagePools found under this Cluster: 1
2024-02-27 11:24:04,898 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671 ctx-02929e21)
(logid:97976fdd) Could not find suitable Deployment Destination for this VM
under any clusters, returning.
2024-02-27 11:24:04,900 DEBUG [c.c.d.FirstFitPlanner]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671 ctx-02929e21)
(logid:97976fdd) Searching all possible resources under this Zone: 1
2024-02-27 11:24:04,903 DEBUG [c.c.d.FirstFitPlanner]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671 ctx-02929e21)
(logid:97976fdd) Listing clusters in order of aggregate capacity, that have
(at least one host with) enough CPU and RAM capacity under this Zone: 1
2024-02-27 11:24:04,910 DEBUG [c.c.d.FirstFitPlanner]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671 ctx-02929e21)
(logid:97976fdd) Removing from the clusterId list these clusters from avoid
set: [1]
2024-02-27 11:24:04,911 DEBUG [c.c.d.FirstFitPlanner]
(Work-Job-Executor-1:ctx-5ab127f5 job-12670/job-12671 ctx-02929e21)
(logid:97976fdd) No clusters found after removing disabled clusters and
clusters in avoid list, returning.



Alexi

Reply via email to