[one-users] image libvirt on ONE

Héctor Sanjuán hsanjuan at opennebula.org
Thu Apr 28 04:45:33 PDT 2011


> NAME          = "Uubuntu1"
> DISK = [ image     = "ubuntu1" ]

Different names. Might be that?

H

El 28/04/11 13:36, Marco MIRABILE escribió:
> /var/lib/one/images# ls -l
> totale 2548196
> -rwxrws--T 1 root oneadmin 5368709120 2011-04-28 12:26 ubuntu1.img
> 
> ---------------ubuntu1.oneimage.template------------------------- 
> NAME          = "Uubuntu1"
> PATH          = /var/lib/one/images/ubuntu1.img
> PUBLIC        = YES
> DESCRIPTION   = "Ubuntu 10.10 desktop i386 1CPU 512 RAM 4GB HDD"
> 
> 
> ---------------ubuntu1.onevm.template-------------------------
> CPU    = 1
> 
> MEMORY = 512
> 
> DISK = [ image     = "ubuntu1" ]
> 
> DISK = [ type   = swap,
>          size   = 1024  ]
> 
> #NIC    = [ NETWORK = "Public network" ]
> 
> GRAPHICS = [type="vnc", listen="0.0.0.0", password="not-set"]
> 
> 
> oneadmin at laptop:~$ onevm create ubuntu1.onevm.template 
> Error: [VirtualMachineAllocate] Error trying to CREATE VM Could not get
> disk image for VM.
> 
> 
>> Date: Thu, 28 Apr 2011 11:39:51 +0200
>> From: hsanjuan at opennebula.org
>> To: dominioyp at hotmail.it; users at lists.opennebula.org
>> Subject: Re: [one-users] image libvirt on ONE
>>
>> OpenNebula just manages the images. Using them in the VMs has more to do
>> with correct the template parameters and the hypervisor support for the
>> image type.
>>
>> It would be good if you could attach your templates (image, VM) and the
>> VM log to see what could be the problem.
>>
>> Hector
>>
>> El 28/04/11 11:07, Marco MIRABILE escribió:
>> > I created a disk image using libvirt.
>> > I copied this file in the folder "/ var / lib / one / images /"
>> > So, I gave permission to the user oneadmin
>> >
>> > Register oneimage the image, so I created and launched the VM, but the
>> > machinefails
>> >
>> > Can I use images created with libvirt on OpenNebula?
>> >
>> > regards Micale
>> >
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opennebula.org
>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>> --
>> Héctor Sanjuan
>> OpenNebula.org


-- 
Héctor Sanjuan
OpenNebula.org



More information about the Users mailing list