generated from canonical/template-operator
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d897bfa
commit 2b413f9
Showing
127 changed files
with
2,611 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s (waiting for exactly 3 units, current : 2) | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
pgbouncer-k8s/2 [executing] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
pgbouncer-k8s/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
pgbouncer-k8s/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
postgresql-test-app/0 [idle] active: received database credentials of the first database | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [executing] active: | ||
postgresql-k8s/2 [idle] active: Primary | ||
self-signed-certificates/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/1 [executing] active: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/focal/finos-waltz-k8s-33 | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/0 [idle] active: received database credentials of the second database | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
secondary-application/0 [idle] active: received database credentials of the first database | ||
finos-waltz-k8s/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
finos-waltz-k8s/0 [idle] waiting: Waiting for Pebble to be ready | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/0 [idle] active: received database credentials of the second database | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
secondary-application/0 [idle] active: received database credentials of the first database | ||
finos-waltz-k8s/0 [idle] active: | ||
[32mINFO [0m root:helpers.py:120 running query: | ||
DROP TABLE IF EXISTS smoke_test;CREATE TABLE smoke_test(data TEXT);INSERT INTO smoke_test(data) VALUES('some data');SELECT data FROM smoke_test; | ||
[32mINFO [0m root:helpers.py:121 {'dbname': 'postgresql_test_app_first_database', 'query': "DROP TABLE IF EXISTS smoke_test;CREATE TABLE smoke_test(data TEXT);INSERT INTO smoke_test(data) VALUES('some data');SELECT data FROM smoke_test;", 'relation-id': 7, 'relation-name': 'first-database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:124 query results: {'results': '[["some data"]]', 'return-code': 0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m integration.test_charm:test_charm.py:48 {'databases': {}, 'pgbouncer': {'listen_addr': '*', 'listen_port': '6464', 'logfile': '/var/log/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/var/lib/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': '', 'auth_type': 'md5', 'user': 'postgres', 'max_client_conn': '10000', 'ignore_startup_parameters': 'extra_float_digits,options', 'server_tls_sslmode': 'prefer', 'so_reuseport': '1', 'unix_socket_dir': '/var/lib/pgbouncer/instance_0', 'pool_mode': 'session', 'max_db_connections': '100', 'default_pool_size': '13', 'min_pool_size': '7', 'reserve_pool_size': '7', 'auth_query': '', 'auth_file': '/var/lib/pgbouncer/userlist.txt'}} | ||
[32mINFO [0m integration.test_charm:test_charm.py:49 {'listen_port': {'default': 6432, 'description': 'The port on which pgbouncer listens for traffic. Corresponds to\nlisten_port in pgbouncer config.\n', 'source': 'user', 'type': 'int', 'value': 6464}, 'max_db_connections': {'default': 100, 'description': 'Do not allow more than this many server connections per database\n(regardless of user). This considers the PgBouncer database that the\nclient has connected to, not the PostgreSQL database of the outgoing\nconnection.\n\nNote that when you hit the limit, closing a client connection to one pool\nwill not immediately allow a server connection to be established for\nanother pool, because the server connection for the first pool is still\nopen. Once the server connection closes (due to idle timeout), a new\nserver connection will immediately be opened for the waiting pool.\n\nThis is used to calculate the following pgbouncer.ini config options,\nwhich are documented in the pgbouncer config docs here:\nhttps://www.pgbouncer.org/config.html.\n\n- Firstly, the number of pgbouncer instances is calculated based on the\n number of CPU cores in the current deployment.\n- effective DB connections = max_db_connections / pgbouncer instances\n- default_pool_size = effective connections / 2\n- min_pool_size = effective connections / 4\n- reserve_pool_size = effective connections / 4\n\nIf max_db_connections is set to 0, the derivatives are set thusly, based\non pgbouncer defaults:\n- default_pool_size = 20\n- min_pool_size = 10\n- reserve_pool_size = 10\n\n0 = unlimited.\n', 'source': 'default', 'type': 'int', 'value': 100}, 'pool_mode': {'default': 'session', 'description': 'Specifies when a server connection can be reused by other clients. Can\nbe one of the following values:\n\nsession\nServer is released back to pool after client disconnects. Default.\n\ntransaction\nServer is released back to pool after transaction finishes.\n\nstatement\nServer is released back to pool after query finishes. Transactions\nspanning multiple statements are disallowed in this mode.\n', 'source': 'default', 'type': 'string', 'value': 'session'}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
finos-waltz/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s (waiting for exactly 2 units, current : 3) | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
finos-waltz/0 [idle] active: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[32mINFO [0m integration.test_upgrade_from_stable:test_upgrade_from_stable.py:84 Get leader unit | ||
[32mINFO [0m integration.test_upgrade_from_stable:test_upgrade_from_stable.py:90 Run pre-upgrade-check action | ||
[32mINFO [0m integration.test_upgrade_from_stable:test_upgrade_from_stable.py:94 Assert partition is set to 2 | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.132:16443/apis/apps/v1/namespaces/test/statefulsets/pgbouncer-k8s "HTTP/1.1 200 OK" |
Oops, something went wrong.