Hello,<div><br></div><div>there are two types of contextualization: network and generic. I think you meant in your email generic contextualization, but for the network to work you need to implement network contextualization:</div>
<div>(Ubuntu) <a href="https://github.com/OpenNebula/one/tree/master/share/scripts/ubuntu/net-vmcontext">https://github.com/OpenNebula/one/tree/master/share/scripts/ubuntu/net-vmcontext</a></div><div><br></div><div>To double-check, I recommend enabling VNC in the VM template to see if the IP is properly configured from the inside.</div>
<div><br>By the way, a couple of weeks ago we published a screencast precisely on how to do this:</div><div><a href="http://blog.opennebula.org/?p=2845">http://blog.opennebula.org/?p=2845</a></div><div><br></div><div>cheers,</div>
<div>Jaime</div><div><br><div class="gmail_quote">On Fri, Apr 27, 2012 at 9:24 AM, Yilmaz Eldogan <span dir="ltr"><<a href="mailto:yeldogan@web.de" target="_blank">yeldogan@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
Iīm trying for 4 weeks to create an own working VM for OpenNebula 3.2, but my approaches havenīt been successful.<br>
<br>
First I want to give you information about our subnet:<br>
Subnet-Range: xxx.xxx.xxx.128 - xxx.xxx.xxx.192<br>
Subnet-Mask: 255.255.255.192<br>
Frontend: xxx.xxx.xxx.180<br>
Node: xxx.xxx.xxx.179<br>
Gateway: xxx.xxx.xxx.190<br>
DNS: xxx.xxx.xxx.131<br>
DHCP: xxx.xxx.xxx.134<br>
<br>
I tried to deploy ttylinux (OpenNebula Example VM) and pinging and SSH is working without any problems. But my approaches to create a working Ubuntu/OpenSUSE VM that I can ping and connect via SSH havenīt been succcessful.<br>
I have created many VMs. Downloaded the right contextualization file from here: <a href="http://dev.opennebula.org/projects/opennebula/repository/show/share/scripts" target="_blank">http://dev.opennebula.org/<u></u>projects/opennebula/<u></u>repository/show/share/scripts</a>. <br>
Of course I adapt the Gateway and Subnet-Mask part in the file to our subnet. I leave the context part in the template-file (to create VMs) empty.<br>
In the VM, I link the downloaded and adapted context file, so the script is started every time the VM boots. The VM is deployed to the cloud properly, and it also gets in the "RUNNING" state.<br>
<br>
But my major problems are that I canīt ping ("Destination Host Unreachable") or connect via SSH to them.<br>
<br>
I tried these tutorials, but at the end of these approaches Iīm getting the same errors:<br>
<a href="http://opennebula.org/documentation:rel3.4:cong" target="_blank">http://opennebula.org/<u></u>documentation:rel3.4:cong</a><br>
<a href="https://portal.futuregrid.org/tutorials/opennebula" target="_blank">https://portal.futuregrid.org/<u></u>tutorials/opennebula</a><br>
<a href="https://support.opennebula.pro/entries/20466331-using-suse-studio-with-opennebula" target="_blank">https://support.opennebula.<u></u>pro/entries/20466331-using-<u></u>suse-studio-with-opennebula</a><br>
<br>
<br>
Any ideas, what Iīm doing wrong ?<br>
<br>
Here you can see my template file to create a VM in OpenNebula:<br>
<br>
Name=UbuntuVM<br>
CPU = 0.5<br>
MEMORY = 512<br>
DISK = [<br>
SOURCE = "/var/lib/one/images/ubuntu.<u></u>img",<br>
target = "hda",<br>
readonly = "no"]<br>
<br>
NIC = [ NETWORK ="cloud network" ]<br>
<br>
FEATURES=[ acpi="no" ]<br>
<br>
<br>
The virtual network "cloud network" is created via Sunstone web UI and contains the following IPs:<br>
xxx.xxx.xxx.166<br>
xxx.xxx.xxx.171<br>
xxx.xxx.xxx.172<br>
These are free IPs in our subnet.<br>
<br>
<br>
Best Regards,<br>
<br>
Yilmaz<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</blockquote></div><br></div><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>