You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Ignasi Barrera (JIRA)" <ji...@apache.org> on 2013/09/18 23:50:58 UTC

[jira] [Updated] (JCLOUDS-275) Abiquo Hard Drive Size limits are in bytes, instead of Mb

     [ https://issues.apache.org/jira/browse/JCLOUDS-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ignasi Barrera updated JCLOUDS-275:
-----------------------------------

    Labels: abiquo  (was: )
    
> Abiquo Hard Drive Size limits are in bytes, instead of Mb
> ---------------------------------------------------------
>
>                 Key: JCLOUDS-275
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-275
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-labs
>    Affects Versions: 1.7.0
>            Reporter: Carlos García Ibáñez
>              Labels: abiquo
>
> When setting the hard drive limits for an Enterprise or a Virtual Datacenter we use the setLimitsInMb() method in the class DomainWithLimitsWrapper. The values passed are then supposed to be in Mb, but we have noticed that the Abiquo platform is interpreting them as bytes. The same applies to the corresponding getters for the soft and hard limits.A conversion should be made before sending the values to Abiquo (for the setters) or after retrieving them (in the getters). Or maybe the methods should be renamed to remove the reference to the units (Mb).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira