Unnecessary sleep exists in host-failure recovery process
Bug #1736906 reported by
takahara.kengo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
masakari |
Fix Released
|
Undecided
|
takahara.kengo |
Bug Description
When the recovery_method of the segment is set 'reserved_host', the host-failure recovery process of masakari-engine is as bellow:
#1: Disable the failure-host's nova-compute service
#2: Sleep for 180 seconds
#3: Enable the reserved_host's nova-compute service
#4: Sleep for 180 seconds
#5: Execute evacuate API
nova-compute service change to 'enabled' immediately after executing service-enable API. So #4 is unnecessary.
To post a comment you must log in.
I pushed a patch.
https:/ /review. openstack. org/#/c/ 527016/