Nova-compute will crash if it cannot connect to VC on startup

Bug #1192016 reported by Tracy Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Gary Kotton

Bug Description

the nova-compute process with the VCDriver will crash on startup if it cannot reach vCenter or receives an error from vCenter. In production, VC and nova-compute may startup around the same time. nova-compute should wait for VC to be accessible instead of crashing.

Tags: vmware
Tracy Jones (tjones-i)
Changed in nova:
assignee: nobody → Tracy Jones (tjones-i)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/33383

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/33504

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/33682

Changed in nova:
assignee: Tracy Jones (tjones-i) → Mathieu Mitchell (mat128)
Revision history for this message
Mathieu Mitchell (mat128) wrote :

Sorry I had your bug report opened when I commited my changes. Please reassign yourself as I can't do it for you. Sorry for the disturbance.

Changed in nova:
assignee: Mathieu Mitchell (mat128) → nobody
Revision history for this message
Tracy Jones (tjones-i) wrote :

no worries Mathieu

Changed in nova:
assignee: nobody → Tracy Jones (tjones-i)
Changed in nova:
importance: Undecided → Medium
milestone: none → havana-3
Changed in nova:
assignee: Tracy Jones (tjones-i) → Gary Kotton (garyk)
Changed in nova:
assignee: Gary Kotton (garyk) → Tracy Jones (tjones-i)
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-3 → havana-rc1
Changed in nova:
assignee: Tracy Jones (tjones-i) → Gary Kotton (garyk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit fc4d28a0095b6944e194d148dc2292739c06de8e
Author: Tracy Jones <email address hidden>
Date: Tue Jun 18 12:06:11 2013 -0700

    VMware: nova-compute crashes if VC not available

    The ESX driver gets a connection to vCenter Server on startup.
    Currently, if vCenter Server is not available, nova-compute crashes.
    This fix adds slow retry when nova-compute starts before vCenter
    Server is available. The errors are logged in case the issue is
    a mis-confiugration of vCenter Server

    Fixes: bug #1192016

    Change-Id: I0801ab4a4e4bf32b8119e131a45a2fdb7884a4fd

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-rc1 → 2013.2
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.