← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2002400] [NEW] When adding ironic compute host to an aggregate, only one ironic compute node is added to placement aggregate

 

Public bug reported:

The reason seems to be this line
https://opendev.org/openstack/nova/src/commit/ba9d4c909beff4e9ab86911a35dd5db8d8ce08d6/nova/compute/api.py#L6646

        nodes = objects.ComputeNodeList.get_all_by_host(context, host_name)
        node_name = nodes[0].hypervisor_hostname


While OK for libvirt and such, this is not OK for compute services that manage many 'nodes/hypervisors' - e.g. ironic virt driver.

** Affects: nova
     Importance: Undecided
         Status: In Progress

-- 
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/2002400

Title:
  When adding ironic compute host to an aggregate, only one ironic
  compute node is added to placement aggregate

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  The reason seems to be this line
  https://opendev.org/openstack/nova/src/commit/ba9d4c909beff4e9ab86911a35dd5db8d8ce08d6/nova/compute/api.py#L6646

          nodes = objects.ComputeNodeList.get_all_by_host(context, host_name)
          node_name = nodes[0].hypervisor_hostname

  
  While OK for libvirt and such, this is not OK for compute services that manage many 'nodes/hypervisors' - e.g. ironic virt driver.

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



Follow ups