[one-users] "Could not create domain" while trying to start a vm
Marco Jagodzinska
jagodzinska at fh-aachen.de
Mon Jan 28 00:27:29 PST 2013
Hi Jaime,
thanks for your support, my problem got solved. As you can read in mail
"Re: [one-users] MONITOR FAILURE 4 Error executing kvm.rb" from 15.1.
@13:20:
"After that, it works (thanks Tobias)!
addgroup oneadmin
usermod -G oneadmin -a oneadmin
/etc/init.d/libvirt-bin restart
Great thanks for your support!"
Do you still need the debug information for other purposes?
But I still could need your help with "[one-users] ubuntu-image from
marketplace doesn't get an IP" from 17.1. @14:42 :)
Cheers,
Marco
Am 25.01.2013 12:09, schrieb Jaime Melis:
> Hi Marco,
>
> can you run a couple of commands to debug this:
>
> $ (as oneadmin) id
> $ ls -l /var/lib/one//datastores/0/14/disk.0
> $ egrep -v '^(#|$)' /etc/libvirt/libvirtd.conf
> $ egrep -v '^(#|$)' /etc/libvirt/qemu.conf
> $ egrep -v '^(#|$)'
> /etc/polkit-1/localauthority/50-local.d/50-org.libvirt.unix.manage-opennebula.pkla
>
> cheers,
> Jaime
>
> On Wed, Jan 9, 2013 at 11:26 AM, Marco Jagodzinska
> <jagodzinska at fh-aachen.de <mailto:jagodzinska at fh-aachen.de>> wrote:
>
> 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
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> --
> Jaime Melis
> Project Engineer
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org <http://www.OpenNebula.org> | jmelis at opennebula.org
> <mailto:jmelis at opennebula.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130128/2af2687e/attachment-0002.htm>
More information about the Users
mailing list