← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1657174] [NEW] The filesizeformat() method does not consider the situation like `float('inf')` or EB, ZB and YB.

 

Public bug reported:

Sometimes the `bytes` may get float('inf'), then it will display
"inf0PB" which will be a misleading for the user. Besides, with the
hardware like storage and mem getting larger, we should consider size
larger than PB like EB, ZB and YB.

** Affects: horizon
     Importance: Undecided
     Assignee: liao_zd@xxxxxxxxxxx (liaozd)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => liao_zd@xxxxxxxxxxx (liaozd)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1657174

Title:
  The filesizeformat() method does not consider the situation like
  `float('inf')` or EB, ZB and YB.

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Sometimes the `bytes` may get float('inf'), then it will display
  "inf0PB" which will be a misleading for the user. Besides, with the
  hardware like storage and mem getting larger, we should consider size
  larger than PB like EB, ZB and YB.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1657174/+subscriptions


Follow ups