Public bug reported: When using custom Volume Types and trying to draw custom bars showing available/used quota for each type it blows up when quota for certain volume type is equal to zero, at the same moment having general quota for volumes non-zero.
Example: - Total gigabytes available: 1000 - Gigabytes available for type standard: 500 - Gigabytes available for type io1: 0 Barchart for "total gigabytes" and "total gbs for standard" will be drawn correctly. Barchart for "total gbs for io1" will blow up -- unexpected zeros will be printed on screen and barchart will be drawn for "total gigabytes" values. At the same time changing the for with volume size makes all the bars update, but the "used quota" part is not redrawn -- it makes the bar for io1 half-red half-blue what is not an expected behaviour. (clearly visible on screenshots) Just in case it makes a difference how do I generate additional bars in the panel -- https://gitlab.cern.ch/cloud- infrastructure/horizon/commit/d7d7a471fc117e8024648dbbf002a516926adb34 ** Affects: horizon Importance: Undecided Status: New -- 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/1640434 Title: Barchart does not draw correctly when quota equals zero Status in OpenStack Dashboard (Horizon): New Bug description: When using custom Volume Types and trying to draw custom bars showing available/used quota for each type it blows up when quota for certain volume type is equal to zero, at the same moment having general quota for volumes non-zero. Example: - Total gigabytes available: 1000 - Gigabytes available for type standard: 500 - Gigabytes available for type io1: 0 Barchart for "total gigabytes" and "total gbs for standard" will be drawn correctly. Barchart for "total gbs for io1" will blow up -- unexpected zeros will be printed on screen and barchart will be drawn for "total gigabytes" values. At the same time changing the for with volume size makes all the bars update, but the "used quota" part is not redrawn -- it makes the bar for io1 half-red half-blue what is not an expected behaviour. (clearly visible on screenshots) Just in case it makes a difference how do I generate additional bars in the panel -- https://gitlab.cern.ch/cloud- infrastructure/horizon/commit/d7d7a471fc117e8024648dbbf002a516926adb34 To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1640434/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

