[one-users] size of storage reported differently from value set

Tino Vazquez tinova at opennebula.org
Thu Apr 28 03:56:23 PDT 2011


Hi Eilidh,

I've opened a ticket to keep track of the solution:
http://dev.opennebula.org/issues/598

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79



On Thu, Apr 28, 2011 at 12:50 PM, Eilidh Troup <e.troup at epcc.ed.ac.uk> wrote:
> Hi,
>
> When using the OCCI interface, the SIZE of a DATABLOCK storage is created
> and reported in different units - i.e. the size is reported as 1024 times
> the requested size. Can I report this as a bug in the OCCI server, please?
> curl -vki http://url/storage -d "occixml=
> <STORAGE href='http://url/storage'>
> <NAME>TEST OCCI</NAME>
> <DESCRIPTION>A place to store the log files of the server</DESCRIPTION>
> <TYPE>DATABLOCK</TYPE>
> <SIZE>2048</SIZE>
> <FSTYPE>ext3</FSTYPE>
> </STORAGE>"
> HTTP/1.1 201 Created
> <STORAGE href="https://url/storage/45">
> <ID>45</ID>
> <NAME>TEST OCCI</NAME>
> <TYPE>DATABLOCK</TYPE>
> <DESCRIPTION>A place to store the log files of the server</DESCRIPTION>
> <SIZE>2097152</SIZE>
> <FSTYPE>ext3</FSTYPE>
> <PUBLIC>NO</PUBLIC>
> <PERSISTENT>NO</PERSISTENT>
> </STORAGE>
> From the OpenNebula command line:
> oneimage show 45
> IMAGE  INFORMATION
>
> ID             : 45
> NAME           : TEST OCCI
> ...
> SIZE=2048
> TYPE=DATABLOCK
> Regards,
> Eilidh Troup
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



More information about the Users mailing list