diff options
author | Mark Goddard <mark@stackhpc.com> | 2019-11-19 14:45:02 +0000 |
---|---|---|
committer | Lee Yarwood <lyarwood@redhat.com> | 2021-08-12 14:26:45 +0100 |
commit | 59d9871e8a0672538f8ffc43ae99b3d1c4b08909 (patch) | |
tree | 6f95de7ea07f6ca8a83d0912000eeeb3ffe4fbc9 /doc | |
parent | e0cacaa397f8414871f1e2cd589928f9afc27dc7 (diff) | |
download | nova-59d9871e8a0672538f8ffc43ae99b3d1c4b08909.tar.gz |
Add functional regression test for bug 1853009
Bug 1853009 describes a race condition involving multiple nova-compute
services with ironic. As the compute services start up, the hash ring
rebalances, and the compute services have an inconsistent view of which
is responsible for a compute node.
The sequence of actions here is adapted from a real world log [1], where
multiple nova-compute services were started simultaneously. In some
cases mocks are used to simulate race conditions.
There are three main issues with the behaviour:
* host2 deletes the orphan node compute node after host1 has taken
ownership of it.
* host1 assumes that another compute service will not delete its nodes.
Once a node is in rt.compute_nodes, it is not removed again unless the
node is orphaned. This prevents host1 from recreating the compute
node.
* host1 assumes that another compute service will not delete its
resource providers. Once an RP is in the provider tree, it is not
removed.
This functional test documents the current behaviour, with the idea that
it can be updated as this behaviour is fixed.
[1] http://paste.openstack.org/show/786272/
Co-Authored-By: Matt Riedemann <mriedem.os@gmail.com>
Change-Id: Ice4071722de54e8d20bb8c3795be22f1995940cd
Related-Bug: #1853009
Related-Bug: #1853159
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions