Closed reneradoi closed 1 month ago
I believe this issue was caused by this change: https://github.com/canonical/opensearch-operator/pull/279/files#diff-f0ef92b3c155cc488340483aeb7a14f44e6577ccb3a328d8856fab4984072e57L248-R248
Juju debug log: nothing relevant in the logs
but it's hard to tell without debug-level logs (i.e. "[Node lock]" logs)
Was solved with https://github.com/canonical/opensearch-operator/pull/312
Steps to reproduce
Expected behavior
both new units start up correctly
Actual behavior
2nd new unit can't aquire lock and does not start
Versions
Operating system: Ubuntu 24.04 LTS, Ubuntu 22.04 LTS Juju CLI: 3.1.8-genericlinux-amd64 Juju agent: 3.1.8 Charm revision: 47
Log output
Juju debug log: nothing relevant in the logs
Additional context
The lock in the database is still there, even though the unit opensearch/1 is long gone:
This could be related to this known limitation of the locking mechanism: https://github.com/canonical/opensearch-operator/blob/main/lib/charms/opensearch/v0/opensearch_locking.py#L334-L335