summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorKevin L. Mitchell <kevin.mitchell@rackspace.com>2012-07-24 09:47:21 -0500
committerKevin L. Mitchell <kevin.mitchell@rackspace.com>2012-07-24 09:47:21 -0500
commit4c9c0d74d4de955f3ab7d0ceb2e6f0621710a6a3 (patch)
treedc54902850de3e08c487608ed3302909a00fb8bc /nova/openstack
parenta53b2f56aeb72127e4eb327c2b2dab0284e9f78f (diff)
downloadnova-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