← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1704952] Re: VMware: Concurrent nova-compute service initialization may fail

 

Reviewed:  https://review.openstack.org/484667
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=46c7fa492ffbef35f7292775eaa50fc62f290e54
Submitter: Zuul
Branch:    master

commit 46c7fa492ffbef35f7292775eaa50fc62f290e54
Author: Radoslav Gerganov <rgerganov@xxxxxxxxxx>
Date:   Tue Jul 18 11:18:42 2017 +0300

    VMware: Handle concurrent registrations of the VC extension
    
    During initialization, the Nova compute driver checks whether a
    vCenter extension with key 'org.openstack.compute' exists and if
    not, it registers one. This is a race condition. If multiple
    services try to register the same extension, only one of them
    will succeed. The fix is to catch InvalidArgument fault from
    vSphere API and ignore the exception.
    
    Change-Id: I92c24709a2f55b601c31a31b9e748f19e7e31984
    Closes-Bug: #1704952


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1704952

Title:
  VMware: Concurrent nova-compute service initialization may fail

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  During initialization, the VMware Nova compute driver checks whether a
  VC extension with key 'org.openstack.compute' exists and if not, it
  registers one. This is a race condition. If multiple services try to
  register the same extension, only one of them will succeed. The fix is
  to catch InvalidArgument fault from vSphere API and ignore the
  exception.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1704952/+subscriptions


References