Ports not connected for recovered instances
Bug #1799163 reported by
Lucian Petrut
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compute-hyperv |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After a while, the Failover Cluster will stop retrying when attempting to bring back up failed instances. For example, if the CSV is down more than a few minutes, the cluster groups will be set in "Failed" state, while the VMs won't be registered on any Hyper-V node.
The issue is that we're only handling cluster group owner changes (moved instances). If the admin fixes the issue and manually brings the cluster groups back up, the instances are recreated but we aren't handling this, so ports won't get reconnected.
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/611637 /git.openstack. org/cgit/ openstack/ compute- hyperv/ commit/ ?id=f6c6dbdf9da 59e6cfff9e64590 765c9066857530
Committed: https:/
Submitter: Zuul
Branch: master
commit f6c6dbdf9da59e6 cfff9e64590765c 9066857530
Author: Lucian Petrut <email address hidden>
Date: Thu Oct 18 17:23:27 2018 +0300
Refactor instance state change event handler
We ended up having too much logic in the event handler. This change
trims it down, making it easier to add callbacks.
The actions taken when receiving events are now moved out of the
event handler, being registered as callbacks.
Related-Bug: #1799163 9daef4e857e212b b54e9473a78
Change-Id: Ie93aa0e184c5ff