Comment 2 for bug 1316928

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/290315
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=bd508a5a0e2462292cb3ebfa3ba851e8a1a2a01f
Submitter: Jenkins
Branch: master

commit bd508a5a0e2462292cb3ebfa3ba851e8a1a2a01f
Author: Giridhar Jayavelu <email address hidden>
Date: Tue Mar 8 23:13:14 2016 -0800

    VMware: set service status based on vc connection

    When the vcenter (vc) session is disconnected, say,
    if the management service on vcenter is down, then
    the nova-compute service status does not reflect that.

    This patch sets disabled=True in nova.objects.Service
    when the vcenter session is broken.
    When vcenter service is accessible again, then oslo_vmware
    takes care of recreating a new session.

    Closes-Bug: #1316928
    Change-Id: I73a34eb6e0ca32d03e54d12a5e066b2ed4f19a61