<html><head><style>.em-message p{margin:0px}</style></head><body><div class="em-message"><font face=""><font size="2">Hello,</font></font><br><br><font size="2">You have to add the Arch flag in your template, here below an example :</font><pre class="code bash" style="padding: 0.5em; border: 1px dashed rgb(85, 85, 85); color: rgb(85, 85, 85); background-color: rgb(245, 245, 245); line-height: 18px; margin: 10px; overflow: auto !important;"><font size="2"><b>OS = [ARCH<span class="Apple-tab-span"> </span> = x86_64]</b></font></pre><br><font size="2">Hope this will help you,<br>Kind regards<br>CyD</font><br><font face=""><font size="2"><br>Mercredi 30/01/2013 à 14:50 Marco Jagodzinska a écrit:<br></font><blockquote style="border:0;border-left: 2px solid #22437f; padding:0px; margin:0px; padding-left:5px; margin-left: 5px; "><font size="2">
Thanks for your great tip!<br>
<br>
I installed noVNC and add this to "ubuntu.one":<br>
<br>
GRAPHICS = [<br>
type = "vnc",<br>
listen = "0.0.0.0",<br>
port = "5902" ]<br>
<br>
Now I'm able to view whats wrong with the VM.<br>
<br>
It's stuck with the message: "This kernel requires an x86-64 CPU,
but only detected an i686 CPU."<br>
<br>
I'm a little bit confused because I'm using 64bit:<br>
<br>
oneadmin@Arbeitsrechner:~/one-templates$ uname -m<br>
x86_64<br>
<br>
What have I to configure for being able to use 64bit VMs?<br>
<br>
<br>
Cheers,<br>
Marco<br>
<br>
<br>
<br>
</font><div class="moz-cite-prefix"><font size="2">Am 30.01.2013 12:39, schrieb Marco
Jagodzinska:<br>
</font></div>
<blockquote cite="mid:5109066E.7010403@fh-aachen.de" type="cite"><font size="2">
For VNC-Access I have to put the following into "ubuntu.one"?<br>
</font><pre class="code"><font size="2">GRAPHICS = [
type = "<span class="search_hit">vnc</span>",
listen = "1.2.3.4",
port = "5902" ]
<small><font face="sans-serif"><big>How can I check if my machine has a route to access 192.168.122.0/24 associated to virbr0? (I can't login into this machine)</big></font></small>
</font></pre><font size="2">
And btw: is there a possibility to change "ubuntu.one" without
doing a resubmit? Because this takes about ten minutes and slows
down my PC.<br>
In other words, I'm searching for a way to use the image again
that already has been copied via ssh....<br>
<br>
Cheers,<br>
Marco<br>
<br>
<br>
<br>
<br>
</font><div class="moz-cite-prefix"><font size="2">Am 30.01.2013 11:30, schrieb Javier
Fontan:<br>
</font></div>
<blockquote cite="mid:CAK+uMM-FxGRXFLXExAW-c5x1+CcG6gnO1zt9HLHTREf9wWB8ZQ@mail.gmail.com" type="cite">
<pre wrap=""><font size="2">Your VM configuration seems to be ok. Can you check that your machine
has a route to access 192.168.122.0/24 associated to virbr0?
Alternatively try to access the machine using VNC. Maybe there is a
problem with the machine and is unable to start.
On Tue, Jan 29, 2013 at 4:24 PM, Marco Jagodzinska
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:jagodzinska@fh-aachen.de"><jagodzinska@fh-aachen.de></a> wrote:
</font></pre>
<blockquote type="cite">
<pre wrap=""><font size="2">(Sorry, I didn't answer to the group just to Javier...)
Hey, thanks for your answer!
I try to give all neeeded information (and hopefully not more <img src="http://euranova.eu/myoffice/themes/Default/images/emoticons/normal/wink.gif" alt=";)">)
oneadmin@Arbeitsrechner:~/one-templates$ ifconfig virbr0
virbr0 Link encap:Ethernet Hardware Adresse fe:00:c0:a8:7a:06
inet Adresse:192.168.122.1 Bcast:192.168.122.255
Maske:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:1116 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:10519 (10.5 KB) TX-Bytes:115616 (115.6 KB)
oneadmin@Arbeitsrechner:~/one-templates$ cat network/small_network.net
NAME = "public"
TYPE = FIXED
BRIDGE = virbr0
LEASES = [ IP="192.168.122.5"]
LEASES = [ IP="192.168.122.6"]
LEASES = [ IP="192.168.122.7"]
NETWORK_ADDRESS=192.168.122.0
NETWORK_MASK=255.255.255.0
GATEWAY=192.168.122.1
DNS="8.8.8.8 8.8.4.4" #(also tried: 192.168.122.1)
oneadmin@Arbeitsrechner:~/one-templates$ cat ubuntu.one
NAME = ubuntu
CPU = 0.7
MEMORY = 1024
DISK = [ IMAGE = "Ubuntu" ]
NIC = [ NETWORK = "public" ]
FEATURES = [ acpi="no" ]
CONTEXT=[
ETH0_IP = "$NIC[IP, NETWORK=\"public\"]",
ETH0_NETWORK = "$NETWORK[NETWORK_ADDRESS, NETWORK=\"public\"]",
ETH0_MASK = "$NETWORK[NETWORK_MASK, NETWORK=\"public\"]",
ETH0_GATEWAY = "$NETWORK[GATEWAY, NETWORK=\"public\"]",
ETH0_DNS = "$NETWORK[DNS, NETWORK=\"public\"]",
SSH_PUBLIC_KEY = "ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQCo0VdfEFgPO6fzNYiKvH19jmF/6ARD0O41VyKal8fE0WpBL54SzwbnP5TjjIojDPF4BHKeAQ7P9DehUZHWsrOzpEe862AsDBjeJXK3MPO8pSztS11fUb84sxFoPlrvzX6VkiVD7D1CDVV8Jq4cudOe+DGAreQXV408mF9RAMT7G4jkawd99YF4a5NmvnCxqSp+Fi6GBW/g36w0p6JKYzSKnqzGQZ8phrE6FL63lfO/OnlDgD/xntJ+bVx4MUI/MJS0OKoDvMsjfirYtOLNeuaH6SFDHlK/EJE2jocLrzB+BhalFgfsCm3oCuIyzi+AHRy9F3dNME+4K96PyJsCPZ/T
oneadmin@Arbeitsrechner"
]
oneadmin@Arbeitsrechner:~/one-templates$ onevm list
ID USER GROUP NAME STAT UCPU UMEM HOST
TIME
41 oneadmin oneadmin ttylinux runn 5 64M localhost 0d
05h21
42 oneadmin oneadmin ubuntu runn 0 1024M localhost 0d
02h07
oneadmin@Arbeitsrechner:~/one-templates$ onevm show 42 | grep IP
ETH0_IP="192.168.122.7",
IP="192.168.122.7",
oneadmin@Arbeitsrechner:~/one-templates$ ssh <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:root@192.168.122.7">root@192.168.122.7</a>
ssh: connect to host 192.168.122.7 port 22: No route to host
Cheers,
Marco
Am 29.01.2013 15:25, schrieb Javier Fontan:
I've just tested the ubuntu image and gets the IP selected by
OpenNebula. It also configures the root authorized_keys wth
SSH_PUBLIC_KEY parameter in context. Can you send us the template used
to create the VM?
On Mon, Jan 21, 2013 at 6:16 PM, Marco Jagodzinska
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:jagodzinska@fh-aachen.de"><jagodzinska@fh-aachen.de></a> wrote:
In Addition: The whole system is just on one computer so there is no need
for contacting other computers. And also no need for bridging?
Am 21.01.2013 12:23, schrieb Marco Jagodzinska:
Thank you!
I will try it, but why is ttylinux working when virbr0 isn't associated
with any physical interface?
Am 21.01.2013 12:10, schrieb Javier Fontan:
virbr0 is a bridge automatically created by libvirt and is not
associated to any physical interface (vnet0 is not a physical
interface). You should create a new bridge or associate a physical
interface to virbr0. I think it is better to create a new one. If you
are using ubuntu you can find more information in these two guides:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://help.ubuntu.com/10.04/serverguide/network-configuration.html#bridging">https://help.ubuntu.com/10.04/serverguide/network-configuration.html#bridging</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://cloudblab.files.wordpress.com/2012/05/opennebula-3-4-1-in-ubuntu-12-04-precises-single-machine-installation-for-learning-and-testing-purpose1.pdf">http://cloudblab.files.wordpress.com/2012/05/opennebula-3-4-1-in-ubuntu-12-04-precises-single-machine-installation-for-learning-and-testing-purpose1.pdf</a>
On Mon, Jan 21, 2013 at 10:01 AM, Marco Jagodzinska
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:jagodzinska@fh-aachen.de"><jagodzinska@fh-aachen.de></a> wrote:
Thanks for your answer!
oneadmin@Arbeitsrechner:~/one-templates$ brctl show
bridge name bridge id STP enabled interfaces
virbr0 8000.fe00c0a87a05 yes vnet0
Cheers,
Marco
Am 18.01.2013 14:43, schrieb Javier Fontan:
Can you check that virbr0 bridge is associated to a physical
interface? You can use "brctl show" to get that info.
On Thu, Jan 17, 2013 at 2:42 PM, Marco Jagodzinska
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:jagodzinska@fh-aachen.de"><jagodzinska@fh-aachen.de></a> wrote:
Hello,
I'm trying to get the ubuntu image from the marketplace running, but
the
VM
doesn't seem to get an IP.
(I don't get another IP in this net even if I scan with nmap.)
This is my virtual net:
oneadmin@Arbeitsrechner:~/one-templates$ ifconfig virbr0
virbr0 Link encap:Ethernet Hardware Adresse 00:00:00:00:00:00
inet Adresse:192.168.122.1 Bcast:192.168.122.255
Maske:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2726 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:0 (0.0 B) TX-Bytes:191341 (191.3 KB)
This is the template for "onevnet create small_network.net":
oneadmin@Arbeitsrechner:~/one-templates$ cat network/small_network.net
NAME = "public"
TYPE = FIXED
BRIDGE = virbr0
LEASES = [ IP="192.168.122.5"]
LEASES = [ IP="192.168.122.6"]
LEASES = [ IP="192.168.122.7"]
NETWORK_ADDRESS=192.168.122.0
NETWORK_MASK=255.255.255.0
GATEWAY=192.168.122.1
DNS=192.168.122.1
And finally this is the template for "onevm create ubuntu.one"
oneadmin@Arbeitsrechner:~/one-templates$ cat ubuntu.one
NAME = ubuntu
CPU = 0.7
MEMORY = 1024
DISK = [ IMAGE = "ubuntu" ]
NIC = [ NETWORK = "public" ]
FEATURES = [ acpi="no" ]
CONTEXT=[
ETH0_IP = "$NIC[IP, NETWORK=\"public\"]",
ETH0_NETWORK = "$NETWORK[NETWORK_ADDRESS, NETWORK=\"public\"]",
ETH0_MASK = "$NETWORK[NETWORK_MASK, NETWORK=\"public\"]",
ETH0_GATEWAY = "$NETWORK[GATEWAY, NETWORK=\"public\"]",
ETH0_DNS = "$NETWORK[DNS, NETWORK=\"public\"]",
SSH_PUBLIC_KEY = "ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQCo0VdfEFgPO6fzNYiKvH19jmF/6ARD0O41VyKal8fE0WpBL54SzwbnP5TjjIojDPF4BHKeAQ7P9DehUZHWsrOzpEe862AsDBjeJXK3MPO8pSztS11fUb84sxFoPlrvzX6VkiVD7D1CDVV8Jq4cudOe+DGAreQXV408mF9RAMT7G4jkawd99YF4a5NmvnCxqSp+Fi6GBW/g36w0p6JKYzSKnqzGQZ8phrE6FL63lfO/OnlDgD/xntJ+bVx4MUI/MJS0OKoDvMsjfirYtOLNeuaH6SFDHlK/EJE2jocLrzB+BhalFgfsCm3oCuIyzi+AHRy9F3dNME+4K96PyJsCPZ/T
oneadmin@Arbeitsrechner"
]
(infos are from here
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://opennebula.org/documentation:rel3.8:context_overview#preparing_the_template">http://opennebula.org/documentation:rel3.8:context_overview#preparing_the_template</a>
)
(The image is registered:
oneadmin@Arbeitsrechner:/var/log/one$ oneimage list
ID USER GROUP NAME DATASTORE SIZE TYPE PER
STAT
RVMS
3 oneadmin oneadmin ubuntu default 11G OS No
used
1
)
Onebody knows what I'm doing wrong?
Cheers,
Marco
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</font></pre>
</blockquote>
<pre wrap=""></pre>
</blockquote>
<font size="2"><br>
<br>
</font><fieldset class="mimeAttachmentHeader"></fieldset>
<font size="2"><br>
</font><pre wrap=""><font size="2">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</font></pre>
</blockquote>
<br>
</blockquote></font></div></body></html>