[技術] opennebula create VM failed

看板Cloud作者 (挖呼)時間12年前 (2012/03/12 13:15), 編輯推噓4(406)
留言10則, 3人參與, 最新討論串1/1
如題,請教一下 我one已可以順利啟動,實體機器的資源也可以加入 但在onevm create xxx.one的時候,都會失敗 查看log,也去google過,但都沒人有同樣問題 log如下,有人可以幫忙一下嗎~謝謝 Mon Mar 12 12:52:45 2012 [DiM][I]: New VM state is ACTIVE. Mon Mar 12 12:52:46 2012 [LCM][I]: New VM state is PROLOG. Mon Mar 12 12:52:46 2012 [VM][I]: Virtual Machine has no context Mon Mar 12 12:56:24 2012 [TM][D]: tm_clone.sh: T7500-3:/home/domains/ST6/disk.img T7500-3:/home/one/var//30/images/disk.0 Mon Mar 12 12:56:24 2012 [TM][D]: tm_clone.sh: DST: /home/one/var//30/images/disk.0 Mon Mar 12 12:56:24 2012 [TM][I]: tm_clone.sh: Creating directory /home/one/var//30/images Mon Mar 12 12:56:24 2012 [TM][I]: tm_clone.sh: Executed "ssh T7500-3 mkdir -p /home/one/var//30/images". Mon Mar 12 12:56:24 2012 [TM][I]: tm_clone.sh: Cloning T7500-3:/home/domains/ST6/disk.img Mon Mar 12 12:56:24 2012 [TM][I]: tm_clone.sh: Executed "scp T7500-3:/home/domains/ST6/disk.img T7500-3:/home/one/var//30/images/disk.0". Mon Mar 12 12:56:24 2012 [TM][I]: tm_clone.sh: Executed "ssh T7500-3 chmod a+rw /home/one/var//30/images/disk.0". Mon Mar 12 12:56:24 2012 [TM][I]: ExitCode: 0 Mon Mar 12 12:56:31 2012 [LCM][I]: New VM state is BOOT Mon Mar 12 12:56:31 2012 [VMM][I]: Generating deployment file: /home/one/var/30/deployment.0 Mon Mar 12 12:56:32 2012 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy /home/one/var//30/images/deployment.0 T7500-3 30 T7500-3; else exit 42; fi' Mon Mar 12 12:56:32 2012 [VMM][I]: Error: ('create', '-aaio:/home/one/var//30/images/disk.0') failed (32512 ) 在這裡出錯的@@@@ Mon Mar 12 12:56:32 2012 [VMM][E]: Unable Mon Mar 12 12:56:32 2012 [VMM][I]: ExitCode: 1 Mon Mar 12 12:56:32 2012 [VMM][E]: Error deploying virtual machine: Unable Mon Mar 12 12:56:33 2012 [DiM][I]: New VM state is FAILED Mon Mar 12 12:58:30 2012 [DiM][I]: New VM state is DONE. Mon Mar 12 12:58:33 2012 [TM][W]: Ignored: LOG I 30 tm_delete.sh: Deleting /home/one/var//30/images Mon Mar 12 12:58:33 2012 [TM][W]: Ignored: LOG I 30 tm_delete.sh: Executed "ssh T7500-3 rm -rf /home/one/var//30/images". Mon Mar 12 12:58:33 2012 [TM][W]: Ignored: LOG I 30 ExitCode: 0 Mon Mar 12 12:58:33 2012 [TM][W]: Ignored: TRANSFER SUCCESS 30 - -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.47.223.142

03/12 13:29, , 1F
手動用libivrt去試一下/home/one/var/30/deployment.0
03/12 13:29, 1F

03/12 13:37, , 2F
先謝樓上大大,但我沒安裝libvirt這套件呢
03/12 13:37, 2F

03/12 13:37, , 3F
補充一下 os為xen4.1 opennebula 版本為3.0
03/12 13:37, 3F

03/12 14:46, , 4F
抱歉沒看清楚是用xen,簡單的原則就是用手動方式去生成VM
03/12 14:46, 4F

03/12 14:47, , 5F
oned的error log有時候不夠清楚,不足以判斷問題所在
03/12 14:47, 5F

03/12 15:22, , 6F
謝謝,我用一般的xen 指令去create都是正常的@@
03/12 15:22, 6F

03/16 07:20, , 7F
你nfs有mount好嗎? 我最近也正在研究 目前也是VM create失敗
03/16 07:20, 7F

03/16 09:47, , 8F
有mount了,採用的是tm_shared
03/16 09:47, 8F

03/20 01:52, , 9F
那你可以正常create VM了嗎? 或許我們可以一起討論看看:)
03/20 01:52, 9F

03/20 23:22, , 10F
我改用KVM 可以正常執行了
03/20 23:22, 10F
文章代碼(AID): #1FNOPkQU (Cloud)
文章代碼(AID): #1FNOPkQU (Cloud)