Make service liveness checks more consistent / correct

Bug #867674 reported by Stanislaw Pitucha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
Stanislaw Pitucha

Bug Description

The scheduler and nova-manage check for service being alive in different ways. Additionally there are issues when the host checking the liveness has clock set N seconds in the future and the checked service just updated the timestamp. Negative time differences (-1 day, +many seconds) were not accounted for properly.

Revision history for this message
Thierry Carrez (ttx) wrote :

Note that synchronized clocks is a basic requirement.

Changed in nova:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Stanislaw Pitucha (stanislaw-pitucha) wrote :
Thierry Carrez (ttx)
Changed in nova:
assignee: nobody → Stanislaw Pitucha (stanislaw-pitucha)
status: Confirmed → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/791
Committed: http://github.com/openstack/nova/commit/ad74424768463cd6ad02dd9d6fdf64fc7b3bbafb
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit ad74424768463cd6ad02dd9d6fdf64fc7b3bbafb
Author: David Subiros <email address hidden>
Date: Fri Aug 5 16:35:56 2011 +0100

    Improve the liveness checking for services

    With this modification both nova-manage and scheduler use the flag
    service_down_time and check positive and negative values in a
    correct way.
    Fixes bug: 867674.

    Change-Id: I15c48d80cafa2089cd228c09c61b0a1e513730e8

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-1 → 2012.1
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.