Also check the permissions of the /dev/kvm device on the physical machine where the hypervisor is running. Make sure that the user that is running the hypervisor has permissions to read and write to that device. The libvirt configuration defines which user does this.
On Tue, Nov 15, 2011 at 02:45:37PM -0600, Dian Djaelani wrote: > thanks Thomas for your suggest, > i try to load kernel modules kvm, kvm_intel but it`s still error, can > give me any suggestion :-( ? > > Thomas Higdon wrote: > > I've seen this sort of error when the kvm kernel modules haven't been > > loaded. Try: > > > > modprobe kvm > > > > and: > > > > modprobe kvm_intel > > > > or > > > > modprobe kvm_amd > > > > depending on your CPU vendor > > > > On Tue, Nov 15, 2011 at 01:54:01PM -0600, Dian Djaelani wrote: > >> 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 > >> k 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