Request #3413
VM creation stuck in "PENDING" state
Status: | Closed | Start date: | 12/06/2014 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Pull request: |
Description
Hi... I am new to Opennebula. I have installed Opennebula 4.6 on ubuntu 14.04 following this document.
http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_ubuntu_kvm.html
I can able to create image,template and VM. But VM stucks in PENDING state. Please give me any suggestion.
Kindly check the attached screenshots for log that i am getting.
Thanks,
Pandiarajan
History
#1 Updated by Pandiarajan Selvaraj over 6 years ago
I have fixed that issue by restarting host and libvirtd..Now VM gets FAILED with following error.
Sat Dec 6 18:10:11 2014 [DiM][I]: New VM state is ACTIVE.
Sat Dec 6 18:10:11 2014 [LCM][I]: New VM state is PROLOG.
Sat Dec 6 18:10:31 2014 [LCM][I]: New VM state is BOOT
Sat Dec 6 18:10:31 2014 [VMM][I]: Generating deployment file: /var/lib/one/vms/8/deployment.0
Sat Dec 6 18:10:32 2014 [VMM][I]: ExitCode: 0
Sat Dec 6 18:10:32 2014 [VMM][I]: Successfully execute network driver operation: pre.
Sat Dec 6 18:10:35 2014 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/8/dep loyment.0' 'localhost' 8 localhost
Sat Dec 6 18:10:35 2014 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/8/deployment.0
Sat Dec 6 18:10:35 2014 [VMM][I]: error: internal error: process exited while connecting to monitor: ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy
Sat Dec 6 18:10:35 2014 [VMM][I]: failed to initialize KVM: Device or resource busy
Sat Dec 6 18:10:35 2014 [VMM][I]:
Sat Dec 6 18:10:35 2014 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/8/deployment.0
Sat Dec 6 18:10:35 2014 [VMM][I]: ExitCode: 255
Sat Dec 6 18:10:35 2014 [VMM][I]: Failed to execute virtualization driver operation: deploy.
Sat Dec 6 18:10:35 2014 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/8/deploym ent.0
Sat Dec 6 18:10:36 2014 [DiM][I]: New VM state is FAILED
Please have a note on this, suggest me any solution..
#2 Updated by Ruben S. Montero over 6 years ago
- Category deleted (
Sunstone) - Status changed from Pending to Closed
- Assignee deleted (
junsheng chu)
This seems to be a misconfigured libvirtd/qemu. Try to start a VM directly (i.e. virsh -c qemu:///system create) as de oneadmin account. As this seems not to be a bug nor a feature request I'm closing it. If any further assistance is needed try the mailing list.