trigger notifications when lock or unlock instances
Watcher is a project for optimization, by migrating instances among hosts.
It builds a compute model at the begenning, and update it by notifications.
When one instance is locked by end users, it is excepted to send a regular
notification from Nova, so Watcher will update its compute model and not
migrate the locked instances.
Blueprint information
- Status:
- Complete
- Approver:
- Matt Riedemann
- Priority:
- Low
- Drafter:
- suzhengwei
- Direction:
- Approved
- Assignee:
- Yikun Jiang
- Definition:
- Approved
- Series goal:
- Accepted for rocky
- Implementation:
- Implemented
- Milestone target:
- rocky-3
- Started by
- Matt Riedemann
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
If you need notification in case the user called the API '/servers/
-- gibi 2018.01.08.
Nova added instance action records for lock/unlock actions in Queens, so adding versioned notifications seems like a reasonable extension of that work for Rocky. -- mriedem 20180109
This seems reasonable, just bring it up in the 'open discussion' part of the weekly nova meeting to get review on it as a specless blueprint. -- mriedem 20180206
There is a patch started here https:/
Gerrit topic: https:/
Addressed by: https:/
Add instance.lock notification
Addressed by: https:/
Add instance.unlock notification