Closed BalabaDmitri closed 2 months ago
Hi, there should be no functional difference between 101 and 103: https://github.com/canonical/postgresql-test-app/compare/rev101...rev103
It's an update of a linting dependency and Juju agent version used in tests.
If it happens again, please check if there's a primary unit in the Patroni's cluster endpoint
@BalabaDmitri it sounds like Raft issue on PostgreSQL VM charm. We are planning to release the next stable version of test application (rev 110+111). Is it still reproducible, affecting you? Tnx!
@taurus-forever I ran the test several times and it worked successfully. Everything is working
I am going to resolve this ticket as the error message looks related to raft library issue (test-app is trying to connect read-only PostgreSQL unit). It is not related to postgresql-test-app, IMHO. Feel free to reopen if the issue is reproducible.
P.S. we are planning to promote the next stable and no issues noticed there (rev 117).
Steps to reproduce
Expected behavior
The integration tests finishes successfully.
Actual behavior
When deploying, the default is the latest revision (rev103), and then the tests fail.
Errors in tests:
Versions
Operating system: Ubuntu 22.04.4 LTS
Juju CLI: 3.1.8-genericlinux-amd64
Juju agent: 3.1.7
Charm revision: 103
LXD: 5.21.1 LTS
Log output
Juju debug log: log for test test_full_cluster_restart
Additional context
When I change revision to
rev101
the tests pass successfully