Instance usage audit should be based on deleted_at not terminated_at
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Opinion
|
Medium
|
David Ripton |
Bug Description
Currently the DB query used by the instance usage audit, instance_
terminated_at is normally set as part of the instance deletion processing, however there are cases where an exception at the wrong time could prevent terminated_at from being set. Also the recent bug fixed by this change https:/
Given that instance_
This would mean instances which have terminated_at set but not deleted would be reported as existing - which is also more consistent with the intended behviour of the audit.
The only case where terminated_at is not set as part of deletion is already reported as a separate bug: https:/
description: | updated |
tags: | added: compute db |
Changed in nova: | |
milestone: | havana-rc1 → none |
Good catch Phil. This one doesn't look too hard to fix, so I'm going to try to squash it for havana-rc1