← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1695993] Related fix merged to nova (master)

 

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

commit af5ef8ee0b367d8357dd1b85edc5791ed3fe45e4
Author: Dan Smith <dansmith@xxxxxxxxxx>
Date:   Tue Jun 6 09:40:22 2017 -0700

    Add get_minimum_version_all_cells() helper for service
    
    If we're making decisions in the API about the age of services
    such as compute, we need to survey all the cells to get the minimum
    across all of them. This adds a helper function that can be used
    from places where we need to do that.
    
    Change-Id: I9976de405de575d9da1389e629c17694207d8c34
    Related-Bug: #1695993


** 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/1695993

Title:
  supports_device_tagging check in /servers API won't work with multiple
  cells

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  The /servers API controller does a minimum nova-compute service
  version check in the deployment before allowing you to create a server
  with block device or virtual interface tags (the 2.32 microversion):

  https://github.com/openstack/nova/blob/78c69f61ab186c3d3eb0fe5cc5114cc71f0fbdad/nova/api/openstack/compute/servers.py#L496-L499

  That won't work if we have multiple cells since the services records
  are in the cells databases.

  So we'd really need to iterate the cells, get the minimums for each,
  and then get the final minimum across all of the cells.

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


References