fix "down" nova-compute service spuriously marked as "up"

Bug #1464155 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Won't Fix
Medium
Njira Perci

Bug Description

https://review.openstack.org/163060
commit b9bae02af2168ad64d3b3d28c97c3853cee73272
Author: Chris Friesen <email address hidden>
Date: Fri Mar 27 09:23:48 2015 -0600

    fix "down" nova-compute service spuriously marked as "up"

    Currently we use the auto-updated "updated_at" field to determine
    whether a service is "up". An end-user can cause the "updated_at"
    field to be updated by disabling or enabling the service, thus
    potentially causing a service that is unavailable to be detected
    as "up". This could result in the scheduler trying to assign
    instances to an unavailable compute node, or in the system
    mistakenly preventing evacuation of an instance.

    The fix is to add a new field to explicitly track the timestamp of
    the last time the service sent in a status report and use that if
    available when testing whether the service is up.

    DocImpact
    This commit will cause a behaviour change for the DB servicegroup
    driver. It will mean that enabling/disabling the service will
    cause the "updated_at" field to change (as before) but that will
    no longer be tied to the "up/down" status of the service. So
    "nova service-list" could show the service as "down" even if it
    shows a recent "updated_at". (But this could happen for the other
    servicegroup drivers already.)

    Closes-Bug: #1420848
    Change-Id: Ied7d47363d0489bca3cf2c711217e1a3b7d24a03

Tags: nova
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: none → liberty
importance: Undecided → Medium
status: New → Confirmed
Changed in openstack-manuals:
assignee: nobody → Deepti Ramakrishna (dramakri)
Yashpal (ybcopenstack)
Changed in openstack-manuals:
assignee: Deepti Ramakrishna (dramakri) → Yashpal (ybcopenstack)
Revision history for this message
Deepti Ramakrishna (dramakri) wrote :

Hi Yashpal,

I would have appreciated if you had notified me before reassigning this bug to yourself. From next time on wards, please coordinate with the original bug assignee before reassigning it.

Thanks,
Deepti

Yashpal (ybcopenstack)
Changed in openstack-manuals:
assignee: Yashpal (ybcopenstack) → Deepti Ramakrishna (dramakri)
Lana (loquacity)
Changed in openstack-manuals:
assignee: Deepti Ramakrishna (dramakri) → nobody
Changed in openstack-manuals:
milestone: liberty → mitaka
Changed in openstack-manuals:
milestone: mitaka → newton
Revision history for this message
cat lookabaugh (cat-lookabaugh) wrote :

So, what's the status of this bug? Does the doc accurately describe the current code behavior or not?

Njira Perci (njirap)
Changed in openstack-manuals:
assignee: nobody → Njira Perci (njirap)
Changed in openstack-manuals:
milestone: newton → ocata
Changed in openstack-manuals:
status: Confirmed → Won't Fix
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.