Barchart does not draw correctly when quota equals zero
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Confirmed
|
Low
|
Unassigned |
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:/
Changed in horizon: | |
assignee: | nobody → Timur Sufiev (tsufiev-x) |
Unassigning due to inactivity