Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apps|⇒ k get pods
- NAME READY STATUS RESTARTS AGE
- acid-test-cluster-0 1/1 Running 0 48m
- acid-test-cluster-1 1/1 Running 0 48m
- postgres-operator-697dcf5677-xf252 1/1 Running 0 53m
- apps|⇒ k logs -f acid-test-cluster-0
- 2019-03-18 14:15:32,175 INFO: no action. i am the leader with the lock
- 2019-03-18 14:15:42,160 INFO: Lock owner: acid-test-cluster-0; I am acid-test-cluster-0
- 2019-03-18 14:15:42,178 ERROR: Exception when changing replication slots
- Traceback (most recent call last):
- File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1619, in sync_replication_slots
- with self._get_connection_cursor(**conn_kwargs) as cur:
- File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
- return next(self.gen)
- File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1246, in _get_connection_cursor
- with psycopg2.connect(**kwargs) as conn:
- File "/usr/lib/python3/dist-packages/psycopg2/__init__.py", line 130, in connect
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- psycopg2.OperationalError: FATAL: database "foo" does not exist
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement