[one-users] URGENT: unknown type OS hvm

Darshan Upadhyay darshanit7 at gmail.com
Tue May 15 23:19:12 PDT 2012


Hello friends,

i am new to kvm hypervisor. i have successfully created cloud with xen
hypervisor.

my configuration of two system has been shown below:
Cloud front end:
Hypervisor: XEN
OS: Centos 5.5

host
Hypervisor: KVM(VT bit enabled in BIOS)
OS: Centos 5.5

With above configuration i have successfully add the host. looks like with
onehost show command:
HOST 1
INFORMATION
ID                    : 1
NAME                  : host2
STATE                 : MONITORED
IM_MAD                : im_kvm
VM_MAD                : vmm_kvm
TM_MAD                : tm_ssh

HOST
SHARES
MAX MEM               : 1007348
USED MEM (REAL)       : 291660
USED MEM (ALLOCATED)  : 0
MAX CPU               : 200
USED CPU (REAL)       : 0
USED CPU (ALLOCATED)  : 0
RUNNING VMS           : 0

MONITORING
INFORMATION
ARCH=i686
CPUSPEED=2000
ERROR=[
  MESSAGE="Error monitoring host 1 : MONITOR FAILURE 1 -
",
  TIMESTAMP="Wed May 16 16:05:47 2012" ]
FREECPU=200.0
FREEMEMORY=715688
HOSTNAME=localhost.localdomain
HYPERVISOR=kvm
MODELNAME="Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz"
NETRX=0
NETTX=0
TOTALCPU=200
TOTALMEMORY=1007348
USEDCPU=0.0
USEDMEMORY=291660

now, i am trying to create VM from the following document
http://opennebula.org/documentation:archives:rel3.0:vmg

when i had execute the onevm create command, it gives me error like
"unknown type OS hvm"
the oned.log has been shown below:

Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG D 10 tm_clone.sh:
darsh:/srv/cloud/one/var/images/495d0ceba470fc7f9bfcafc7f24a9090
host2:/srv/cloud/one/var//10/images/disk.0
Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG D 10 tm_clone.sh:
DST: /srv/cloud/one/var//10/images/disk.0
Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10 tm_clone.sh:
Creating directory /srv/cloud/one/var//10/images
Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10 tm_clone.sh:
Executed "ssh host2 mkdir -p /srv/cloud/one/var//10/images".
Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10 tm_clone.sh:
Cloning darsh:/srv/cloud/one/var/images/495d0ceba470fc7f9bfcafc7f24a9090
Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10 tm_clone.sh:
Executed "scp
darsh:/srv/cloud/one/var/images/495d0ceba470fc7f9bfcafc7f24a9090
host2:/srv/cloud/one/var//10/images/disk.0".
Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10 tm_clone.sh:
Executed "ssh host2 chmod a+rw /srv/cloud/one/var//10/images/disk.0".
Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10 ExitCode: 0
Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh:
Executed "mkdir -p
/srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".
Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh:
Executed "cp -R /srv/cloud/one/var/10/context.sh
/srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".
Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh:
Executed "cp -R /tty/init.sh
/srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".
Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh:
Executed "cp -R /srv/id_rsa.pub
/srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".
Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh:
Executed "mkisofs -o
/srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/disk.1 -J -R
/srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".
Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh:
Executed "scp /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/disk.1
host2:/srv/cloud/one/var//10/images/disk.1".
Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 tm_context.sh:
Executed "rm -rf /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af".
Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 ExitCode: 0
Wed May 16 16:41:39 2012 [TM][D]: Message received: TRANSFER SUCCESS 10 -
Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10 Command
execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/deploy" ]; then
/var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//10/images/deployment.0
host2 10 host2; else                              exit 42; fi'
Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10 error: Failed
to create domain from /srv/cloud/one/var//10/images/deployment.0
Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10 error:
unknown OS type hvm
Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG E 10 Could not
create domain from /srv/cloud/one/var//10/images/deployment.0
Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10 ExitCode: 255
Wed May 16 16:41:41 2012 [VMM][D]: Message received: DEPLOY FAILURE 10
Could not create domain from /srv/cloud/one/var//10/images/deployment.0

so, please guide me where i am doing mistake?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120516/18fd2e1d/attachment-0002.htm>


More information about the Users mailing list