<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Carlos,<br>
<br>
On 06/30/2010 04:37 PM, Carlos Martín Sánchez wrote:
<blockquote
 cite="mid:AANLkTinVY-js9j0QyeUp-3CpoZomQFqLy4eJ5hP7SbAA@mail.gmail.com"
 type="cite">Hi again,<br>
  <br>
Let's check the basics, just in case:<br>
a) The ttylinux machine you are using is the one downloaded from our
site, so it is correctly contextualized.<br>
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?<br>
  <br>
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.<br>
</blockquote>
We area trying to add another NIC to our template. This is the public
vnet file we have prepared:<br>
<br>
NAME = "public"<br>
TYPE = FIXED<br>
<br>
#Now we'll use the cluster private network (physical)<br>
BRIDGE = br0<br>
LEASES = [IP=62.101.90.195]<br>
<br>
this public IP is one of our subnet 62.101.90.192/27 without DHCP.<br>
<br>
If we create a VM starting from ttylinux template you provided with
this public vnet, I can start the machine but in the boot log I can see
this problem:<br>
<br>
/etc/rc.d/rc.startup/10.network: line 78 : ./ifup-eth0.template: No
such file or directory<br>
<br>
Anyway I can log in through virt-manager and ifconfig show this<br>
<br>
# ifconfig<br>
eth0      Link encap:Ethernet  HWaddr 00:03:3E:65:5A:C3  <br>
          inet addr:62.101.90.195  Bcast:62.101.90.223 
Mask:255.255.255.224<br>
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>
          RX packets:74 errors:0 dropped:0 overruns:0 frame:0<br>
          TX packets:35 errors:0 dropped:0 overruns:0 carrier:0<br>
          collisions:0 txqueuelen:1000 <br>
          RX bytes:8683 (8.4 KiB)  TX bytes:4177 (4.0 KiB)<br>
          Interrupt:11 Base address:0xc100 <br>
<br>
lo        Link encap:Local Loopback  <br>
          inet addr:127.0.0.1  Mask:255.0.0.0<br>
          UP LOOPBACK RUNNING  MTU:16436  Metric:1<br>
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br>
          collisions:0 txqueuelen:0 <br>
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)<br>
<br>
<br>
and there is the problem:<br>
<br>
# cat /etc/sysconfig/network-scripts/ifcfg-eth0<br>
    ENABLE=yes<br>
    NAME=Ethernet<br>
    IPADDRESS=62.101.90.195<br>
    CIDRLEN=24<br>
    NETWORK=62.101.90.0<br>
    NETMASK=255.255.255.0<br>
    BROADCAST=62.101.90.255<br>
    DHCP=no<br>
    GATEWAY=62.101.90.1<br>
<br>
some network parameters are not correct (like NETWORK; NETMASK and
BROADCAST). In fact, if I change them manually and restart the network,
everything works.<br>
Is there any way to configure it in the "publi.net" vnet file?<br>
<br>
Thank you,<br>
Andrea<br>
<br>
<br>
<blockquote
 cite="mid:AANLkTinVY-js9j0QyeUp-3CpoZomQFqLy4eJ5hP7SbAA@mail.gmail.com"
 type="cite"><br clear="all">
Carlos Martín, Cloud Technology Engineer/Researcher<br>
DSA Research Group: web <a moz-do-not-send="true"
 href="http://dsa-research.org" target="_blank">http://dsa-research.org</a>
and blog <a moz-do-not-send="true" href="http://blog.dsa-research.org"
 target="_blank">http://blog.dsa-research.org</a><br>
OpenNebula Open Source Toolkit for Cloud Computing: <a
 moz-do-not-send="true" href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
  <br>
  <br>
  <div class="gmail_quote">El 30 de junio de 2010 16:18, Andrea Turli <span
 dir="ltr"><<a moz-do-not-send="true"
 href="mailto:andrea.turli@eng.it" target="_blank">andrea.turli@eng.it</a>></span>
escribió:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div text="#000000" bgcolor="#ffffff">Hi Carlos,
    <div><br>
    <br>
On 06/30/2010 04:07 PM, Carlos Martín Sánchez wrote:
    <blockquote type="cite">Hi Andrea,<br>
      <br>
Did you manage to access the VM through ssh? or are you using VNC?<br>
    </blockquote>
    </div>
Not yet, I can access through virt-manager or virsh to the VM but not
through ssh, cause network doesn't work.
    <div><br>
    <blockquote type="cite"><br>
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.<br>
Or just configure the VM template to attach a network interface to the
public network.<br>
      <br>
    </blockquote>
    </div>
Any ideas?
    <div>
    <div><br>
    <br>
    <br>
    <blockquote type="cite">Regards,<br>
      <br clear="all">
Carlos Martín, Cloud Technology Engineer/Researcher<br>
DSA Research Group: web <a moz-do-not-send="true"
 href="http://dsa-research.org" target="_blank">http://dsa-research.org</a>
and blog <a moz-do-not-send="true" href="http://blog.dsa-research.org"
 target="_blank">http://blog.dsa-research.org</a><br>
OpenNebula Open Source Toolkit for Cloud Computing: <a
 moz-do-not-send="true" href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
      <br>
      <br>
      <div class="gmail_quote">2010/6/28 Andrea Turli <span dir="ltr"><<a
 moz-do-not-send="true" href="mailto:andrea.turli@eng.it"
 target="_blank">andrea.turli@eng.it</a>></span><br>
      <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
        <div text="#000000" bgcolor="#ffffff">Hi all,<br>
        <br>
