尝试分配存储时出现Cloudstack启动实例错误

时间:2019-06-12 18:42:16

标签: apache-cloudstack

我在Ubuntu 16.04上安装了Cloudstack 4.11.2.0

这是我的环境:

  • 1个区域
  • 1个豆荚
  • 2个群集(LXC和KVM)
  • 2个主机(每个群集一个)

我可以在KVM集群上完美启动虚拟机,但是当我尝试使用LXC模板启动新实例时,却发现该实例无法部署

我已经在环境中配置了辅助存储和主存储。当实例被部署后,我看到它从LXC主机分配了CPU和RAM。问题是在进行存储分配过程时,找不到任何存储池。当我在KVM群集中启动新实例时,不会发生此问题 我在这里附上过程日志。

2019-06-12 09:02:45,500 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (API-Job-Executor-26:ctx-9fa50775 job-67 ctx-624410ca) (logid:8eddb393) LocalStoragePoolAllocator trying to find storage pool to fit the vm
2019-06-12 09:02:45,500 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (API-Job-Executor-26:ctx-9fa50775 job-67 ctx-624410ca) (logid:8eddb393) ClusterScopeStoragePoolAllocator looking for storage pool
2019-06-12 09:02:45,500 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (API-Job-Executor-26:ctx-9fa50775 job-67 ctx-624410ca) (logid:8eddb393) Looking for pools in dc: 1  pod:1  cluster:2. Disabled pools will be ignored.
2019-06-12 09:02:45,500 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (API-Job-Executor-26:ctx-9fa50775 job-67 ctx-624410ca) (logid:8eddb393) Found pools matching tags: []
2019-06-12 09:02:45,501 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (API-Job-Executor-26:ctx-9fa50775 job-67 ctx-624410ca) (logid:8eddb393) No storage pools available for shared volume allocation, returning
2019-06-12 09:02:45,501 DEBUG [o.a.c.s.a.ZoneWideStoragePoolAllocator] (API-Job-Executor-26:ctx-9fa50775 job-67 ctx-624410ca) (logid:8eddb393) ZoneWideStoragePoolAllocator to find storage pool
2019-06-12 09:02:45,503 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-26:ctx-9fa50775 job-67 ctx-624410ca) (logid:8eddb393) No suitable pools found for volume: Vol[24|vm=14|ROOT] under cluster: 2
2019-06-12 09:02:45,503 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-26:ctx-9fa50775 job-67 ctx-624410ca) (logid:8eddb393) No suitable pools found
2019-06-12 09:02:45,503 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-26:ctx-9fa50775 job-67 ctx-624410ca) (logid:8eddb393) No suitable storagePools found under this Cluster: 2

这是cloudstack-management.log

上与实例创建相关的内容

1 个答案:

答案 0 :(得分:0)

如何配置存储池?每个集群还是整个区域?

如果是每个群集,则可能在lxc群集上没有池。