Hey there,
I am having a problem with my images of opennebula and therefore I’m opening a new topic. Hope you don’t mind. I will tell you the problem now…
I was going to use a qcow2 image for a personal image but I ran into some problems with KVM since it didn’t want to recognize the max-size as the actual size of the image so I changed to RAW and I continued and for now I think my image is ready to be used for Opennebula but upon testing it I ran into the problem of space since RAW occupied too much space and was killing the space in the datastore of the frontend and as for now cannot add more space to it, so I decided to change again to qcow2 and save some space. Now I wanted to create the image and the template. So I performed onetemplate and oneimage and the image says rdy and the template didn’t run into any problem but it was during the onetemplate instantiate that I ran into the problem and I put the resume of the log.
Thu Apr 16 15:35:19 2015 [Z0][ReM][D]: Req:5904 UID:0 VirtualMachinePoolInfo invoked , -2, -1, -1, -1
Thu Apr 16 15:35:19 2015 [Z0][ReM][D]: Req:5904 UID:0 VirtualMachinePoolInfo result SUCCESS, “<VM_POOL>4</…”
Thu Apr 16 15:35:20 2015 [Z0][ReM][D]: Req:6256 UID:0 VirtualMachinePoolInfo invoked , -2, -1, -1, -1
Thu Apr 16 15:35:20 2015 [Z0][ReM][D]: Req:6256 UID:0 VirtualMachinePoolInfo result SUCCESS, “<VM_POOL>4</…”
Thu Apr 16 15:35:26 2015 [Z0][TM][D]: Message received: TRANSFER SUCCESS 8 -
Thu Apr 16 15:35:26 2015 [Z0][VMM][D]: Message received: LOG I 8 ExitCode: 0
Thu Apr 16 15:35:26 2015 [Z0][VMM][D]: Message received: LOG I 8 Successfully execute network driver operation: pre.
Thu Apr 16 15:35:28 2015 [Z0][VMM][D]: Message received: LOG I 8 Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy ‘/var/lib/one//datastores/100/8/deployment.0’ ‘172.18.10.8’ 8 172.18.10.8
Thu Apr 16 15:35:28 2015 [Z0][VMM][D]: Message received: LOG I 8 error: Failed to create domain from /var/lib/one//datastores/100/8/deployment.0
Thu Apr 16 15:35:28 2015 [Z0][VMM][D]: Message received: LOG I 8 error: internal error: process exited while connecting to monitor: qemu-system-x86_64: -drive file=/var/lib/one//datastores/100/8/disk.0,if=none,id=drive-ide0-0-0,format=qcow2,cache=none: could not open disk image /var/lib/one//datastores/100/8/disk.0: Could not open ‘/var/lib/one//datastores/100/8/disk.0’: Is a directory
So the VM shows fail; before I tried and I discovered I had to change the driver used in the image from the raw default to qcow2, so I changed and I was hopeful that it was the only problem, but the problem continued. Looking into it, it seems the problem is the process for qemu-system, it says the disk.0 is a directory, I went to the host and checked if this was indeed a directory and I found that it was and inside it there was the qcow2 image in question. So, I’m thinking it might be a problem with the parameters and how they are sent. Some important things to notice is that the datastore that I’m currently using is a ssh one (because I was thinking of continuing with raw and preferred the I/O that you claim) but I saw that you have a specific one for qcow2 in the documentation but I’m not really sure how to deploy it.
In short, I need to know if there’s a fix for this and what steps should I follow if any. Thanks in advance for all the suport. Regards!