Nova scheduler not updated immediately when a baremetal node is added or removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Opinion
|
Wishlist
|
Unassigned | ||
OpenStack Compute (nova) |
Opinion
|
Medium
|
Unassigned |
Bug Description
With the Ironic driver, if a baremetal node is added/deleted, it is not removed from pool of available resources until the next run of update_
In compute manager, the update_
@periodic_
def update_
...
nodenames = set(self.
for nodename in nodenames:
rt = self._get_
update_
This means that you have to wait up to 60 seconds for a node to become available/no longer available.
Changed in ironic: | |
milestone: | juno-rc1 → none |
Changed in ironic: | |
assignee: | nobody → milan k (vetrisko) |
Changed in ironic: | |
assignee: | milan k (vetrisko) → nobody |
Changed in ironic: | |
status: | Triaged → Opinion |
importance: | Medium → Wishlist |
Evidence of this issue here:
https:/ /github. com/openstack/ tripleo- incubator/ blob/e22a2b3/ scripts/ register- nodes#L27
echo "Nodes will be available in 60 seconds from now."
:)