CloudStack 安装:创建实例时出错

CloudStack 安装:创建实例时出错

我是 CloudStack 的新手。我使用 CentOS 6.4 和 kvm 上的快速安装指南安装了它。由于我的网络是我所在学院的 LAN,并且有一个 DHCP 和网关用于连接互联网,因此一开始我在 LAN 地址范围内定义了 Pod 和客户的地址池。但我无法创建实例并出现此错误:

2013-06-17 13:44:03,445 DEBUG [cloud.storage.StorageManagerImpl] (Job-Executor-1:job-9) Insufficient un-allocated capacity on: 200 for volume allocation: [Vol[3|vm=3|ROOT]] since its allocated percentage: 2.2468850974329963E7 has crossed the allocated pool.storage.allocated.capacity.disablethreshold: 0.85, skipping this pool

我猜这是因为池和 dhcp 范围之间的 IP 冲突。所以我重新安装了它(删除并重新安装了云代理和云客户端),这次为地址池(255.0.0.0)定义了一个与 dhcp 子网(255.255.0.0)不同的子网。但现在我在使用 UI 进行配置后“创建系统虚拟机”时收到此错误:

WARN  [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:) Exception while trying to start console proxy
com.cloud.exception.AgentUnavailableException: Resource [Host:1] is unreachable: Host 1: Unable to start instance due to Unable to start VM[ConsoleProxy|v-2-VM] due to error in finalizeStart, not retrying
    at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:847)
    at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
    at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:465)
    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:627)
    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1164)
    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1981)
    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:173)
    at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:113)
    at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:34)
    at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:83)
    at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:73)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
Caused by: com.cloud.utils.exception.ExecutionException: Unable to start VM[ConsoleProxy|v-2-VM] due to error in finalizeStart, not retrying
    at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:814)
    ... 19 more

问题是否与 IP 冲突有关?如果是,如何解决?

谢谢

答案1

错误信息说

[cloud.storage.StorageManagerImpl](Job-Executor-1:job-9)卷分配的未分配容量不足:200:[Vol[3|vm=3|ROOT]],因为其分配百分比:2.2468850974329963E7 已超出分配的pool.storage.allocated.capacity.disable

这里说的是存储空间/磁盘空间,而不是 IP 地址。您需要检查已分配空间和所需可用磁盘空间的设置。

答案2

它指的是存储空间/磁盘空间,而不是 IP 地址。您需要检查分配的空间和所需的可用磁盘空间的设置。我认为您需要超过 100GB。

相关内容