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

Mark Kusch mark.kusch at silpion.de
Wed Oct 23 03:29:27 PDT 2013


Hi list,

VM tells me, its kernel is for x86_64, but machine would be i686.
Target is x86_64.

oneimage list
  ID USER       GROUP      NAME            DATASTORE     SIZE TYPE PER STAT RVMS
   2 oneadmin   oneadmin   CentOS-6.4_x86_ default       218M OS    No used    1

oneimage clone 2 jenkins

oneimage list
oneimage list
  ID USER       GROUP      NAME            DATASTORE     SIZE TYPE PER STAT RVMS
   2 oneadmin   oneadmin   CentOS-6.4_x86_ default       218M OS    No used    1
   3 oneadmin   oneadmin   jenkins         default       218M OS   Yes used    1

onevm list
  ID USER     GROUP    NAME            STAT UCPU    UMEM HOST             TIME
   4 oneadmin oneadmin jenkins         runn    0     16G wum37132     0d 00h07

onevm show 4
VIRTUAL MACHINE 4 INFORMATION
ID                  : 4
NAME                : jenkins
USER                : oneadmin
GROUP               : oneadmin
STATE               : ACTIVE
LCM_STATE           : RUNNING
RESCHED             : No
HOST                : onehost1
START TIME          : 10/23 12:12:40
END TIME            : -
DEPLOY ID           : one-4

VIRTUAL MACHINE MONITORING
USED CPU            : 0
NET_RX              : 13K
USED MEMORY         : 16G
NET_TX              : 0K

PERMISSIONS
OWNER               : um-
GROUP               : ---
OTHER               : ---

VM DISKS
 ID TARGET IMAGE                               TYPE SAVE SAVE_AS
  0 hda    jenkins                             file  YES       -
  1 hdb    4G                                  swap   NO       -

VM NICS
 ID NETWORK              VLAN BRIDGE       IP              MAC
  0 MMS                   yes br1          192.168.198.10  54:52:00:c0:de:0a
                                           fe80::5652:ff:fec0:de0a

VIRTUAL MACHINE HISTORY
SEQ HOST            ACTION           REAS           START        TIME     PROLOG
  0 onehost1        none             none  10/23 12:12:44   0d 00h08m   0h01m08s

USER TEMPLATE
ARCH="x86_64"

VIRTUAL MACHINE TEMPLATE
CPU="2"
GRAPHICS=[
  LISTEN="0.0.0.0",
  PORT="5904",
  TYPE="vnc" ]
MEMORY="16384"
VCPU="4"
VMID="4"


VM created:
onevm create oneconfig/vms/jenkins.tmpl
cat oneconfig/vms/jenkins.tmpl
NAME = jenkins.cmshared.mms-at-work.de
MEMORY = 16384
CPU = 2
VCPU = 4
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"
]


Booting successfully from same disk image (ID 3):

onetemplate create oneconfig/templates/CentOS-6.4_x86_64-BASE

onetemplate list
  ID USER            GROUP           NAME                                REGTIME
   0 oneadmin        oneadmin        CentOS-6.4_x86_64-BASE       10/22 16:19:00

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" ]
DISK   = [ IMAGE = "CentOS-6.4_x86_64" ]
DISK = [
  TYPE = swap,
  SIZE = 2048
]

NIC = [ NETWORK = "MMS" ]

GRAPHICS = [
  TYPE    = "vnc",
  LISTEN  = "0.0.0.0"
]

onetemplate instantiate 0 --name toast # -> works


WHY does "jenkins" spawn on a VM created as i686? 

Thanks guys,

# kraM

-- 
Mark Kusch
Silpion IT-Solutions GmbH: Systems Engineer

Tel.: +49 (40) 399976-51
Fax.: +49 (40) 399976-40
Mail: mark.kusch at silpion.de

Firmensitz: Brandshofer Deich 48, 20539 Hamburg
Geschäftsführer: Dipl.-Ing. (FH) Patrick Postel
Registergericht: Amtsgericht Hamburg HRB 78585
Finanzbehörde: Hamburg
USt.-Ident.-Nr.: DE213610768
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131023/1c73f15d/attachment.pgp>


More information about the Users mailing list