[one-users] facing a problem about SSH

hy xu xuhy.bupt at gmail.com
Tue Mar 30 03:15:48 PDT 2010


Hi,

I found it's crazy  that the SSH problems still exists without any
operation..
The ssh_config in front-end has been edited and the SSH figureprint has been
removed.

The only operation I remembered is that I tryed to delete the deployed VM
which can not run regularly using onevm delete. and refused.

May be I need to know the SSH issues deeply.

Thanks~

Alex
在 2010年3月30日 上午9:59,hy xu <xuhy.bupt at gmail.com>写道:

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



-- 
Best Wishes~

许辉阳
中国移动通信研究院
Huiyang Xu
China Mobile Research Institute
邮箱: xuhuiyang at chinamobile.com
手机:+86 13810485177
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100330/84884646/attachment-0001.htm>


More information about the Users mailing list