Nova compute service should be disabled, if libvirt service is unavailable.

Bug #1240670 reported by Vladik Romanovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Vladik Romanovsky

Bug Description

Nova compute service should be disabled on a node when a connection to libvirt is lost
and resumed when libvirtd become fuctional again.

This is in order to avoid new instances or migrations to be scheduled compute node, when it'd disconnected from libvirt.

Tags: libvirt
tags: added: libvirt
Changed in nova:
assignee: nobody → Vladik Romanovsky (vladik-romanovsky-r)
Changed in nova:
assignee: Vladik Romanovsky (vladik-romanovsky-r) → Vladik Romanovsky (vladik-romanovsky)
Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit cc70e3a28df3c8492769b305d248bb4d9bf32830
Author: Vladik Romanovsky <email address hidden>
Date: Wed Oct 16 15:14:16 2013 -0400

    Disable nova-compute on libvirt connectivity exceptions

    The service will be disabled and re-enabled according to the success
    or failure of establishing a connection to the libvirt service.

    update_available_resources, periodic task, will probe the connection
    even if the service is disabled.

    This is in order to avoid migrations or new instances to be scheduled
    on a disconnected from libvirt compute node.

    Closes-Bug: #1240670
    Change-Id: Ib8d67838ceb73c5b1cdc9498c17b335e9e5bb6f3

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