Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-275

Abiquo Hard Drive Size limits are in bytes, instead of Mb

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.6.3, 1.7.0
    • jclouds-labs

    Description

      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).

      Attachments

        Activity

          People

            nacx Ignasi Barrera
            carlos.garcia.ibanez Carlos García Ibáñez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: