You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by 许叁征 <xu...@chinanetcenter.com> on 2014/01/03 07:54:43 UTC
答复: 二级存储删除不掉
/usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /home/user/ -f /root/acton-systemvm-02062012.vhd.bz2 -h xenserver -F
用这个命令下载二级存储
许叁征
网宿科技股份有限公司 厦门分公司 运营技术支持部
Tel:13860125907
E-mail:xusz@chinanetcenter.com
http://www.chinanetcenter.com
分公司:北京-上海-广州-深圳
免费咨询热线:800-820-0001
网宿科技 --卓越的互联网业务平台提供商
-----邮件原件-----
发件人: users-cn-return-2885-xusz=chinanetcenter.com@cloudstack.apache.org [mailto:users-cn-return-2885-xusz=chinanetcenter.com@cloudstack.apache.org] 代表 evanitsharp
发送时间: 2014年1月3日星期五 14:40
收件人: CloudStack社区
主题: Re: 二级存储删除不掉
二级存储下载?什么意思?
evanitsharp
发件人: 许叁征
发送时间: 2014-01-03 14:24
收件人: users-cn@cloudstack.apache.org
主题: 二级存储删除不掉
HI ALL
通过恢复之前的数据库,发现二级存储无法删除,下载了模板,也不能创建,帮忙看看是什么原因,
014-01-03 14:20:16,955 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-5:job-412) Executing com.cloud.api.commands.RebootSystemVmCmd for job-412
2014-01-03 14:20:17,108 DEBUG [agent.manager.AgentManagerImpl] (Job-Executor-5:job-412) Host with id 20 doesn't exist
2014-01-03 14:20:17,108 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (Job-Executor-5:job-412) Rebooting Secondary Storage VM failed - s-56797-VM
2014-01-03 14:20:17,252 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-5:job-412) Complete async job-412, jobStatus: 1, resultCode: 0, result: com.cloud.api.response.SystemVmResponse@12cf66f
2014-01-03 14:20:17,386 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-5:job-412) Done executing com.cloud.api.commands.RebootSystemVmCmd for job-412
2014-01-03 14:20:18,328 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is ready to launch secondary storage VM
2014-01-03 14:20:18,434 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 1 is ready to launch console proxy
2014-01-03 14:20:19,551 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2014-01-03 14:20:21,987 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-18:null) Async job-412 completed
2014-01-03 14:20:22,544 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) HostStatsCollector is running...
2014-01-03 14:20:22,554 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-79:null) Seq 8-1694367831: Executing request
2014-01-03 14:20:22,803 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-79:null) Seq 8-1694367831: Response Received:
2014-01-03 14:20:22,803 DEBUG [agent.transport.Request] (StatsCollector-1:null) Seq 8-1694367831: Received: { Ans: , MgmtId: 690716576832, via: 8, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
2014-01-03 14:20:22,808 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-148:null) Seq 25-1091043355: Executing request
2014-01-03 14:20:23,187 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-148:null) Seq 25-1091043355: Response Received:
2014-01-03 14:20:23,187 DEBUG [agent.transport.Request] (StatsCollector-1:null) Seq 25-1091043355: Received: { Ans: , MgmtId: 690716576832, via: 25, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
2014-01-03 14:20:23,193 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-239:null) Seq 26-1719468059: Executing request
2014-01-03 14:20:23,550 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-239:null) Seq 26-1719468059: Response Received:
2014-01-03 14:20:23,550 DEBUG [agent.transport.Request] (StatsCollector-1:null) Seq 26-1719468059: Received: { Ans: , MgmtId: 690716576832, via: 26, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
2014-01-03 14:20:41,423 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-11:null) submit async job-413, details: AsyncJobVO {id:413, userId: 2, accountId: 2, sessionKey: null, instanceType: SystemVm, instanceId: 56797, cmd: com.cloud.api.commands.DestroySystemVmCmd, cmdOriginator: null, cmdInfo: {"id":"efcfa696-25dc-40b2-b42b-37d943e27576","response":"json","sessionkey":"Mbs1v/60bg2RYcevxiHDfXTt8r8\u003d","ctxUserId":"2","_":"1388730057187","ctxAccountId":"2","ctxStartEventId":"3043"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 690716576832, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2014-01-03 14:20:41,424 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-6:job-413) Executing com.cloud.api.commands.DestroySystemVmCmd for job-413
2014-01-03 14:20:41,731 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-6:job-413) VM state transitted from :Running to Stopping with event: StopRequestedvm's original host id: 20 new host id: 20 host id before state transition: 20
2014-01-03 14:20:41,733 WARN [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-413) Unable to stop vm VM[SecondaryStorageVm|s-56797-VM]
2014-01-03 14:20:41,856 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-6:job-413) VM state transitted from :Stopping to Running with event: OperationFailedvm's original host id: 20 new host id: 20 host id before state transition: 20
2014-01-03 14:20:41,856 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-413) Unable to stop the VM so we can't expunge it.
2014-01-03 14:20:41,856 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-413) Unable to destroy the vm because it is not in the correct state: VM[SecondaryStorageVm|s-56797-VM]
2014-01-03 14:20:41,856 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-413) Unable to destroy the vm because it is not in the correct state: VM[SecondaryStorageVm|s-56797-VM]
2014-01-03 14:20:41,856 INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-413) Did not expunge VM[SecondaryStorageVm|s-56797-VM]
2014-01-03 14:20:41,974 WARN [cloud.api.ApiDispatcher] (Job-Executor-6:job-413) class com.cloud.api.ServerApiException : Fail to destroy system vm
2014-01-03 14:20:41,976 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-6:job-413) Complete async job-413, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Fail to destroy system vm
2014-01-03 14:20:46,454 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-7:null) Async job-413 completed
2014-01-03 14:20:48,328 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is ready to launch secondary storage VM
2014-01-03 14:20:48,437 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 1 is ready to launch console proxy
2014-01-03 14:20:48,982 DEBUG [storage.snapshot.SnapshotSchedulerImpl] (SnapshotPollTask:null) Snapshot scheduler.poll is being called at 2014-01-03 06:20:48 GMT
2014-01-03 14:20:48,984 DEBUG [storage.snapshot.SnapshotSchedulerImpl] (SnapshotPollTask:null) Got 0 snapshots to be executed at 2014-01-03 06:20:48 GMT
2014-01-03 14:20:49,495 DEBUG [cloud.network.ExternalLoadBalancerUsageManagerImpl] (ExternalNetworkMonitor-1:null) External load balancer devices stats collector is running...
2014-01-03 14:20:49,549 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:null) Found 0 running routers.
2014-01-03 14:20:49,551 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2014-01-03 14:20:57,436 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-41:null) Ping from 8
2014-01-03 14:20:58,070 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-47:null) Ping from 25
2014-01-03 14:20:58,650 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-40:null) Seq 8-1694367746: Executing request
2014-01-03 14:20:59,072 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-148:null) Ping from 26
2014-01-03 14:20:59,080 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-47:null) Seq 25-1091043330: Executing request
2014-01-03 14:20:59,204 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-40:null) Seq 8-1694367746: Response Received:
2014-01-03 14:20:59,204 DEBUG [agent.transport.Request] (DirectAgent-40:null) Seq 8-1694367746: Processing: { Ans: , MgmtId: 690716576832, via: 8, Ver: v1, Flags: 10, [{"ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}] }
2014-01-03 14:20:59,263 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-47:null) Seq 25-1091043330: Response Received:
2014-01-03 14:20:59,263 DEBUG [agent.transport.Request] (DirectAgent-47:null) Seq 25-1091043330: Processing: { Ans: , MgmtId: 690716576832, via: 25, Ver: v1, Flags: 10, [{"Answer":{"result":true,"wait":0}}] }
2014-01-03 14:20:59,807 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-155:null) Seq 26-1719468034: Executing request
2014-01-03 14:20:59,996 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-155:null) Seq 26-1719468034: Response Received:
2014-01-03 14:20:59,996 DEBUG [agent.transport.Request] (DirectAgent-155:null) Seq 26-1719468034: Processing: { Ans: , MgmtId: 690716576832, via: 26, Ver: v1, Flags: 10, [{"Answer":{"result":true,"wait":0}}] }
许叁征
网宿科技股份有限公司 厦门分公司 运营技术支持部
Tel:13860125907
E-mail:xusz@chinanetcenter.com
http://www.chinanetcenter.com
分公司:北京-上海-广州-深圳
免费咨询热线:800-820-0001
网宿科技 --卓越的互联网业务平台提供商
-----邮件原件-----
发件人: users-cn-return-2879-xusz=chinanetcenter.com@cloudstack.apache.org [mailto:users-cn-return-2879-xusz=chinanetcenter.com@cloudstack.apache.org] 代表 许叁征
发送时间: 2014年1月3日星期五 10:35
收件人: users-cn@cloudstack.apache.org
主题: 系统找不到二级存储
HI ALL
二级存储下载出现故障,Can't find a template to start Unexpected exception
Insufficient capacity exception
com.cloud.utils.exception.CloudRuntimeException: Insufficient capacity
exception
系统是cs4.02+XENserver .删除了二级存储,重建的导入模板。再建立 二级存储,仍
然不行,看有没有人遇到,或是帮忙分析一下
2014-01-03 10:31:57,734 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Assign
secondary storage vm from a newly started instance for request from data
center : 1
2014-01-03 10:31:57,836 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
(consoleproxy-1:null) Zone 1 is ready to launch console proxy
2014-01-03 10:31:57,857 DEBUG [cloud.network.NetworkManagerImpl]
(secstorage-1:null) Found existing network configuration for offering
[Network Offering [6-Guest-DefaultSharedNetworkOfferingWithSGService]:
Ntwk[204|Guest|6]
2014-01-03 10:31:57,857 DEBUG [cloud.network.NetworkManagerImpl]
(secstorage-1:null) Releasing lock for Acct[1-system]
2014-01-03 10:31:57,860 DEBUG [cloud.network.NetworkManagerImpl]
(secstorage-1:null) Found existing network configuration for offering
[Network Offering [3-Control-System-Control-Network]: Ntwk[202|Control|3]
2014-01-03 10:31:57,860 DEBUG [cloud.network.NetworkManagerImpl]
(secstorage-1:null) Releasing lock for Acct[1-system]
2014-01-03 10:31:57,863 DEBUG [cloud.network.NetworkManagerImpl]
(secstorage-1:null) Found existing network configuration for offering
[Network Offering [2-Management-System-Management-Network]:
Ntwk[201|Management|2]
2014-01-03 10:31:57,863 DEBUG [cloud.network.NetworkManagerImpl]
(secstorage-1:null) Releasing lock for Acct[1-system]
2014-01-03 10:31:57,867 DEBUG [cloud.network.NetworkManagerImpl]
(secstorage-1:null) Found existing network configuration for offering
[Network Offering [4-Storage-System-Storage-Network]: Ntwk[203|Storage|4]
2014-01-03 10:31:57,867 DEBUG [cloud.network.NetworkManagerImpl]
(secstorage-1:null) Releasing lock for Acct[1-system]
2014-01-03 10:31:57,875 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Can't
find a template to start
2014-01-03 10:31:57,875 WARN [cloud.vm.SystemVmLoadScanner]
(secstorage-1:null) Unexpected exception Insufficient capacity exception
com.cloud.utils.exception.CloudRuntimeException: Insufficient capacity
exception
at
com.cloud.storage.secondary.SecondaryStorageManagerImpl.createSecStorageVmIn
stance(SecondaryStorageManagerImpl.java:570)
at
com.cloud.storage.secondary.SecondaryStorageManagerImpl.startNew(SecondarySt
orageManagerImpl.java:492)
at
com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(Second
aryStorageManagerImpl.java:661)
at
com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(Secondary
StorageManagerImpl.java:1310)
at
com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSeco
ndaryStorageManagerImpl.java:119)
at
com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSeco
ndaryStorageManagerImpl.java:50)
at
com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:106)
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:6
15)
at java.lang.Thread.run(Thread.java:679)
2014-01-03 10:31:58,862 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers.
2014-01-03 10:32:05,532 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-145:null) Ping from 30
2014-01-03 10:32:06,053 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-173:null) Ping from 29
2014-01-03 10:32:06,507 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-87:null) Seq 30-2067922946: Executing request
2014-01-03 10:32:06,666 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-87:null) Seq 30-2067922946: Response Received:
2014-01-03 10:32:06,666 DEBUG [agent.transport.Request]
(DirectAgent-87:null) Seq 30-2067922946: Processing: { Ans: , MgmtId:
690716576832, via: 30, Ver: v1, Flags: 10,
[{"Answer":{"result":true,"wait":0}}] }
2014-01-03 10:32:06,724 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-155:null) Seq 29-553648130: Executing request
2014-01-03 10:32:07,091 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-155:null) Seq 29-553648130: Response Received:
2014-01-03 10:32:07,091 DEBUG [agent.transport.Request]
(DirectAgent-155:null) Seq 29-553648130: Processing: { Ans: , MgmtId:
690716576832, via: 29, Ver: v1, Flags: 10,
[{"ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"r
esult":true,"wait":0}}] }
2014-01-03 10:32:12,608 DEBUG [cloud.server.StatsCollector]
(StatsCollector-3:null) VmStatsCollector is running...