【问题标题】:Cloudstack launch instance error when trying to assign storage尝试分配存储时 Cloudstack 启动实例错误
【发布时间】:2019-09-13 03:23:13
【问题描述】:

我在 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上的实例创建相关内容

【问题讨论】:

    标签: apache-cloudstack


    【解决方案1】:

    您是如何配置存储池的?每个集群还是区域范围?

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-10-08
      • 1970-01-01
      • 2021-01-23
      • 2014-05-03
      • 2013-07-23
      • 2021-01-30
      • 1970-01-01
      • 2014-09-05
      相关资源
      最近更新 更多