commit f29ecbaa21fc51ce2c6c60ac395378cb8436e0c2
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/25614 github. com/openstack/ nova/commit/ f29ecbaa21fc51c e2c6c60ac395378 cb8436e0c2
Committed: http://
Submitter: Jenkins
Branch: milestone-proposed
commit f29ecbaa21fc51c e2c6c60ac395378 cb8436e0c2
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
(cherry-picked from 30631d007742400 1e2fa57674e6e9f 2a12f0683e)
Change-Id: I39d30c59d1711d 8f2a61c7a5e2545 b3952e55dbe