<div><br>Hi,</div>
<div>Thank you so much for your help. I have resolved the first SSH problem and VM template problem with comments removed .</div>
<div> </div>
<div>But the VM state is still wrong, always being boot.</div>
<div> </div>
<div>The hypervisor I used is KVM. And I have checked the installation of KVM and so on.</div>
<div> </div>
<div><br>the detail of the log is shown:</div>
<div> </div>
<div>Thu Mar 25 03:39:24 2010 [DiM][I]: New VM state is ACTIVE.<br>Thu Mar 25 03:39:25 2010 [LCM][I]: New VM state is PROLOG.<br>Thu Mar 25 03:39:25 2010 [TM][I]: tm_clone.sh: front-end:/srv/cloud/one-templates/ttylinux.img 192.168.111.5:/srv/cloud/one-templates/2/images/disk.0<br>
Thu Mar 25 03:39:25 2010 [TM][I]: tm_clone.sh: DST: /srv/cloud/one-templates/2/images/disk.0<br>Thu Mar 25 03:39:25 2010 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one-templates/2/images<br>Thu Mar 25 03:39:25 2010 [TM][I]: tm_clone.sh: Executed "mkdir -p /srv/cloud/one-templates/2/images".<br>
Thu Mar 25 03:39:25 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one-templates/2/images".<br>Thu Mar 25 03:39:25 2010 [TM][I]: tm_clone.sh: Cloning /srv/cloud/one-templates/ttylinux.img<br>Thu Mar 25 03:39:25 2010 [TM][I]: tm_clone.sh: Executed "cp /srv/cloud/one-templates/ttylinux.img /srv/cloud/one-templates/2/images/disk.0".<br>
Thu Mar 25 03:39:25 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one-templates/2/images/disk.0".<br>Thu Mar 25 03:39:25 2010 [LCM][I]: New VM state is BOOT<br>Thu Mar 25 03:39:25 2010 [VMM][I]: Generating deployment file: /var/lib/one/2/deployment.0</div>
<div> </div>
<div>What is wrong with it?</div>
<div> </div>
<div>Thanks again~</div>
<div> </div>
<div>ALex</div>
<div><br> </div>
<div class="gmail_quote">在 2010年3月25日 上午8:03,Ettore Enrico Delfino Ligorio <span dir="ltr"><<a href="mailto:ettoreusp@gmail.com" target="_blank">ettoreusp@gmail.com</a>></span>写道:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi,<br><br>You must edit /etc/ssh/ssh_config of the frontend to hove something silimar to:<br><br>########################################<br>
Host *<br> ForwardX11Trusted yes<br> ForwardX11 yes<br> StrictHostKeyChecking no # this line takes care of that question<br>########################################<br><br>What vmm driver you are using? xen, kvm or vmware?<br>
<br>About the files refered in the context. Does they exist?<br><br>Can you send us the $ONE_LOCATION/var/log/one/<VMID>.log?<br><br>Just for clarity, try to remove lines with # and add a space before the last ]<br>
<div><br>Best regards.<br>--<br>Ettore Enrico Delfino Ligorio<br>+55-11-3091-6480<br><br></div>2010/3/24 hy xu <<a href="mailto:xuhy.bupt@gmail.com" target="_blank">xuhy.bupt@gmail.com</a>>:<br>
<div>
<div></div>
<div>> hi,<br>><br>> Sorry for my question.<br>><br>> This time I did not do <a href="http://anything.at/" target="_blank">anything.at</a> first everything is OK. The status of<br>> hosts is on and I can tail the log.<br>
><br>> But When I decide to create VM, the status changed to err.<br>> I don't know what happened and I still can sudo -u oneadmin ssh<br>> 192.168.111.6 .5(my nodes)<br>><br>> it always display these:<br>
> The authenticity of host '192.168.111.6 (192.168.111.6)' can't be<br>> established.<br>> RSA key fingerprint is c9:d1:99:fa:2f:e8:20:c2:44:6c:b2:b9:e0:d5:17:74.<br>> Are you sure you want to continue connecting (yes/no)?<br>
> The authenticity of host '192.168.111.6 (192.168.111.6)' can't be<br>> established.<br>> RSA key fingerprint is c9:d1:99:fa:2f:e8:20:c2:44:6c:b2:b9:e0:d5:17:74.<br>> Are you sure you want to continue connecting (yes/no)?<br>
> The authenticity of host '192.168.111.6 (192.168.111.6)' can't be<br>> established.<br>> RSA key fingerprint is c9:d1:99:fa:2f:e8:20:c2:44:6c:b2:b9:e0:d5:17:74.<br>> Are you sure you want to continue connecting (yes/no)?<br>
><br>> And Another question is about VM creation.<br>><br>> I used the example from internet:ttylinux and try to modify the vm template<br>> to fit my situation.<br>><br>> and the template is below:<br>
> NAME = testvm<br>> CPU = 0.1<br>> MEMORY = 64<br>> DISK = [<br>> source = "/srv/cloud/one-templates/ttylinux.img",<br>> target = "hda",<br>> readonly = "no" ]<br>
> NIC = [ NETWORK = "DSN Lan" ]<br>> FEATURES = [ acpi="no" ]<br>> CONTEXT = [<br>> # hostname = "DSN",<br>> ip_public = "192.168.111.10",<br>> files = "/srv/cloud/one-templates/init.sh<br>
> /srv/cloud/one-templates/id_rsa.pub",<br>> # target = "hdc",<br>> # root_pubkey = "id_rsa.pub",<br>> username = "opennebula"]<br>> # user_pubkey = "id_rsa.pub"<br>
><br>> the error is it can not parse the template.<br>><br>> the context section can not be recongnize?<br>><br>> Thank you so much for your help.<br>><br>> Alex<br>> 2010/3/22 Tres Wong-Godfrey <<a href="mailto:tres@blas.phemo.us" target="_blank">tres@blas.phemo.us</a>><br>
>><br>>> On Mar 22, 2010, at 6:15 AM, hy xu wrote:<br>>><br>>> > But someone modified the SSH configuration in two nodes using SSH-keygen<br>>> > commond.<br>>> ><br>>> > And after that the status changed to error, and always point out that<br>
>> > root@XXXx password:<br>>> ><br>>> > I have tried some methods but It seems still wrong~<br>>> ><br>>> > What should I do?<br>>> ><br>>> Hi Alex,<br>>><br>
>> Have you tried removing the ssh fingerprint for the two machines from<br>>> ~oneadmin/.ssh/known_hosts ?<br>>><br>>><br>>> Good Luck.<br>>><br>>> Regards,<br>>> Tres<br>>><br>
>> Tres Wong-Godfrey<br>><br>><br>> --<br>> Best Wishes~<br>><br>> 许辉阳<br>> 中国移动通信研究院<br>> Huiyang Xu<br>> China Mobile Research Institute<br>> 邮箱: <a href="mailto:xuhuiyang@chinamobile.com" target="_blank">xuhuiyang@chinamobile.com</a><br>
> 手机:+86 13810485177<br>><br></div></div>
<div>
<div></div>
<div>> _______________________________________________<br>> Users mailing list<br>> <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Wishes~<br><br>许辉阳<br>中国移动通信研究院<br>Huiyang Xu<br>China Mobile Research Institute <br>邮箱: <a href="mailto:xuhuiyang@chinamobile.com" target="_blank">xuhuiyang@chinamobile.com</a><br>
手机:+86 13810485177<br>