unfortunately also running the fsck on the .img didn't solve the
problem. Here my situation:<br>
        <br>
- 1 x frontend: ubuntu 10.04 - KVM - NFS<br>
- 1 x cluster node: ubuntu 10.04 - KVM - NFS<br>
        <br>
A ttylinux VM has been started correctly on the worker node. From the
front end:<br>
# onevm list<br>
  ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME<br>
  21 oneadmin ttylinux runn   0   65536  <a moz-do-not-send="true"
 href="http://grids21.eng.it" target="_blank">grids21.eng.it</a> 00
00:10:22<br>
        <br>
# onevnet list<br>
  ID USER     NAME              TYPE BRIDGE #LEASES<br>
   8 oneadmin public          Ranged    br0       0<br>
   9 oneadmin private          Fixed    br0       1<br>
        <br>
        <br>
The ttylinux VM shows this:<br>
# ifconfig <br>
eth0  ..... inet address 192.168.0.6 ...<br>
        <br>
but I cannot ping anything from this VM<br>
        <br>
        <br>
To help the investigation, here the bctrl show command on the cluester
node<br>
$ brctl show<br>
bridge name    bridge id        STP enabled    interfaces<br>
br0        8000.0019b9e57ae5    no        eth0   vnet0<br>
virbr0        8000.000000000000    yes    <br>
        <br>
Thank you again for any help,<br>
        <font color="#888888">Andrea</font>
        <div>
        <div><br>
        <br>
On 06/26/2010 09:50 AM, ranjith k wrote:
        <blockquote type="cite">hello,<br>
run the command "qemu-syetm_x86 ttylinux.img" from the ttylinux image
directory..you can see a window and will start boot ttylinux...<br>
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 .....<br>
          <br>
          <div class="gmail_quote">On Fri, Jun 25, 2010 at 3:51 PM,
Andrea
Turli <span dir="ltr"><<a moz-do-not-send="true"
 href="mailto:andrea.turli@eng.it" target="_blank">andrea.turli@eng.it</a>></span>
wrote:<br>
          <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
            <div text="#000000" bgcolor="#ffffff"><tt><font size="-1">Dear
all,<br>
            <br>
I'm trying to access through ssh to my instance of ttylinux VM created
following this guide </font><a moz-do-not-send="true"
 href="http://www.opennebula.org/documentation:rel1.4:vmg"
 target="_blank">http://www.opennebula.org/documentation:rel1.4:vmg</a><br>
            <font size="-1">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.<br>
            <br>
I've seen also this thread</font><a moz-do-not-send="true"
 href="http://lists.opennebula.org/pipermail/users-opennebula.org/2010-June/002220.html"
 target="_blank">
http://lists.opennebula.org/pipermail/users-opennebula.org/2010-June/002220.html</a>
with a similar problem, but also fsck on that VM doesn't help me to
solve the situation.<br>
            <br>
Could it be related to the network configuration of my kvm host?</tt> <br>
            <pre cols="72">-- 
Andrea Turli     
Ricercatore
Direzione Ricerca e Innovazione
<a moz-do-not-send="true" href="mailto:andrea.turli@eng.it"
 target="_blank">andrea.turli@eng.it</a>

Engineering Ingegneria Informatica spa
Via Riccardo Morandi, 32 00148 Roma (RM)
Tel. +39 06 8307 4710
Fax +39 06 8307 4200 
<a moz-do-not-send="true" href="http://www.eng.it" target="_blank">www.eng.it</a>

    </pre>
            </div>
            <br>
_______________________________________________<br>
Users mailing list<br>
            <a moz-do-not-send="true"
 href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
            <a moz-do-not-send="true"
 href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
 target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
            <br>
          </blockquote>
          </div>
          <br>
        </blockquote>
        <br>
        <br>
        <pre cols="72">-- 
Andrea Turli     
Ricercatore
Direzione Ricerca e Innovazione
<a moz-do-not-send="true" href="mailto:andrea.turli@eng.it"
 target="_blank">andrea.turli@eng.it</a>

Engineering Ingegneria Informatica spa
Via Riccardo Morandi, 32 00148 Roma (RM)
Tel. +39 06 8307 4710
Fax +39 06 8307 4200 
<a moz-do-not-send="true" href="http://www.eng.it" target="_blank">www.eng.it</a>

    </pre>
        </div>
        </div>
        </div>
        <br>
_______________________________________________<br>
Users mailing list<br>
        <a moz-do-not-send="true"
 href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
        <a moz-do-not-send="true"
 href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
 target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
        <br>
      </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
    <br>
    <pre cols="72">-- 
Andrea Turli     
Ricercatore
Direzione Ricerca e Innovazione
<a moz-do-not-send="true" href="mailto:andrea.turli@eng.it"
 target="_blank">andrea.turli@eng.it</a>

Engineering Ingegneria Informatica spa
Via Riccardo Morandi, 32 00148 Roma (RM)
Tel. +39 06 8307 4710
Fax +39 06 8307 4200 
<a moz-do-not-send="true" href="http://www.eng.it" target="_blank">www.eng.it</a>

    </pre>
    </div>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Andrea Turli     
Ricercatore
Direzione Ricerca e Innovazione
<a class="moz-txt-link-abbreviated" href="mailto:andrea.turli@eng.it">andrea.turli@eng.it</a>

Engineering Ingegneria Informatica spa
Via Riccardo Morandi, 32 00148 Roma (RM)
Tel. +39 06 8307 4710
Fax +39 06 8307 4200 
<a class="moz-txt-link-abbreviated" href="http://www.eng.it">www.eng.it</a>

</pre>
</body>
</html>