now i have new error, anyone can help me

Thu Nov 24 13:50:03 2011 [DiM][I]: New VM state is ACTIVE.
Thu Nov 24 13:50:03 2011 [LCM][I]: New VM state is PROLOG.
Thu Nov 24 13:50:03 2011 [VM][I]: Virtual Machine has no context
Thu Nov 24 13:50:08 2011 [TM][D]: tm_clone.sh: 
frontend:/var/lib/one/images/5621c10d8431dd5e7da8042205c0a196 
cluster1:/var/lib/one//10/images/disk.0
Thu Nov 24 13:50:08 2011 [TM][D]: tm_clone.sh: DST: 
/var/lib/one//10/images/disk.0
Thu Nov 24 13:50:08 2011 [TM][I]: tm_clone.sh: Creating directory 
/var/lib/one//10/images
Thu Nov 24 13:50:08 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster1 mkdir -p 
/var/lib/one//10/images".
Thu Nov 24 13:50:08 2011 [TM][I]: tm_clone.sh: Cloning 
frontend:/var/lib/one/images/5621c10d8431dd5e7da8042205c0a196
Thu Nov 24 13:50:08 2011 [TM][I]: tm_clone.sh: Executed "scp 
frontend:/var/lib/one/images/5621c10d8431dd5e7da8042205c0a196 
cluster1:/var/lib/one//10/images/disk.0".
Thu Nov 24 13:50:08 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster1 chmod a+rw 
/var/lib/one//10/images/disk.0".
Thu Nov 24 13:50:08 2011 [TM][I]: ExitCode: 0
Thu Nov 24 13:50:08 2011 [LCM][I]: New VM state is BOOT
Thu Nov 24 13:50:08 2011 [VMM][I]: Generating deployment file: 
/var/lib/one/10/deployment.0
Thu Nov 24 13:50:39 2011 [VMM][I]: Command execution fail: 'if [ -x 
"/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy 
/var/lib/one//10/images/deployment.0 cluster1 10 cluster1; else                           
   exit 42; fi'
Thu Nov 24 13:50:39 2011 [VMM][I]: error: Failed to create domain from 
/var/lib/one//10/images/deployment.0
Thu Nov 24 13:50:39 2011 [VMM][I]: error: internal error process exited while 
connecting to monitor: open /dev/kvm: Permission denied
Thu Nov 24 13:50:39 2011 [VMM][I]: failed to initialize KVM: Operation not 
permitted
Thu Nov 24 13:50:39 2011 [VMM][I]:
Thu Nov 24 13:50:39 2011 [VMM][E]: Could not create domain from 
/var/lib/one//10/images/deployment.0
Thu Nov 24 13:50:39 2011 [VMM][I]: ExitCode: 255
Thu Nov 24 13:50:39 2011 [VMM][E]: Error deploying virtual machine: Could not 
create domain from /var/lib/one//10/images/deployment.0
Thu Nov 24 13:50:39 2011 [DiM][I]: New VM state is FAILED



Javier Fontan wrote:
This error sounds like the modules for kvm are not loaded as it was
stated before. Most probably the mod probe command failed because your
cpu does not support virtualization extensions or is disabled in the
bios.

Check with lsmod and virsh capabilities that you really have the
modules loaded and hvm is supported:

http://blog.loftninjas.org/2009/05/04/libvirt-unknown-os-type-hvm/

On Wed, Nov 16, 2011 at 10:18 PM, Dian Djaelani<djael...@maxindo.net.id>  wrote:
Hi thanks for attention,
but i try check log on /var/log/libvirt/qemu/ in cluster2 that not found log

Humberto N. Castejon Martinez wrote:
Hi,

I have also experienced this problem, my if I am not wrong it can be due
to several reasons. In your case I think the following error message can
have the clue:

[VMM][I]: error: unknown OS type hvm

Have you properly defined the OS attribute of the image you are trying to
deploy?
Also, check /var/log/libvirt/qemu/one-9.log in cluster2 for more info
about the problem.

Cheers,
Humberto

------------------------------

Message: 4
Date: Wed, 16 Nov 2011 02:54:01 +0700
From: Dian Djaelani<djael...@maxindo.net.id
<mailto:djael...@maxindo.net.id>>
To: users@lists.opennebula.org<mailto:users@lists.opennebula.org>
Subject: [one-users] error create VM KVM
Message-ID:<4ec2c359.1040...@maxindo.net.id
<mailto:4ec2c359.1040...@maxindo.net.id>>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

anyone can help me ?? i`m try to build opennebula but error when create
virtual machine with KVM hypervisor

Wed Nov 16 02:29:57 2011 [DiM][I]: New VM state is ACTIVE.
Wed Nov 16 02:29:57 2011 [LCM][I]: New VM state is PROLOG.
Wed Nov 16 02:29:57 2011 [VM][I]: Virtual Machine has no context
Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh:
frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
cluster2:/var/lib/one//9/images/disk.0
Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh: DST:
/var/lib/one//9/images/disk.0
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//9/images
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2
mkdir -p /var/lib/one//9/images".
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Cloning
frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "scp
frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
cluster2:/var/lib/one//9/images/disk.0".
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2
chmod a+rw /var/lib/one//9/images/disk.0".
Wed Nov 16 02:30:57 2011 [TM][I]: ExitCode: 0
Wed Nov 16 02:30:57 2011 [LCM][I]: New VM state is BOOT
Wed Nov 16 02:30:57 2011 [VMM][I]: Generating deployment file:
/var/lib/one/9/deployment.0
Wed Nov 16 02:31:07 2011 [VMM][I]: Command execution fail: 'if [ -x
"/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy
/var/lib/one//9/images/deployment.0 cluster2 9 cluster2;
else                              exit 42; fi'
Wed Nov 16 02:31:07 2011 [VMM][I]: error: Failed to create domain from
/var/lib/one//9/images/deployment.0
Wed Nov 16 02:31:07 2011 [VMM][I]: error: unknown OS type hvm
Wed Nov 16 02:31:07 2011 [VMM][E]: Could not create domain from
/var/lib/one//9/images/deployment.0
Wed Nov 16 02:31:07 2011 [VMM][I]: ExitCode: 255
Wed Nov 16 02:31:07 2011 [VMM][E]: Error deploying virtual machine:
Could not create domain from /var/lib/one//9/images/deployment.0
Wed Nov 16 02:31:08 2011 [DiM][I]: New VM state is FAILED




_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org





--
Regards,

Dian Djaelani
djael...@maxindo.net.id

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to