[one-users] Can't access to VM through ssh

Carlos Martín Sánchez cmartins at fdi.ucm.es
Wed Jun 30 07:37:37 PDT 2010


Hi again,

Let's check the basics, just in case:
a) The ttylinux machine you are using is the one downloaded from our site,
so it is correctly contextualized.
b) And you are trying to access the VM 192.168.0.6 from a machine in the
same 192.168.0.X network, right?

You may want to try adding another NIC attribute to the template, attached
to your public network. This way you could access the VM from anywhere, not
just the private network.

Carlos Martín, Cloud Technology Engineer/Researcher
DSA Research Group: web http://dsa-research.org and blog
http://blog.dsa-research.org
OpenNebula Open Source Toolkit for Cloud Computing:
http://www.OpenNebula.org


El 30 de junio de 2010 16:18, Andrea Turli <andrea.turli at eng.it> escribió:

>  Hi Carlos,
>
>
> On 06/30/2010 04:07 PM, Carlos Martín Sánchez wrote:
>
> Hi Andrea,
>
> Did you manage to access the VM through ssh? or are you using VNC?
>
> Not yet, I can access through virt-manager or virsh to the VM but not
> through ssh, cause network doesn't work.
>
>
> If you can't ping anything from the VM, maybe you could try adding other
> VMs to that private network and check if they see each other.
> Or just configure the VM template to attach a network interface to the
> public network.
>
>  Any ideas?
>
>
>
> Regards,
>
> Carlos Martín, Cloud Technology Engineer/Researcher
> DSA Research Group: web http://dsa-research.org and blog
> http://blog.dsa-research.org
> OpenNebula Open Source Toolkit for Cloud Computing:
> http://www.OpenNebula.org
>
>
> 2010/6/28 Andrea Turli <andrea.turli at eng.it>
>
>> Hi all,
>>
>> unfortunately also running the fsck on the .img didn't solve the problem.
>> Here my situation:
>>
>> - 1 x frontend: ubuntu 10.04 - KVM - NFS
>> - 1 x cluster node: ubuntu 10.04 - KVM - NFS
>>
>> A ttylinux VM has been started correctly on the worker node. From the
>> front end:
>> # onevm list
>>   ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
>>   21 oneadmin ttylinux runn   0   65536  grids21.eng.it 00 00:10:22
>>
>> # onevnet list
>>   ID USER     NAME              TYPE BRIDGE #LEASES
>>    8 oneadmin public          Ranged    br0       0
>>    9 oneadmin private          Fixed    br0       1
>>
>>
>> The ttylinux VM shows this:
>> # ifconfig
>> eth0  ..... inet address 192.168.0.6 ...
>>
>> but I cannot ping anything from this VM
>>
>>
>> To help the investigation, here the bctrl show command on the cluester
>> node
>> $ brctl show
>> bridge name    bridge id        STP enabled    interfaces
>> br0        8000.0019b9e57ae5    no        eth0   vnet0
>> virbr0        8000.000000000000    yes
>>
>> Thank you again for any help,
>> Andrea
>>
>>
>> On 06/26/2010 09:50 AM, ranjith k wrote:
>>
>> hello,
>> run the command "qemu-syetm_x86 ttylinux.img" from the ttylinux image
>> directory..you can see a window and will start boot ttylinux...
>> and asked password for recover from the disk failure after entering the
>> password "password" you just run the command "fsck /dev/hda1" it will remove
>> the error and properly shutdown the system by typing the command halt or
>> shutdown ....after the correct shutdown and close the window ...and try to
>> run the ttylinux again and verify...is it ok then again shutdown correctly
>> and copy this ttylinux image for your cloud .....
>>
>> On Fri, Jun 25, 2010 at 3:51 PM, Andrea Turli <andrea.turli at eng.it>wrote:
>>
>>> Dear all,
>>>
>>> I'm trying to access through ssh to my instance of ttylinux VM created
>>> following this guide http://www.opennebula.org/documentation:rel1.4:vmg
>>> The VM is running and I've this IP address (192.168.0.5) according to the
>>> "Small Network" network definition but I cannot neither ping it not access
>>> it on ssh.
>>>
>>> I've seen also this threadhttp://lists.opennebula.org/pipermail/users-opennebula.org/2010-June/002220.htmlwith a similar problem, but also fsck on that VM doesn't help me to solve
>>> the situation.
>>>
>>> Could it be related to the network configuration of my kvm host?
>>>
>>> --
>>> Andrea Turli
>>> Ricercatore
>>> Direzione Ricerca e Innovazioneandrea.turli at eng.it
>>>
>>> Engineering Ingegneria Informatica spa
>>> Via Riccardo Morandi, 32 00148 Roma (RM)
>>> Tel. +39 06 8307 4710
>>> Fax +39 06 8307 4200 www.eng.it
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>> --
>> Andrea Turli
>> Ricercatore
>> Direzione Ricerca e Innovazioneandrea.turli at eng.it
>>
>> Engineering Ingegneria Informatica spa
>> Via Riccardo Morandi, 32 00148 Roma (RM)
>> Tel. +39 06 8307 4710
>> Fax +39 06 8307 4200 www.eng.it
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> Andrea Turli
> Ricercatore
> Direzione Ricerca e Innovazioneandrea.turli at eng.it
>
> Engineering Ingegneria Informatica spa
> Via Riccardo Morandi, 32 00148 Roma (RM)
> Tel. +39 06 8307 4710
> Fax +39 06 8307 4200 www.eng.it
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100630/2e689ab8/attachment-0003.htm>


More information about the Users mailing list