Cells assumes 1:1 compute-service:compute-node mapping

Bug #1385468 reported by Jim Rollenhagen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
John L. Villalovos

Bug Description

Cells capacity calculation seems to assume one compute_node per nova-compute service. It calculates capacity data by service name, overwriting the value for each compute_node. This results in the cell only showing capacity for one compute_host for each nova-compute service in the cell.

Observed running Ironic, where there are many compute_hosts in a nova-compute service.

Tags: cells ironic
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/130877

Changed in nova:
assignee: nobody → Jim Rollenhagen (jim-rollenhagen)
status: New → In Progress
Changed in nova:
importance: Undecided → High
tags: added: cells ironic
Changed in nova:
importance: High → Medium
Revision history for this message
Sean Dague (sdague) wrote :

failing unit tests for a month, not really in progress

Changed in nova:
status: In Progress → Confirmed
assignee: Jim Rollenhagen (jim-rollenhagen) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Joe Gordon (<email address hidden>) on branch: master
Review: https://review.openstack.org/130877
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Changed in nova:
assignee: nobody → John L. Villalovos (happycamp)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit d50f4fef268535747a274e1563494000d3bbbd37
Author: Jim Rollenhagen <email address hidden>
Date: Fri Oct 24 12:40:27 2014 -0700

    Fix cells capacity calculation for n:1 virt drivers

    The capacity calculation in cells assumes a 1:1 mapping for
    compute_hosts:nova-compute. Fix this calculation to allow for
    drivers that have an n:1 mapping.

    Co-Authored-By: John Villalovos <email address hidden>
    Closes-Bug: 1385468
    Change-Id: If361b8bedd81147120581f7f9fe43b8b3f4325e5

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: liberty-1 → 12.0.0
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.