[one-users] VM fails to boot, "could not create domain" error

Jaime Melis jmelis at opennebula.org
Thu Apr 3 01:52:43 PDT 2014


Hi Jim,

you solved this by restarting libvirtd, right?


On Tue, Apr 1, 2014 at 5:51 PM, Jim Bradfield <jbradfield at gmail.com> wrote:

> I set up two fresh installs of Ubuntu 12.04 LTS yesterday, and followed
> the Ubuntu with LVM quickstart guide (
> http://docs.opennebula.org/4.4/design_and_installation/quick_starts/qs_ubuntu_kvm.html)
> to the letter. The frontend is on 192.168.42.70, and the host is on
> 192.168.42.71. When I instantiate a VM, it gets through prolog and then
> fails. The log reads as follows:
>
> Tue Apr 1 11:35:24 2014 [DiM][I]: New VM state is ACTIVE.
> Tue Apr 1 11:35:25 2014 [LCM][I]: New VM state is PROLOG.
> Tue Apr 1 11:36:52 2014 [LCM][I]: New VM state is BOOT
> Tue Apr 1 11:36:52 2014 [VMM][I]: Generating deployment file:
> /var/lib/one/vms/5/deployment.0
> Tue Apr 1 11:36:52 2014 [VMM][I]: ExitCode: 0
> Tue Apr 1 11:36:52 2014 [VMM][I]: Successfully execute network driver
> operation: pre.
> Tue Apr 1 11:36:53 2014 [VMM][I]: Command execution fail: cat << EOT |
> /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/5/deployment.0'
> '192.168.42.71' 5 192.168.42.71
> Tue Apr 1 11:36:53 2014 [VMM][I]: error: Failed to create domain from
> /var/lib/one//datastores/0/5/deployment.0
> Tue Apr 1 11:36:53 2014 [VMM][I]: error: internal error process exited
> while connecting to monitor: kvm: -drive
> file=/var/lib/one//datastores/0/5/disk.0,if=none,id=drive-ide0-0-0,format=qcow2,cache=none:
> could not open disk image /var/lib/one//datastores/0/5/disk.0: Permission
> denied
> Tue Apr 1 11:36:53 2014 [VMM][I]:
> Tue Apr 1 11:36:53 2014 [VMM][E]: Could not create domain from
> /var/lib/one//datastores/0/5/deployment.0
> Tue Apr 1 11:36:53 2014 [VMM][I]: ExitCode: 255
> Tue Apr 1 11:36:53 2014 [VMM][I]: Failed to execute virtualization driver
> operation: deploy.
> Tue Apr 1 11:36:53 2014 [VMM][E]: Error deploying virtual machine: Could
> not create domain from /var/lib/one//datastores/0/5/deployment.0
> Tue Apr 1 11:36:54 2014 [DiM][I]: New VM state is FAILED
>
> This issue occurs only when attempting to create a VM on the remote host
> node; I added the node packages to the frontend and successfully created a
> VM there (it's currently running and sitting on the login prompt when I
> open the VNC for it; I still don't know how to actually log into it but
> that's another issue entirely). Is this an issue with the NFS setup
> described in the quick start? I'm not sure where to begin troubleshooting.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140403/d4cbfefb/attachment-0002.htm>


More information about the Users mailing list