[one-users] VM template : source in DISK attribute don't work!
Carlos Martín Sánchez
cmartin at opennebula.org
Mon May 21 03:02:44 PDT 2012
Hi,
That error message might be a bit misleading, but it means that you need to
use a registered image, with the attribute DISK/IMAGE_ID (or IMAGE).
DISK/SOURCE cannot be used anymore in OpenNebula 3.4. We warned about it in
the compatibility guide [1], but we didn't notice the VM template
documentation was outdated... It has been fixed to reflect that IMAGE is
now mandatory [2].
Regards
[1]
http://opennebula.org/documentation:rel3.4:compatibility#developers_and_integrators
[2] http://opennebula.org/documentation:rel3.4:template#disks_section
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Mon, May 21, 2012 at 3:06 AM, mario wu <iamokcn at gmail.com> wrote:
> hi,all
>
> i try the new opennebula 3.4,i found the problem. when i use source in
> disk attribute in the VM template ,
>
> use onevm create template.name
>
> the log tell me:
>
> Fri May 18 09:42:16 2012 [TM][E]: prolog, undefined source disk image in
>> VM template
>
>
> my vm template define like this:
>
> NAME = ttylinux
>> CPU = 0.1
>> MEMORY = 64
>> DISK = [
>> source="/srv/cloud/one/var/datastores/1/ttylinux/ttylinux.img",
>> TARGET = hda,
>> BUS = ide,
>> DRIVER = raw,
>> cache = writeback ]
>> NIC = [ NETWORK_ID = 0 ]
>> FEATURES=[ acpi="no" ]
>> GRAPHICS = [ type ="vnc", listen ="0.0.0.0" ]
>
>
> does anyone have same problem? i try the 3.4.1 ,same.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120521/f57358ef/attachment-0002.htm>
More information about the Users
mailing list