[one-users] Can't access to VM through ssh
Carlos Martín Sánchez
cmartins at fdi.ucm.es
Mon Jul 5 06:19:38 PDT 2010
Hello Andrea,
2010/7/2 Andrea Turli <andrea.turli at eng.it>
> this public IP is one of our subnet 62.101.90.192/27 without DHCP.
>
>
> some network parameters are not correct (like NETWORK; NETMASK and
> BROADCAST). In fact, if I change them manually and restart the network,
> everything works.
> Is there any way to configure it in the "publi.net" vnet file?
>
> Thank you,
> Andrea
>
>
The default MAC - IP assignment schema assumes a 255.255.255.0 netmask, and
may not cover all situations. To learn more about this script, please visit
[0] and [1].
If you need more control, and want to customize the way your machines are
contextualized, you can use the init.sh script and perform there the changes
you haven been doing manually.
You could add this parameters in the template at the CONTEXT section:
CONTEXT = [
ETH0_NETMASK = "225.225.225.224",
]
Please refer to [2] for a complete guide on how to use this
contextualization feature.
I hope you find the way to adapt OpenNebula to your infrastructure with the
instructions given in the documentation, but please don't hesitate to ask
about any problem you may find.
Regards,
Carlos
[0]
http://www.opennebula.org/documentation:rel1.4:vgg#using_the_leases_within_the_virtual_machine
[1]
http://dev.opennebula.org/projects/opennebula/repository/revisions/master/show/share/scripts
[2] http://www.opennebula.org/documentation:rel1.4:cong
>
> 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
>>
>>
>
>
> --
> 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
>
>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100705/09934090/attachment-0003.htm>
More information about the Users
mailing list