[
https://issues.apache.org/jira/browse/CLOUDSTACK-10059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149033#comment-16149033
]
ASF subversion and git services commented on CLOUDSTACK-10059:
--------------------------------------------------------------
Commit dfd01c99ef5c19596559b06ac4553ccd3e648172 in cloudstack's branch
refs/heads/master from [~nitinkumar.maharana]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=dfd01c99 ]
CLOUDSTACK-10059: Dashboard ignores resource value that is less than 1%
Root Cause:
The API returns the percentage value as floating point number but In UI it is
converted to floor value of that number.
Hence for values less than 1%, the value is being converted to 0% and it
doesn't show the value in the UI.
Solution:
Removed the conversion, now it represents as it is(Floating point value).
> Dashboard ignores resource value that is less than 1%
> -----------------------------------------------------
>
> Key: CLOUDSTACK-10059
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10059
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: UI
> Affects Versions: 4.10.0.0
> Reporter: Nitin Kumar Maharana
> Fix For: 4.11.0.0
>
>
> If the resources' percentage is less than 1, Dashboard just displays % symbol.
> In the screenshot attached, the Primary storage is 21.19GB/10.74GB which is
> 0.19%, but that percentage is not displayed.
> Also, in the GPU tab, it has to display 0% instead of just % when none of the
> GPUs are in use.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)