Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-3177

Pool free space is reported as "NaN undefined free"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.0
    • Fix Version/s: 3.7.1
    • Component/s: WebUI
    • Labels:
    • Bugzilla ID:
      1118544

      Description

      It seems we are calculating the free and total space of a Pool wrong.
      Currently we are using "max_avail" as the total space and "max_avail - num_bytes" as the free space.
      So when we have a pool that has "num_bytes > max_avail" we get a negative number as the free space, and when we try to transform that into a readable string we get NaN.

        Attachments

          Activity

            People

            • Assignee:
              tspmelo Tiago Melo
              Reporter:
              tspmelo Tiago Melo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: