jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-275) Abiquo Hard Drive Size limits are in bytes, instead of Mb
Date Thu, 24 Oct 2013 21:44:03 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804711#comment-13804711

ASF subversion and git services commented on JCLOUDS-275:

Commit 1d551e91da9a2663d691a99039d555e2683cedb1 in branch refs/heads/1.6.x from [~carlosgsouza]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds-labs.git;h=1d551e9 ]

JCLOUDS-275: Renamed the getter/setter methods for the HD size limits to remove the reference
to the Mb storage unit

> 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
>            Assignee: Ignasi Barrera
>              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

This message was sent by Atlassian JIRA

View raw message