cloudstack3.0.5+CentOS6.3+kvm
使用实例创建模板时报错, 之前忘记是什么原因了,出现这个问题将环境推倒重建后,依然是这样
似乎是发生过一个问题,使用hfs上传ISO镜像时,到进度90%时,突然就断掉了。但是重新开始上传ISO是能够成功的。
但是在日志中
Sending { Cmd MgmtId: 277579819151573 via: 3 Ver: v1 Flags: 100011
[{"storage.DownloadProgressCommand":{"jobId":"70f88920-c485-4f6d-93f6-967bd475a04e"
"request":"GET_STATUS""hvm":true"description":"x86_64""maxDownloadSizeInBytes":53687091200
"id":203"resourceType":"TEMPLATE""url":"http://192.168.1.254/2-CentOS-6.3-x86_64-bin-DVD1.iso"
"format":"ISO""accountId":2"name":"203-2-0e01ee50-cd81-376e-8a4e-8af99c1c92a1"
"secUrl":"nfs://192.168.1.250/home/storage/secondary""wait":0}}] }
DownloadListener
Scheduling timeout at 30000 ms, template=CentOS6.3 at host
nfs://192.168.1.250/home/storage/secondary
UserVmManagerImpl
This template is getting created from other template, setting source
template Id to: 206
重建模板报错日志:
AsyncJobManagerImpl
submit async job-34, details: AsyncJobVO {id:34, userId: 2, accountId:
2, sessionKey: null, instanceType: Template, instanceId: 208, cmd:
CreateTemplateCmd, cmdOriginator: null, cmdInfo:
{"sessionkey":"Tn5KuAE2tcIeE0PuXuLenuKFyi4\u003d","volumeId":"1a52bb00-8c32-4848-b8f0-dca6076fffdc","ctxUserId":"2","osTypeId":"67de6a42-e36d-4ff1-928d-34004f7cc3e2","isPublic":"true","isfeatured":"true","response":"json","id":"208","displayText":"X86_64
GUI","passwordEnabled":"false","name":"CentOS6.3","_":"1365409369266","ctxAccountId":"2","ctxStartEventId":"144"},
cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0,
processStatus: 0, resultCode: 0, result: null, initMsid: 277579819151573,
completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
AsyncJobManagerImpl
Executing CreateTemplateCmd for job-34
Sending { Cmd MgmtId: 277579819151573 via: 5 Ver: v1 Flags: 100011
[{"CreatePrivateTemplateFromVolumeCommand":{"_vmName":"i-2-6-VM"
"_volumePath":"ef29ffab-5744-4a30-b562-857efe69ef3e""_userSpecifiedName":"CentOS6.3"
"_uniqueName":"af432b4d-2a44-4994-a703-f26fac0151bc""_templateId":208
"_accountId":2"_secondaryStorageUrl":"nfs://192.168.1.250/home/storage/secondary"
"primaryStoragePoolNameLabel":"56ec00b7-895a-3290-83e2-f78ccde060e4"
Request
Seq 5-103616232: Received: { Ans: , MgmtId: 277579819151573, via: 5,
Ver: v1, Flags: 10, { Answer } }
2013-04-08
16:22:19,065 ERROR [cloud.api.ApiDispatcher] (Job-Executor-17:job-34)
Exception while executing CreateTemplateCmd:
AsyncJobManagerImpl
Complete async job-34, jobStatus: 2, resultCode: 530, result: Error
Code: 530 Error text: Answer cannot be cast to CreatePrivateTemplateAnswer
AsyncJobManagerImpl
Async job-34 completed
wanghaicheng2004