[one-users] "Could not create domain" while trying to start a vm

Marco Jagodzinska jagodzinska at fh-aachen.de
Wed Jan 9 02:26:04 PST 2013


Hello,

im using (X)ubuntu 12.04 and I installed the latest opennebula-packages 
(3.8.1)

The old versions (3.2.1) delivered with Xubuntu 12.04 worked well, the 
ttylinux-sample was running fine.

After upgrading to 3.8.1 I'm no longer able to get ttylinux running 
(database upgrade worked well).

I followed the how to at http://opennebula.org/documentation:rel3.8:vmg

This is the error message (onevm show) when I want to start ttylinux 
(with onevm create):

ERROR=[
   MESSAGE="Error deploying virtual machine: Could not create domain 
from /var/lib/one//datastores/0/13/deployment.0",
   TIMESTAMP="Tue Jan  8 16:57:51 2013" ]


This is the content of ttylinux.one (for onevm create ttylinux.one):
-------------------------------------------------------------
NAME = ttylinux

CPU    = 0.1
MEMORY = 64

DISK = [ IMAGE = "ttylinuxremote" ]
NIC  = [ NETWORK = "small_network" ]

FEATURES = [ acpi="no" ]
-------------------------------------------------------------

onehost, onevnet, oneimage show no errors






The relevant parts in oned.log are:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Wed Jan  9 11:24:40 2013 [ReM][D]: Req:704 UID:0 VirtualMachineAllocate 
invoked, "NAME = ttylinux..."
Wed Jan  9 11:24:41 2013 [ReM][D]: Req:704 UID:0 VirtualMachineAllocate 
result SUCCESS, 14
Wed Jan  9 11:24:46 2013 [ReM][D]: Req:3696 UID:0 HostPoolInfo invoked
Wed Jan  9 11:24:46 2013 [ReM][D]: Req:3696 UID:0 HostPoolInfo result 
SUCCESS, "<HOST_POOL><HOST><ID..."
Wed Jan  9 11:24:46 2013 [ReM][D]: Req:704 UID:0 VirtualMachinePoolInfo 
invoked, -2, -1, -1, -1
Wed Jan  9 11:24:46 2013 [ReM][D]: Req:704 UID:0 VirtualMachinePoolInfo 
result SUCCESS, "<VM_POOL><VM><ID>14<..."
Wed Jan  9 11:24:47 2013 [ReM][D]: Req:4160 UID:0 AclInfo invoked
Wed Jan  9 11:24:47 2013 [ReM][D]: Req:4160 UID:0 AclInfo result 
SUCCESS, "<ACL_POOL><ACL><ID>0..."
Wed Jan  9 11:24:47 2013 [ReM][D]: Req:4896 UID:0 VirtualMachineDeploy 
invoked, 14, 3
Wed Jan  9 11:24:47 2013 [DiM][D]: Deploying VM 14
Wed Jan  9 11:24:47 2013 [ReM][D]: Req:4896 UID:0 VirtualMachineDeploy 
result SUCCESS, 14
Wed Jan  9 11:24:49 2013 [TM][D]: Message received: LOG I 14 clone: 
Cloning /var/lib/one/datastores/1/e6760c3f7163f592a81a0937dc1b85e2 in 
localhost:/var/lib/one//datastores/0/14/disk.0

Wed Jan  9 11:24:49 2013 [TM][D]: Message received: LOG I 14 ExitCode: 0

Wed Jan  9 11:24:49 2013 [TM][D]: Message received: TRANSFER SUCCESS 14 -

Wed Jan  9 11:24:50 2013 [VMM][D]: Message received: LOG I 14 ExitCode: 0

Wed Jan  9 11:24:50 2013 [VMM][D]: Message received: LOG I 14 
Successfully execute network driver operation: pre.

Wed Jan  9 11:24:54 2013 [VMM][D]: Message received: LOG I 14 Command 
execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy 
/var/lib/one//datastores/0/14/deployment.0 localhost 14 localhost

Wed Jan  9 11:24:54 2013 [VMM][D]: Message received: LOG I 14 error: 
Failed to create domain from /var/lib/one//datastores/0/14/deployment.0

Wed Jan  9 11:24:54 2013 [VMM][D]: Message received: LOG I 14 error: 
internal error process exited while connecting to monitor: kvm: -drive 
file=/var/lib/one//datastores/0/14/disk.0,if=none,id=drive-ide0-0-0,format=raw: 
could not open disk image /var/lib/one//datastores/0/14/disk.0: 
Permission denied

Wed Jan  9 11:24:54 2013 [VMM][D]: Message received: LOG I 14

Wed Jan  9 11:24:54 2013 [VMM][D]: Message received: LOG E 14 Could not 
create domain from /var/lib/one//datastores/0/14/deployment.0

Wed Jan  9 11:24:54 2013 [VMM][D]: Message received: LOG I 14 ExitCode: 255

Wed Jan  9 11:24:54 2013 [VMM][D]: Message received: LOG I 14 Failed to 
execute virtualization driver operation: deploy.

Wed Jan  9 11:24:54 2013 [VMM][D]: Message received: DEPLOY FAILURE 14 
Could not create domain from /var/lib/one//datastores/0/14/deployment.0

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



Anybody here who can help me? :)

Cheers,
Marco


More information about the Users mailing list