Hi, I have been working on it and I have "found" the problem. The thing is that ONE is somehow changing the network interfaces of the VM machines. When I register a VM image (oneimage register file.img) and run it with KVM (kvm -hda ONE_LOCATION/var/image/imageId) it shows 2 interfaces (ifconfig -a): lo and eth1. But when I run the VM with opennebula (onevm create template.one) with the same VM image as before, it shows lo and eth2, and I have no clue about this behaviour.
To solve this is changed the image, so before registering it I modified the /etc/network/interfaces to configure eth2 interface instead of the real eth1 interface of the image. Now I can use my VM machines, but this is not a good solution, and I hope I can find (or someone else) a better one. I don't know if this could be considered as a bug or it is just a configuration problem. Regards Idafen 2011/4/18 Idafen Santana Pérez <[email protected]>: > Same problem for me. I can run a Ubuntu image, but i cannot access it > with ssh or even ping to it. I can access it by using virt-manager, > and it is running ok, but the network interfaces are down and their > name change every time I run a new image (eth1, eth2, ...), so I can't > configure it. > > Thanks you in advance. > Idafen > > On Mon, Apr 18, 2011 at 1:48 PM, Lei Shi <[email protected]> wrote: >> Hello, Guys: >> >> Currently I am doing some experiments with Opennebula, which is a >> cloud management platform. >> I have two computers, one is opennebula management node (Ubuntu Desktop >> 10.10); >> the other one is opennebula worker node (Ubuntu Desktop 10.10 + KVM). >> >> From the Opennebula website, I downloaded a ttylinux image, which is >> contextualised for opennebula. From the opennebula management node, I >> deployed this image to a VM running on the opennebula worker node >> using "onevm create ...." command. This VM is successfully running >> with an IP address. I can login to this tty VM. >> >> However, I created a Ubuntu 10.10 Desktop Image by virt manger >> (virt-manager). >> I tried to deploy it using the ubuntu script from the >> /share/scripts/ubuntu/context, but I commented out CONTEXT part. I got >> a running VM without IP address, I couldn't login to it and can do >> nothing but see it's running..... >> >> Or any of you know where I can download pre-built images....ttylinux >> is just not enough.... >> >> >> Any help will be appreciated. Thanks. >> >> --Lei >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> > _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
