diff options
| author | Dan Smith <danms@us.ibm.com> | 2013-03-27 11:30:49 -0700 |
|---|---|---|
| committer | Dan Smith <danms@us.ibm.com> | 2013-03-27 11:30:49 -0700 |
| commit | 30631d0077424001e2fa57674e6e9f2a12f0683e (patch) | |
| tree | 54d096f46fa40ff3a21f03a765f917da7b3461f2 /bin/stack | |
| parent | 0bf532237382360666499e4c568f0a161ff31afe (diff) | |
| download | nova-30631d0077424001e2fa57674e6e9f2a12f0683e.tar.gz nova-30631d0077424001e2fa57674e6e9f2a12f0683e.tar.xz nova-30631d0077424001e2fa57674e6e9f2a12f0683e.zip | |
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: I39d30c59d1711d8f2a61c7a5e2545b3952e55dbe
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
