diff options
| author | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2012-07-24 09:47:21 -0500 |
|---|---|---|
| committer | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2012-07-24 09:47:21 -0500 |
| commit | 4c9c0d74d4de955f3ab7d0ceb2e6f0621710a6a3 (patch) | |
| tree | dc54902850de3e08c487608ed3302909a00fb8bc /nova/openstack | |
| parent | a53b2f56aeb72127e4eb327c2b2dab0284e9f78f (diff) | |
| download | nova-4c9c0d74d4de955f3ab7d0ceb2e6f0621710a6a3.tar.gz nova-4c9c0d74d4de955f3ab7d0ceb2e6f0621710a6a3.tar.xz nova-4c9c0d74d4de955f3ab7d0ceb2e6f0621710a6a3.zip | |
Fix a bug in compute_node_statistics
Turns out, using Sqlalchemy's sum aggregation functions returns
instances of Decimal. This caused the statistics reporting to
fail with a cryptic "Circular reference" error during
serialization. Fixed by forcing the values to integer.
Change-Id: Ia89c191f420e116b2f7ca144cdb2e21e6ace404a
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
