yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #93847
[Bug 2002400] Re: When adding ironic compute host to an aggregate, only one ironic compute node is added to placement aggregate
** Changed in: nova
Status: In Progress => Invalid
--
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):
Invalid
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
References