Unnecessary sleep exists in host-failure recovery process

Bug #1736906 reported by takahara.kengo
6
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.

Revision history for this message
takahara.kengo (takahara.kengo) wrote :
Changed in masakari:
assignee: nobody → takahara.kengo (takahara.kengo)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to masakari (master)

Reviewed: https://review.openstack.org/527016
Committed: https://git.openstack.org/cgit/openstack/masakari/commit/?id=8cac6b77a9d6724f610a2f3ecb9c7c4dd504f661
Submitter: Zuul
Branch: master

commit 8cac6b77a9d6724f610a2f3ecb9c7c4dd504f661
Author: Kengo Takahara <email address hidden>
Date: Mon Dec 11 17:23:53 2017 +0900

    Remove unnecessary sleep

    This patch removed unnecessary sleep which existed in host-failure
    recovery process.

    Change-Id: Ic1df0200c8ddf7d6be7548f1df5b37b74a9ba737
    Closes-Bug: #1736906

Changed in masakari:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.