commit | 881c68545b037891c6a471e20a410ae2e17f8153 | [log] [tgz] |
---|---|---|
author | Oleg Gelbukh <ogelbukh@mirantis.com> | Wed Jan 10 21:28:33 2018 +0000 |
committer | Michael Ivanov <mivanov@mirantis.com> | Wed Jan 17 09:32:40 2018 +0000 |
tree | 4e0a094cfc375df122693896706d4ca771ecd075 | |
parent | 3b3ce5e6257cc6ecea4ce36fc2d1ad630b1420f5 [diff] |
Fix calculation of OpenStack resource usage The current version incorrectly calculates resources usage percentage: number of used resource divided by number of free resource instead of total number of resources. Change the calculation to use sum of used and free resources as a denominator. Change-Id: I415eb9de7252cb8ee02be789560f4001c0dec197