Need to audit when notifications are sent during live migration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Medium
|
Matt Riedemann | ||
Queens |
In Progress
|
Medium
|
Artom Lifshitz | ||
Rocky |
In Progress
|
Medium
|
Artom Lifshitz |
Bug Description
We do a pretty good job of testing that notifications are sent during certain operations, like live migration, but not so great a job at making sure that notifications are sent at expected times, like that start and end notifications actually happen at the start and end of a method (seems we should really use a decorator function for something like this for future proofing...).
This is a follow on from bug 1762876 where I thought about relying on the "live_migration
If you look at the beginning of the same method, the start notification is sent well after we've already started doing some work:
So this bug is primarily meant to be an audit of at least the live migration flows where the methods are big and hairy so it's easy to see how over the years, the notifications got pushed into weird spots in those methods, and should be moved back to the appropriate start/end locations (or write a decorator to handle this).
tags: | added: low-hanging-fruit |
I agree to fix this. I will also open a blueprint to do the audit on the rest of the start/end notification as it feels we have more such places.