Advertisement
Guest User

Untitled

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