ironic/releasenotes/notes/wait_hash_ring_reset-ef8bd548659e9906.yaml
Steve Baker e54ee2ba4c Respond to rpc requests on stop until hash ring reset
Currently when a conductor is stopped, the rpc service stops
responding to requests as soon as self.manager.del_host returns. This
means that until the hash ring is reset on the whole cluster, requests
can be sent to a service which is stopped.

This change waits for the remaining seconds to delay stopping until
CONF.hash_ring_reset_interval has elapsed. This will improve the
reliability of the cluster when scaling down or rolling out updates.

This delay only occurs when there is more than one online conductor,
to allow fast restarts on single-node ironic installs (bifrost,
metal3).

Change-Id: I643eb34f9605532c5c12dd2a42f4ea67bf3e0b40
2023-02-27 11:09:25 +13:00

14 lines
512 B
YAML

---
fixes:
- |
When a conductor service is stopped it will now continue to respond to RPC
requests until ``[DEFAULT]hash_ring_reset_interval`` has elapsed, allowing
a hash ring reset to complete on the cluster after conductor is
unregistered. This will improve the reliability of the cluster when scaling
down or rolling out updates.
This delay only occurs when there is more than one online conductor,
to allow fast restarts on single-node ironic installs (bifrost,
metal3).