Commit 849db3a
committed
ci(kb): disable ES disk watermark in functional tests
The KB functional tests intermittently failed in setup-kibana.cjs with
6 minutes of `failed to retrieve password hash for reserved user [elastic]`
errors. The underlying cause is in the ES container logs:
UnavailableShardsException: at least one primary shard for the index
[.security-7] is unavailable
When the Buildkite host disk is above the default 85% low watermark,
ES refuses to allocate the security index's primary shard, so the
reserved-user store never becomes readable and every `elastic` auth
attempt fails. Intermittent because it depends on the agent's disk
state at run time.
For a single-node trial test cluster on ephemeral CI storage, the
disk allocator buys nothing, so turn it off.
Refs #4161 parent 9ae56ef commit 849db3a
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
0 commit comments