yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #86487
[Bug 1933955] [NEW] Power sync using the Ironic driver queries all the nodes from Ironic when using Conductor Groups
Public bug reported:
"""
While synchronizing instance power states, found 447 instances in the database and 8712 instances on the hypervisor.
"""
This is the warning message that we get when using conductor groups
during a power sync.
Conductor groups allow to have dedicated nova-compute nodes to manage a set of Ironic nodes.
However, the "_sync_power_states" doesn't deal correctly with it.
First, this function gets all the nodes from the DB that are managed by
the Nova compute node. Then it asks the "driver" to get all the
instances. When using the Ironic driver, it returns all the nodes in
Ironic! (When having thousands of nodes Ironic can also get several
minutes to return, but that is a different bug)!.
Of course, then the comparison fails, returning the previous warn
message.
There are different possibilities...
- We can change the ironic driver to return only the nodes from the conductor group that this Nova compute-node belongs. However, this is not good enough if the conductor group is managed by more than 1 Nova compute-node. Ironic doesn't know which Nova compute-node manages each node!
- We agree that this check doesn't bring a lot of value when using the
Ironic driver. We just skip it if the Ironic driver is used.
** Affects: nova
Importance: Undecided
Status: New
--
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/1933955
Title:
Power sync using the Ironic driver queries all the nodes from Ironic
when using Conductor Groups
Status in OpenStack Compute (nova):
New
Bug description:
"""
While synchronizing instance power states, found 447 instances in the database and 8712 instances on the hypervisor.
"""
This is the warning message that we get when using conductor groups
during a power sync.
Conductor groups allow to have dedicated nova-compute nodes to manage a set of Ironic nodes.
However, the "_sync_power_states" doesn't deal correctly with it.
First, this function gets all the nodes from the DB that are managed
by the Nova compute node. Then it asks the "driver" to get all the
instances. When using the Ironic driver, it returns all the nodes in
Ironic! (When having thousands of nodes Ironic can also get several
minutes to return, but that is a different bug)!.
Of course, then the comparison fails, returning the previous warn
message.
There are different possibilities...
- We can change the ironic driver to return only the nodes from the conductor group that this Nova compute-node belongs. However, this is not good enough if the conductor group is managed by more than 1 Nova compute-node. Ironic doesn't know which Nova compute-node manages each node!
- We agree that this check doesn't bring a lot of value when using the
Ironic driver. We just skip it if the Ironic driver is used.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1933955/+subscriptions