cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "淡看浮华" <360736...@qq.com>
Subject 回复: 系统虚拟机启动失败(两个系统vm都是stopped状态)
Date Mon, 10 Mar 2014 07:37:42 GMT
谢谢回复啊
 找到原因了,是我在重置系统信息(重新初始化数据库,删除原来主存储和二级存储下生成的文件)时,把系统虚拟机模板也删除了,导致系统虚拟机无法创建启动.
 重新生成系统虚拟机模板就好了
  

 

 ------------------ 原始邮件 ------------------
  发件人: "linuxbqj@gmail.com";<linuxbqj@gmail.com>;
 发送时间: 2014年3月10日(星期一) 下午3:07
 收件人: "users-cn"<users-cn@cloudstack.apache.org>; 
 
 主题: Re: 系统虚拟机启动失败(两个系统vm都是stopped状态)

 

@淡看浮华 建议你说下你的环境的基本信息,使用的cs的版本

看你的情况是存储导致系统VM无法启动

2014-03-10 14:53 GMT+08:00 淡看浮华 <360736449@qq.com>:
> 请问下,添加域之后,启动系统虚拟机失败(两个系统vm都是stopped状态),日志中报异常,这一般是什么原因导致的啊
>
>  日志如下:
>  014-03-10 14:43:08,967 DEBUG [cloud.network.NetworkManagerImpl] (secstorage-1:null)
Asking BareMetal to release Nic[83-22-85d6b95d-0202-4560-ae73-bc9ab6e51d9c-null]
> 2014-03-10 14:43:08,967 DEBUG [cloud.network.NetworkManagerImpl] (secstorage-1:null)
Asking SecurityGroupProvider to release Nic[83-22-85d6b95d-0202-4560-ae73-bc9ab6e51d9c-null]
> 2014-03-10 14:43:08,967 DEBUG [cloud.network.NetworkManagerImpl] (secstorage-1:null)
Asking VpcVirtualRouter to release Nic[83-22-85d6b95d-0202-4560-ae73-bc9ab6e51d9c-null]
> 2014-03-10 14:43:08,967 DEBUG [cloud.network.NetworkManagerImpl] (secstorage-1:null)
Asking NiciraNvp to release Nic[83-22-85d6b95d-0202-4560-ae73-bc9ab6e51d9c-null]
> 2014-03-10 14:43:09,035 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null)
VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host
id: null new host id: null host id before state transition: 1
> 2014-03-10 14:43:09,042 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null)
Hosts's actual total CPU: 8532 and CPU after applying overprovisioning: 8532
> 2014-03-10 14:43:09,043 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null)
release cpu from host: 1, old used: 1500,reserved: 0, actual total: 8532, total with overprovisioning:
8532; new used: 1000,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2014-03-10 14:43:09,043 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null)
release mem from host: 1, old used: 1342177280,reserved: 0, total: 8363560960; new used: 268435456,reserved:0;
movedfromreserved: false,moveToReserveredfalse
> 2014-03-10 14:43:09,075 DEBUG [dc.dao.DataCenterIpAddressDaoImpl] (secstorage-1:null)
Releasing ip address for reservationId=85d6b95d-0202-4560-ae73-bc9ab6e51d9c, instance=84
> 2014-03-10 14:43:09,135 WARN  [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null)
Exception while trying to start console proxy
> com.cloud.exception.AgentUnavailableException: Resource [Host:1] is unreachable: Host
1: Unable to start instance due to com.cloud.agent.api.Answer cannot be cast to com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer
>  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$201(ScheduledThreadPoolExecutor.java:165)
>  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  at java.lang.Thread.run(Thread.java:679)
> Caused by: java.lang.ClassCastException: com.cloud.agent.api.Answer cannot be cast to
com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer
>  at com.cloud.template.TemplateManagerImpl.prepareTemplateForCreate(TemplateManagerImpl.java:663)
>  at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>  at com.cloud.storage.StorageManagerImpl.createVolume(StorageManagerImpl.java:3448)
>  at com.cloud.storage.StorageManagerImpl.prepare(StorageManagerImpl.java:3351)
>  at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:754)
>  ... 19 more
> 2014-03-10 14:43:09,168 DEBUG [network.guru.PodBasedNetworkGuru] (secstorage-1:null)
Released nic: NicProfile[84-22-null-null-null
> 2014-03-10 14:43:09,243 DEBUG [cloud.network.NetworkManagerImpl] (secstorage-1:null)
Asking VirtualRouter to release Nic[84-22-85d6b95d-0202-4560-ae73-bc9ab6e51d9c-null]
> 2014-03-10 14:43:09,244 DEBUG [cloud.network.NetworkManagerImpl] (secstorage-1:null)
Asking Ovs to release Nic[84-22-85d6b95d-0202-4560-ae73-bc9ab6e51d9c-null]
> 2014-03-10 14:43:09,244 DEBUG [cloud.network.NetworkManagerImpl] (secstorage-1:null)
Asking ExternalDhcpServer to release Nic[84-22-85d6b95d-0202-4560-ae73-bc9ab6e51d9c-null]



-- 
白清杰 (Born Bai)

北京开源愿景信息技术有限公司

Mail: linuxbqj@gmail.com
.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message