forked from openstack/nova
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nova DB 215 migration script logic error
This addresses a minor (albeit important) logic error in the migration script for https://review.openstack.org/#/c/46379/ - that script currently deletes compute node stats for active compute nodes. This patch reverses that logic so it deletes the correct set of compute node stats. Also included is a migration test case to demonstrate the behavior. Change-Id: I77afcf443357d0767ac933d791a565289eabee9a Closes-Bug: #1238281 (cherry picked from commit c333093)
- Loading branch information
Showing
2 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters