Hello, I am trying to create a virtual machine by installing the OS from an iso to a qemu image.
However, whenever the disk image is created, it is created with a user and group of oneadmin:cloud, however, once the VM attempts to start it is changed to libvirt-qemu:kvm then root:root, and I get an entry in the log: >> error: internal error process exited while connecting to monitor: kvm: -drive file=/var/lib/one//datastores/0/87/disk.1,if=none,id=drive-ide0-1-0,format=qcow2,cache=none: could not open disk image However, this disk image -does- exist, although with incorrect permissions: >> root@loki:~# ls -lah /var/lib/one//datastores/0/87 >> -rw-r--r-- 1 root root 5.1G Apr 27 19:24 disk.1 What is changing the ownership of my disk images? Thanks, Jon A The full VM log is below: Sat Apr 27 19:23:31 2013 [DiM][I]: New VM state is ACTIVE. Sat Apr 27 19:23:31 2013 [LCM][I]: New VM state is PROLOG. Sat Apr 27 19:24:29 2013 [TM][I]: clone: Cloning loki:/var/lib/one/datastores/103/4a657983e37df7e79b59110748f58ce8 in /var/lib/one/datastores/0/87/disk.0 Sat Apr 27 19:24:29 2013 [TM][I]: ExitCode: 0 Sat Apr 27 19:24:51 2013 [TM][I]: mkimage: Making filesystem of 5120M and type ext4 at loki:/var/lib/one//datastores/0/87/disk.1 Sat Apr 27 19:24:51 2013 [TM][I]: ExitCode: 0 Sat Apr 27 19:24:52 2013 [TM][I]: context: Generating context block device at loki:/var/lib/one//datastores/0/87/disk.2 Sat Apr 27 19:24:52 2013 [TM][I]: ExitCode: 0 Sat Apr 27 19:24:53 2013 [LCM][I]: New VM state is BOOT Sat Apr 27 19:24:53 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/87/deployment.0 Sat Apr 27 19:24:53 2013 [VMM][I]: ExitCode: 0 Sat Apr 27 19:24:53 2013 [VMM][I]: Successfully execute network driver operation: pre. Sat Apr 27 19:24:56 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/87/deployment.0 loki 87 loki Sat Apr 27 19:24:56 2013 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/87/deployment.0 Sat Apr 27 19:24:56 2013 [VMM][I]: error: internal error process exited while connecting to monitor: kvm: -drive file=/var/lib/one//datastores/0/87/disk.1,if=none,id=drive-ide0-1-0,format=qcow2,cache=none: could not open disk image /var/lib/one//datastores/0/87/disk.1: Invalid argument Sat Apr 27 19:24:56 2013 [VMM][I]: Sat Apr 27 19:24:56 2013 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/87/deployment.0 Sat Apr 27 19:24:56 2013 [VMM][I]: ExitCode: 255 Sat Apr 27 19:24:56 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy. Sat Apr 27 19:24:56 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/87/deployment.0 Sat Apr 27 19:24:57 2013 [DiM][I]: New VM state is FAILED
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
