[one-users] VM fails to boot for architecture reasons

Valentin Bud valentin.bud at gmail.com
Wed Oct 23 05:57:48 PDT 2013


Hi Mark,

In the jenkins template you have ARCH=x86_64 and in the second OS = [
ARCH=x86_64 ]. The latter is the correct way of setting the architecture
for the VM. See the OS and Boot Options Section [1] from the docs.


On Wed, Oct 23, 2013 at 12:29:27PM +0200, Mark Kusch wrote:
> cat oneconfig/vms/jenkins.tmpl
> NAME = jenkins.cmshared.mms-at-work.de
> MEMORY = 16384
> CPU = 2
> VCPU = 4
> ARCH = x86_64

s/ARCH/"OS = [ ARCH = x86_64 ]"/ 

> 
> DISK = [
>   IMAGE = "jenkins.cmshared.mms-at-work.de"
> ]
> DISK = [
>   TYPE  = swap,
>   SIZE  = 4096
> ]
> 
> NIC = [
>   NETWORK = "MMS",
>   IP = 192.168.198.10
> ]
> 
> GRAPHICS = [
>   TYPE = "vnc",
>   LISTEN = "0.0.0.0"
> ]
> 
> 
> cat oneconfig/templates/CentOS-6.4_x86_64-BASE
> NAME   = "CentOS-6.4_x86_64-BASE"
> CPU    = 1
> VCPU   = 2
> MEMORY = 4096
> OS = [ arch = "x86_64" ]

Here it's correct and thus it works :-).

> DISK   = [ IMAGE = "CentOS-6.4_x86_64" ]
> DISK = [
>   TYPE = swap,
>   SIZE = 2048
> ]
> 

[1]: http://opennebula.org/documentation:rel4.2:template#os_and_boot_options_section

Good Will,
Valentin 



More information about the Users mailing list