Hi Carlos,
On 06/30/2010 04:37 PM, Carlos Martín Sánchez wrote:
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.
We area trying to add another NIC to our template. This is the public
vnet file we have prepared:
NAME = "public"
TYPE = FIXED
#Now we'll use the cluster private network (physical)
BRIDGE = br0
LEASES = [IP=62.101.90.195]
this public IP is one of our subnet 62.101.90.192/27 without DHCP.
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:
/etc/rc.d/rc.startup/10.network: line 78 : ./ifup-eth0.template: No such
file or directory
Anyway I can log in through virt-manager and ifconfig show this
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:03:3E:65:5A:C3
inet addr:62.101.90.195 Bcast:62.101.90.223
Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:74 errors:0 dropped:0 overruns:0 frame:0
TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8683 (8.4 KiB) TX bytes:4177 (4.0 KiB)
Interrupt:11 Base address:0xc100
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
and there is the problem:
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
ENABLE=yes
NAME=Ethernet
IPADDRESS=62.101.90.195
CIDRLEN=24
NETWORK=62.101.90.0
NETMASK=255.255.255.0
BROADCAST=62.101.90.255
DHCP=no
GATEWAY=62.101.90.1
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
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.tu...@eng.it
<mailto:andrea.tu...@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.tu...@eng.it
<mailto:andrea.tu...@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
<http://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.tu...@eng.it <mailto:andrea.tu...@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 thread
http://lists.opennebula.org/pipermail/users-opennebula.org/2010-June/002220.html
with 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 Innovazione
andrea.tu...@eng.it <mailto:andrea.tu...@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 <http://www.eng.it>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
<mailto:Users@lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
--
Andrea Turli
Ricercatore
Direzione Ricerca e Innovazione
andrea.tu...@eng.it <mailto:andrea.tu...@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 <http://www.eng.it>
_______________________________________________
Users mailing list
Users@lists.opennebula.org <mailto:Users@lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
--
Andrea Turli
Ricercatore
Direzione Ricerca e Innovazione
andrea.tu...@eng.it <mailto:andrea.tu...@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 <http://www.eng.it>
--
Andrea Turli
Ricercatore
Direzione Ricerca e Innovazione
andrea.tu...@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@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org