commit 30631d0077424001e2fa57674e6e9f2a12f0683e
Author: Dan Smith <email address hidden>
Date: Wed Mar 27 11:30:49 2013 -0700
Make tenant_usage fall back to instance_type_id
In order to expose historical usage information about instances that
were deleted at the time migration #153 was run, we need to fall back
to looking up type information by instance_type_id.
This patch does that (only for deleted instances) and replicates the
previous behavior of skipping instances that have an instance_type_id
that points to a non-existent type.
Reviewed: https:/ /review. openstack. org/25550 github. com/openstack/ nova/commit/ 30631d007742400 1e2fa57674e6e9f 2a12f0683e
Committed: http://
Submitter: Jenkins
Branch: master
commit 30631d007742400 1e2fa57674e6e9f 2a12f0683e
Author: Dan Smith <email address hidden>
Date: Wed Mar 27 11:30:49 2013 -0700
Make tenant_usage fall back to instance_type_id
In order to expose historical usage information about instances that
were deleted at the time migration #153 was run, we need to fall back
to looking up type information by instance_type_id.
This patch does that (only for deleted instances) and replicates the
previous behavior of skipping instances that have an instance_type_id
that points to a non-existent type.
Fixes bug 1161022
Change-Id: I39d30c59d1711d 8f2a61c7a5e2545 b3952e55dbe