I just had this problem. In the logs you can see "I'm not the master, cloning the master" (eventually it times out).
Seems like the code around https://git.launchpad.net/charm-k8s-postgresql/tree/files/pgcharm.py#n466 is returning a leader when it should not.
I just had this problem. In the logs you can see "I'm not the master, cloning the master" (eventually it times out).
Seems like the code around https:/ /git.launchpad. net/charm- k8s-postgresql/ tree/files/ pgcharm. py#n466 is returning a leader when it should not.