Ok thanks, that is what I am thinking too.<div>So, the question is : Can I run both Front and Node on the same host? I think so, but can you confirm?</div><div><br><br><div class="gmail_quote">On Thu, Dec 16, 2010 at 1:55 PM, Jaime Melis <span dir="ltr"><<a href="mailto:j.melis@fdi.ucm.es">j.melis@fdi.ucm.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Christophe,<br>
<br>
Your deployment file seems correct.<br>
<br>
You said in your first email:<br>
<div class="im">> My environment : libvirt/KVM on Debian 5 (In fact the Debian Node runs on top of virtual box, I hope that it is not a problem).<br>
<br>
</div>We are thinking the problem might be that. In order to discard that<br>
possibility, could you by any chance try to virtualize on a physical<br>
host?<br>
<br>
In any case we are positive your network configuration is OK, and your<br>
OpenNebula configuration is also OK. The problem here is the<br>
hypervisor, which is not working correctly.<br>
<br>
regards,<br>
Jaime<br>
<br>
<br>
<br>
On Thu, Dec 16, 2010 at 1:26 PM, Christophe Hamerling - Petals Link<br>
<div><div></div><div class="h5"><<a href="mailto:christophe.hamerling@petalslink.com">christophe.hamerling@petalslink.com</a>> wrote:<br>
> md5 SUM is OK. Here is the dump :<br>
> debian-node01:~# virsh -c qemu:///system dumpxml one-20<br>
> <domain type='kvm' id='1'><br>
>   <name>one-20</name><br>
>   <uuid>34c3f015-0127-2bca-a9a8-646adf25d83e</uuid><br>
>   <memory>65536</memory><br>
>   <currentMemory>65536</currentMemory><br>
>   <vcpu>1</vcpu><br>
>   <os><br>
>     <type arch='i686' machine='pc'>hvm</type><br>
>     <boot dev='hd'/><br>
>   </os><br>
>   <clock offset='utc'/><br>
>   <on_poweroff>destroy</on_poweroff><br>
>   <on_reboot>restart</on_reboot><br>
>   <on_crash>destroy</on_crash><br>
>   <devices><br>
>     <emulator>/usr/bin/kvm</emulator><br>
>     <disk type='file' device='disk'><br>
>       <driver name='qemu' type='raw'/><br>
>       <source file='/srv/cloud/one/var//20/images/disk.0'/><br>
>       <target dev='hda' bus='ide'/><br>
>     </disk><br>
>     <interface type='bridge'><br>
>       <mac address='02:00:c0:a8:02:47'/><br>
>       <source bridge='br0'/><br>
>       <target dev='vnet0'/><br>
>     </interface><br>
>     <input type='mouse' bus='ps2'/><br>
>     <graphics type='vnc' port='5900' autoport='no' listen='0.0.0.0'/><br>
>   </devices><br>
> </domain><br>
><br>
> On Thu, Dec 16, 2010 at 11:52 AM, Jaime Melis <<a href="mailto:j.melis@fdi.ucm.es">j.melis@fdi.ucm.es</a>> wrote:<br>
>><br>
>> Hi Christophe,<br>
>><br>
>> If I understand correctly you're trying with the ttylinux image at:<br>
>> <a href="http://dev.opennebula.org/attachments/download/170/ttylinux.tar.gz" target="_blank">http://dev.opennebula.org/attachments/download/170/ttylinux.tar.gz</a><br>
>> correct?<br>
>><br>
>> I have downloaded it again and tested it and it works for me. Could it<br>
>> be that yout image is corrupt?<br>
>> The md5sum should be:<br>
>> 04c7d00e88fa66d9aaa34d9cf8ad6aaa  ttylinux.img<br>
>><br>
>> If you're trying this with the correct image, can you send us the<br>
>> output of virsh dumpxl of the running vm?<br>
>> virsh -c qemu:///system dumpxl one-<VMID><br>
>><br>
>> Regards,<br>
>> Jaime<br>
>><br>
>><br>
>> On Thu, Dec 16, 2010 at 10:24 AM, Christophe Hamerling - Petals Link<br>
>> <<a href="mailto:christophe.hamerling@petalslink.com">christophe.hamerling@petalslink.com</a>> wrote:<br>
>> > Hi all,<br>
>> > So you are right, something looks wrong in the ttylinux image. I am able<br>
>> > to<br>
>> > connect to the VM with VNC and it seems to have some problems with LILO<br>
>> > :<br>
>> > "<br>
>> > Booting from Hard Disk...<br>
>> > LILO - Keytable read/checksum error<br>
>> > "<br>
>> > and nothing more... :(<br>
>> > Attached is the screenshot of VNC viewer window.<br>
>> > On Wed, Dec 15, 2010 at 7:07 PM, Jaime Melis <<a href="mailto:j.melis@fdi.ucm.es">j.melis@fdi.ucm.es</a>> wrote:<br>
>> >><br>
>> >> No, launch the vncviewer from your desktop PC, connecting to your<br>
>> >> worker node (which is running the VM):<br>
>> >><br>
>> >> vncviewer 192.168.2.61::5900<br>
>> >><br>
>> >> Regards,<br>
>> >> Jaime<br>
>> >><br>
>> >><br>
>> >> On Wed, Dec 15, 2010 at 6:54 PM, Christophe Hamerling - Petals Link<br>
>> >> <<a href="mailto:chamerling.ebmws@gmail.com">chamerling.ebmws@gmail.com</a>> wrote:<br>
>> >> > Ok i Will try this. I need to launch vnc viewer from node?<br>
>> >> ><br>
>> >> > Le 15 déc. 2010 à 18:06, Jaime Melis <<a href="mailto:j.melis@fdi.ucm.es">j.melis@fdi.ucm.es</a>> a écrit :<br>
>> >> ><br>
>> >> >> Hi Christophe,<br>
>> >> >><br>
>> >> >> I've been reading the thread but I think your configuration looks<br>
>> >> >> correct. Can you give it a shot at using VNC to see if the VM is<br>
>> >> >> booting up correctly? Maybe there's a problem with the VM...<br>
>> >> >><br>
>> >> >> Add the following to your ONE template:<br>
>> >> >><br>
>> >> >> GRAPHICS = [<br>
>> >> >>  TYPE    = "vnc",<br>
>> >> >>  LISTEN  = "0.0.0.0",<br>
>> >> >>  PORT    = "5900"]<br>
>> >> >><br>
>> >> >> Start the VM and connect to it via a VNC client (for instance<br>
>> >> >> vncviewer). Inspect the VM to see if there's a problem with it.<br>
>> >> >><br>
>> >> >> Regards,<br>
>> >> >> Jaime<br>
>> >> >><br>
>> >> >><br>
>> >> >><br>
>> >> >><br>
>> >> >> On Wed, Dec 15, 2010 at 4:47 PM, Christophe Hamerling - Petals Link<br>
>> >> >> <<a href="mailto:christophe.hamerling@petalslink.com">christophe.hamerling@petalslink.com</a>> wrote:<br>
>> >> >>> I am wondering if the problem does not also comes from the virtual<br>
>> >> >>> network<br>
>> >> >>> configuration.<br>
>> >> >>> Here is my configuration :<br>
>> >> >>> I am at home, my LAN address is <a href="http://192.168.2.0/255.255.255.0" target="_blank">192.168.2.0/255.255.255.0</a> . GW is<br>
>> >> >>> 192.168.2.1<br>
>> >> >>> My front address is 192.168.2.60 and the node one is 192.168.2.61<br>
>> >> >>> I tried to setup a bridge on the node, it seems to work (refer to<br>
>> >> >>> my<br>
>> >> >>> previous mails).<br>
>> >> >>> I try to create a VM and to reach it at 192.168.2.71 but I am<br>
>> >> >>> wondering now<br>
>> >> >>> if it is possible to access a VM network from my laptop for<br>
>> >> >>> exemple?<br>
>> >> >>> How can<br>
>> >> >>> I say to opennebula that I want to 'publish' VMs on my LAN? Is<br>
>> >> >>> PUBLIC<br>
>> >> >>> = YES<br>
>> >> >>> is enough in the network configuration file? Do I need to put the<br>
>> >> >>> front as a<br>
>> >> >>> gateway somewhere, or another host?<br>
>> >> >>> Thanks a lot<br>
>> >> >>> Christophe<br>
>> >> >>><br>
>> >> >>> On Wed, Dec 15, 2010 at 3:59 PM, Christophe Hamerling - Petals Link<br>
>> >> >>> <<a href="mailto:christophe.hamerling@petalslink.com">christophe.hamerling@petalslink.com</a>> wrote:<br>
>> >> >>>><br>
>> >> >>>> Is there a link between the MAC address defined in the VM and with<br>
>> >> >>>> the<br>
>> >> >>>> ones listed with ifconfig on the node? I do not have any.<br>
>> >> >>>><br>
>> >> >>>> On Wed, Dec 15, 2010 at 3:46 PM, Christophe Hamerling - Petals<br>
>> >> >>>> Link<br>
>> >> >>>> <<a href="mailto:christophe.hamerling@petalslink.com">christophe.hamerling@petalslink.com</a>> wrote:<br>
>> >> >>>>><br>
>> >> >>>>> Is there a web page where the network configuration on front and<br>
>> >> >>>>> nodes is<br>
>> >> >>>>> described? The only thing that I can find is<br>
>> >> >>>>> at<br>
>> >> >>>>><br>
>> >> >>>>> <a href="http://marianmi.comp.nus.edu.sg/2010/08/opennebula-installation-and-configuration-guide.php" target="_blank">http://marianmi.comp.nus.edu.sg/2010/08/opennebula-installation-and-configuration-guide.php</a><br>

>> >> >>>>> I really think that it is a network configuration problem. Here<br>
>> >> >>>>> is<br>
>> >> >>>>> what I<br>
>> >> >>>>> did :<br>
>> >> >>>>> Front : eth0 = 192.168.2.60<br>
>> >> >>>>> On the Node : br0 = 192.168.2.61<br>
>> >> >>>>> The gateway defined to 192.168.2.60, not sure about that. Using<br>
>> >> >>>>> my<br>
>> >> >>>>> internet box as gateway does not work too.<br>
>> >> >>>>> I defined a LEASES address out of my DHCP range.<br>
>> >> >>>>> When the VM is starting, I can see on the node a new network<br>
>> >> >>>>> interface<br>
>> >> >>>>> named vnet0 with the same mac address of my bridge. Is it ok?<br>
>> >> >>>>> Before the VM start, the br0 mac address is the same as eth0...<br>
>> >> >>>>> Is<br>
>> >> >>>>> this a<br>
>> >> >>>>> normal behaviour?<br>
>> >> >>>>> Here is my ifconfig log<br>
>> >> >>>>> br0       Link encap:Ethernet  HWaddr 00:ff:da:72:02:21<br>
>> >> >>>>>           inet adr:192.168.2.61  Bcast:192.168.2.255<br>
>> >> >>>>>  Masque:255.255.255.0<br>
>> >> >>>>>           adr inet6: fe80::a00:27ff:fed7:f0fd/64 Scope:Lien<br>
>> >> >>>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>
>> >> >>>>>           RX packets:787 errors:0 dropped:0 overruns:0 frame:0<br>
>> >> >>>>>           TX packets:500 errors:0 dropped:0 overruns:0 carrier:0<br>
>> >> >>>>>           collisions:0 lg file transmission:0<br>
>> >> >>>>>           RX bytes:126978 (124.0 KiB)  TX bytes:81984 (80.0 KiB)<br>
>> >> >>>>> eth0      Link encap:Ethernet  HWaddr 08:00:27:d7:f0:fd<br>
>> >> >>>>>           adr inet6: fe80::a00:27ff:fed7:f0fd/64 Scope:Lien<br>
>> >> >>>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>
>> >> >>>>>           RX packets:1268 errors:0 dropped:0 overruns:0 frame:0<br>
>> >> >>>>>           TX packets:506 errors:0 dropped:0 overruns:0 carrier:0<br>
>> >> >>>>>           collisions:0 lg file transmission:1000<br>
>> >> >>>>>           RX bytes:188739 (184.3 KiB)  TX bytes:82452 (80.5 KiB)<br>
>> >> >>>>> lo        Link encap:Boucle locale<br>
>> >> >>>>>           inet adr:127.0.0.1  Masque:255.0.0.0<br>
>> >> >>>>>           adr inet6: ::1/128 Scope:Hôte<br>
>> >> >>>>>           UP LOOPBACK RUNNING  MTU:16436  Metric:1<br>
>> >> >>>>>           RX packets:28 errors:0 dropped:0 overruns:0 frame:0<br>
>> >> >>>>>           TX packets:28 errors:0 dropped:0 overruns:0 carrier:0<br>
>> >> >>>>>           collisions:0 lg file transmission:0<br>
>> >> >>>>>           RX bytes:2156 (2.1 KiB)  TX bytes:2156 (2.1 KiB)<br>
>> >> >>>>> vnet0     Link encap:Ethernet  HWaddr 00:ff:da:72:02:21<br>
>> >> >>>>>           adr inet6: fe80::2ff:daff:fe72:221/64 Scope:Lien<br>
>> >> >>>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>
>> >> >>>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
>> >> >>>>>           TX packets:226 errors:0 dropped:0 overruns:0 carrier:0<br>
>> >> >>>>>           collisions:0 lg file transmission:500<br>
>> >> >>>>>           RX bytes:0 (0.0 B)  TX bytes:38791 (37.8 KiB)<br>
>> >> >>>>><br>
>> >> >>>>><br>
>> >> >>>>><br>
>> >> >>>>> On Wed, Dec 15, 2010 at 11:37 AM, Gian Uberto Lauri<br>
>> >> >>>>> <<a href="mailto:saint@eng.it">saint@eng.it</a>><br>
>> >> >>>>> wrote:<br>
>> >> >>>>>>>>>>><br>
>> >> >>>>>>>>>>> "CH" == Christophe Hamerling <- Petals Link<br>
>> >> >>>>>>>>>>> <<a href="mailto:christophe.hamerling@petalslink.com">christophe.hamerling@petalslink.com</a>>> writes:<br>
>> >> >>>>>><br>
>> >> >>>>>> CH> Ok, so I will check that the generated IP is the one<br>
>> >> >>>>>> expected<br>
>> >> >>>>>> from<br>
>> >> >>>>>> CH> the leases list based on this script algorithm.  Is the VM<br>
>> >> >>>>>> is<br>
>> >> >>>>>> CH> exploded somewhere at startup? If yes, where?<br>
>> >> >>>>>><br>
>> >> >>>>>> No, it is not.<br>
>> >> >>>>>><br>
>> >> >>>>>> A _new_, temporary "cd image" is created on the fly and mounted<br>
>> >> >>>>>> at<br>
>> >> >>>>>> the<br>
>> >> >>>>>> first boot, AFAIK.<br>
>> >> >>>>>><br>
>> >> >>>>>> --<br>
>> >> >>>>>> ing. Gian Uberto Lauri<br>
>> >> >>>>>> Ricercatore / Reasearcher<br>
>> >> >>>>>> Divisione Ricerca ed Innovazione / Research & Innovation<br>
>> >> >>>>>> Division<br>
>> >> >>>>>> <a href="mailto:GianUberto.Lauri@eng.it">GianUberto.Lauri@eng.it</a><br>
>> >> >>>>>><br>
>> >> >>>>>> Engineering Ingegneria Informatica spa<br>
>> >> >>>>>> Corso Stati Uniti 23/C, 35127 Padova (PD)<br>
>> >> >>>>>><br>
>> >> >>>>>> Tel. +39-049.8283.538         |<br>
>> >> >>>>>> main(){printf(&unix["\021%six\012\0"],<br>
>> >> >>>>>> Fax  +39-049.8283.569             |<br>
>> >> >>>>>>  (unix)["have"]+"fun"-0x60);}<br>
>> >> >>>>>> Skype: gian.uberto.lauri          |          David Korn, AT&T<br>
>> >> >>>>>> Bell<br>
>> >> >>>>>> Labs<br>
>> >> >>>>>> <a href="http://www.eng.it" target="_blank">http://www.eng.it</a>                         |          ioccc best<br>
>> >> >>>>>> One<br>
>> >> >>>>>> Liner, 1987<br>
>> >> >>>>>><br>
>> >> >>>>>><br>
>> >> >>>>>> _______________________________________________<br>
>> >> >>>>>> Users mailing list<br>
>> >> >>>>>> <a href="mailto:Users@lists.opennebula.org">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>
>> >> >>>>><br>
>> >> >>>>> --<br>
>> >> >>>>> Christophe Hamerling<br>
>> >> >>>>> R&D Engineer & Project Leader<br>
>> >> >>>>> Petals Link - SOA open-source company<br>
>> >> >>>>> OW2 PEtALS SOA Suite Comitter<br>
>> >> >>>>> Skype : christophe.hamerling<br>
>> >> >>>>> Jabber : <a href="mailto:chamerling@jabber.org">chamerling@jabber.org</a><br>
>> >> >>>>> Blog : <a href="http://chamerling.org" target="_blank">http://chamerling.org</a><br>
>> >> >>>><br>
>> >> >>>><br>
>> >> >>>><br>
>> >> >>>> --<br>
>> >> >>>> Christophe Hamerling<br>
>> >> >>>> R&D Engineer & Project Leader<br>
>> >> >>>> Petals Link - SOA open-source company<br>
>> >> >>>> OW2 PEtALS SOA Suite Comitter<br>
>> >> >>>> Skype : christophe.hamerling<br>
>> >> >>>> Jabber : <a href="mailto:chamerling@jabber.org">chamerling@jabber.org</a><br>
>> >> >>>> Blog : <a href="http://chamerling.org" target="_blank">http://chamerling.org</a><br>
>> >> >>><br>
>> >> >>><br>
>> >> >>><br>
>> >> >>> --<br>
>> >> >>> Christophe Hamerling<br>
>> >> >>> R&D Engineer & Project Leader<br>
>> >> >>> Petals Link - SOA open-source company<br>
>> >> >>> OW2 PEtALS SOA Suite Comitter<br>
>> >> >>> Skype : christophe.hamerling<br>
>> >> >>> Jabber : <a href="mailto:chamerling@jabber.org">chamerling@jabber.org</a><br>
>> >> >>> Blog : <a href="http://chamerling.org" target="_blank">http://chamerling.org</a><br>
>> >> >>><br>
>> >> >>> _______________________________________________<br>
>> >> >>> Users mailing list<br>
>> >> >>> <a href="mailto:Users@lists.opennebula.org">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>
>> >> >><br>
>> >> >><br>
>> >> >><br>
>> >> >> --<br>
>> >> >> Jaime Melis, Cloud Technology Engineer/Researcher<br>
>> >> >> DSA Research Group: web <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a> and blog<br>
>> >> >> <a href="http://blog.dsa-research.org" target="_blank">http://blog.dsa-research.org</a><br>
>> >> >> OpenNebula Open Source Toolkit for Cloud Computing:<br>
>> >> >> <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
>> >> ><br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> Jaime Melis, Cloud Technology Engineer/Researcher<br>
>> >> DSA Research Group: web <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a> and blog<br>
>> >> <a href="http://blog.dsa-research.org" target="_blank">http://blog.dsa-research.org</a><br>
>> >> OpenNebula Open Source Toolkit for Cloud Computing:<br>
>> >> <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Christophe Hamerling<br>
>> > R&D Engineer & Project Leader<br>
>> > Petals Link - SOA open-source company<br>
>> > OW2 PEtALS SOA Suite Comitter<br>
>> > Skype : christophe.hamerling<br>
>> > Jabber : <a href="mailto:chamerling@jabber.org">chamerling@jabber.org</a><br>
>> > Blog : <a href="http://chamerling.org" target="_blank">http://chamerling.org</a><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Jaime Melis, Cloud Technology Engineer/Researcher<br>
>> DSA Research Group: web <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a> and blog<br>
>> <a href="http://blog.dsa-research.org" target="_blank">http://blog.dsa-research.org</a><br>
>> OpenNebula Open Source Toolkit for Cloud Computing:<br>
>> <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opennebula.org">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>
><br>
> --<br>
> Christophe Hamerling<br>
> R&D Engineer & Project Leader<br>
> Petals Link - SOA open-source company<br>
> OW2 PEtALS SOA Suite Comitter<br>
> Skype : christophe.hamerling<br>
> Jabber : <a href="mailto:chamerling@jabber.org">chamerling@jabber.org</a><br>
> Blog : <a href="http://chamerling.org" target="_blank">http://chamerling.org</a><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Jaime Melis, Cloud Technology Engineer/Researcher<br>
DSA Research Group: web <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a> and blog<br>
<a href="http://blog.dsa-research.org" target="_blank">http://blog.dsa-research.org</a><br>
OpenNebula Open Source Toolkit for Cloud Computing: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><span style="font-family:Helvetica;font-size:12px"><div>Christophe Hamerling </div><div>R&D Engineer & Project Leader</div><div>Petals Link - SOA open-source company</div>
<div>OW2 PEtALS SOA Suite Comitter</div><div>Skype : christophe.hamerling</div><div>Jabber : <a href="mailto:chamerling@jabber.org" target="_blank">chamerling@jabber.org</a></div><div>Blog : <a href="http://chamerling.org" target="_blank">http://chamerling.org</a></div>
</span><br>
</div>