diff options
author | Michael Kerrin <michael.kerrin@hp.com> | 2013-04-16 09:43:28 +0000 |
---|---|---|
committer | Michael Kerrin <michael.kerrin@hp.com> | 2013-05-01 16:02:16 +0000 |
commit | a4cb456631f0e70685fbc361eced9baa477a8c56 (patch) | |
tree | 082d60e6afa0d5fce1306def779383dbb13a7b51 /nova/utils.py | |
parent | ebffe9269df66dfc385338899551abaaef0897e0 (diff) | |
download | nova-a4cb456631f0e70685fbc361eced9baa477a8c56.tar.gz nova-a4cb456631f0e70685fbc361eced9baa477a8c56.tar.xz nova-a4cb456631f0e70685fbc361eced9baa477a8c56.zip |
Volume IO usage gets reset to 0 after a reboot / crash
Check for reset of block device stats before updating volume usage cache.
If an instance is reboot or crashes, the results of block device stats for
that domain get reset. Add check that if block device stats are lower than
the current stats in the database, then add current values to totals and
update.
Change-Id: I3011872f8d80a1519771f8423001650dcbcc7f5b
Fixes bug: 1169097
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions