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.
Reviewed: https:/ /review. openstack. org/290315 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=bd508a5a0e2 462292cb3ebfa3b a851e8a1a2a01f
Committed: https:/
Submitter: Jenkins
Branch: master
commit bd508a5a0e24622 92cb3ebfa3ba851 e8a1a2a01f
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 d03e54d12a5e066 b2ed4f19a61
Change-Id: I73a34eb6e0ca32