generated from canonical/template-operator
-
Notifications
You must be signed in to change notification settings - Fork 4
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
0abf385
commit c87fe35
Showing
117 changed files
with
3,542 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,33 @@ | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[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 for cluster another-pgbouncer | ||
postgresql-test-app/1 [executing] active: received database credentials for cluster another-pgbouncer | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
pgbouncer/4 [allocating] waiting: agent initialising | ||
pgbouncer/5 [allocating] waiting: agent initialising | ||
another-pgbouncer (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/0 [idle] active: received database credentials for cluster another-pgbouncer | ||
postgresql-test-app/1 [idle] active: received database credentials for cluster another-pgbouncer | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
pgbouncer/4 [executing] waiting: Waiting to start PgBouncer | ||
pgbouncer/5 [executing] blocked: waiting for backend database relation to initialise | ||
another-pgbouncer/2 [executing] waiting: Waiting to start PgBouncer | ||
another-pgbouncer/3 [executing] waiting: Waiting to start PgBouncer | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/0 [executing] active: received database credentials of the second database | ||
postgresql-test-app/1 [idle] active: received database credentials of the second database | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
pgbouncer/4 [executing] active: | ||
pgbouncer/5 [executing] active: | ||
another-pgbouncer/2 [executing] active: | ||
another-pgbouncer/3 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer/4 [idle] active: | ||
pgbouncer/5 [idle] active: | ||
another-pgbouncer/2 [idle] active: | ||
another-pgbouncer/3 [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,15 @@ | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:89 starting continuous writes to the database | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:93 checking whether writes are increasing | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:98 Refresh the charm | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:101 Wait for upgrade to start | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:107 Wait for upgrade to complete | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer/0 [executing] active: | ||
pgbouncer/1 [executing] waiting: other units upgrading first... | ||
pgbouncer/2 [executing] waiting: other units upgrading first... | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer/0 [idle] active: | ||
pgbouncer/1 [idle] active: | ||
pgbouncer/2 [idle] active: | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:114 checking whether writes are increasing | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:119 checking whether no writes were lost |
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,61 @@ | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app (waiting for exactly 1 units, current : 2) | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the second database | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the second database | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
pgbouncer/4 [idle] active: | ||
another-application/0 [idle] active: | ||
another-postgresql/0 [idle] active: | ||
another-postgresql/1 [idle] active: Primary | ||
another-pgbouncer/2 [idle] active: | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:341 {'databases': {'postgresql_test_app_first_database': 'host=10.192.174.119 dbname=postgresql_test_app_first_database port=5432 auth_user=pgbouncer_auth_relation_6', 'postgresql_test_app_first_database_readonly': 'host=10.192.174.52 dbname=postgresql_test_app_first_database port=5432 auth_user=pgbouncer_auth_relation_6'}, 'pgbouncer': {'listen_addr': '127.0.0.1', 'listen_port': '6432', 'logfile': '/var/snap/charmed-postgresql/common/var/log/pgbouncer/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/tmp/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': 'pgbouncer_stats_pgbouncer', 'auth_type': 'md5', 'user': 'snap_daemon', 'max_client_conn': '10000', 'ignore_startup_parameters': 'extra_float_digits,options', 'server_tls_sslmode': 'prefer', 'so_reuseport': '1', 'unix_socket_dir': '/tmp/pgbouncer/instance_0', 'pool_mode': 'session', 'max_db_connections': '100', 'default_pool_size': '13', 'min_pool_size': '7', 'reserve_pool_size': '7', 'auth_query': 'SELECT username, password FROM pgbouncer_auth_relation_6.get_auth($1)', 'auth_file': '/var/snap/charmed-postgresql/current/etc/pgbouncer/pgbouncer/userlist.txt'}} | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:343 Checking connection for postgresql-test-app/1 | ||
[32mINFO [0m root:helpers.py:77 running query: | ||
CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('74cd708c-46b2-46a4-9368-19fc01ae3da1');SELECT data FROM quick_test WHERE data = '74cd708c-46b2-46a4-9368-19fc01ae3da1'; | ||
[32mINFO [0m root:helpers.py:78 {'dbname': 'postgresql_test_app_first_database', 'query': "CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('74cd708c-46b2-46a4-9368-19fc01ae3da1');SELECT data FROM quick_test WHERE data = '74cd708c-46b2-46a4-9368-19fc01ae3da1';", 'relation-id': 17, 'relation-name': 'first-database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:81 query results: {'results': '[["74cd708c-46b2-46a4-9368-19fc01ae3da1"]]', 'return-code': 0} | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the second database | ||
postgresql-test-app/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the second database | ||
postgresql-test-app/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the second database | ||
postgresql-test-app/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the second database | ||
postgresql-test-app/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/2 [idle] active: received database credentials of the second database | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the second database | ||
postgresql-test-app/2 [idle] active: received database credentials of the second database | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
pgbouncer/4 [idle] active: | ||
pgbouncer/10 [executing] active: | ||
another-application/0 [idle] active: | ||
another-postgresql/0 [idle] active: | ||
another-postgresql/1 [idle] active: Primary | ||
another-pgbouncer/2 [idle] active: | ||
another-pgbouncer/6 [executing] maintenance: Reloading Pgbouncer | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer/10 [idle] active: | ||
another-pgbouncer/6 [idle] active: | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:355 {'databases': {'postgresql_test_app_first_database': 'host=10.192.174.119 dbname=postgresql_test_app_first_database port=5432 auth_user=pgbouncer_auth_relation_6', 'postgresql_test_app_first_database_readonly': 'host=10.192.174.52 dbname=postgresql_test_app_first_database port=5432 auth_user=pgbouncer_auth_relation_6'}, 'pgbouncer': {'listen_addr': '127.0.0.1', 'listen_port': '6432', 'logfile': '/var/snap/charmed-postgresql/common/var/log/pgbouncer/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/tmp/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': 'pgbouncer_stats_pgbouncer', 'auth_type': 'md5', 'user': 'snap_daemon', 'max_client_conn': '10000', 'ignore_startup_parameters': 'extra_float_digits,options', 'server_tls_sslmode': 'prefer', 'so_reuseport': '1', 'unix_socket_dir': '/tmp/pgbouncer/instance_0', 'pool_mode': 'session', 'max_db_connections': '100', 'default_pool_size': '13', 'min_pool_size': '7', 'reserve_pool_size': '7', 'auth_query': 'SELECT username, password FROM pgbouncer_auth_relation_6.get_auth($1)', 'auth_file': '/var/snap/charmed-postgresql/current/etc/pgbouncer/pgbouncer/userlist.txt'}} | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:357 Checking connection for postgresql-test-app/1 | ||
[32mINFO [0m root:helpers.py:77 running query: | ||
CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('3159b962-0e9d-49f9-b644-1d25c167bd1a');SELECT data FROM quick_test WHERE data = '3159b962-0e9d-49f9-b644-1d25c167bd1a'; | ||
[32mINFO [0m root:helpers.py:78 {'dbname': 'postgresql_test_app_first_database', 'query': "CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('3159b962-0e9d-49f9-b644-1d25c167bd1a');SELECT data FROM quick_test WHERE data = '3159b962-0e9d-49f9-b644-1d25c167bd1a';", 'relation-id': 17, 'relation-name': 'first-database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:81 query results: {'results': '[["3159b962-0e9d-49f9-b644-1d25c167bd1a"]]', 'return-code': 0} | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:357 Checking connection for postgresql-test-app/2 | ||
[32mINFO [0m root:helpers.py:77 running query: | ||
CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('0607c053-8e37-4d29-9b62-c803df0ffe4d');SELECT data FROM quick_test WHERE data = '0607c053-8e37-4d29-9b62-c803df0ffe4d'; | ||
[32mINFO [0m root:helpers.py:78 {'dbname': 'postgresql_test_app_first_database', 'query': "CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('0607c053-8e37-4d29-9b62-c803df0ffe4d');SELECT data FROM quick_test WHERE data = '0607c053-8e37-4d29-9b62-c803df0ffe4d';", 'relation-id': 17, 'relation-name': 'first-database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:81 query results: {'results': '[["0607c053-8e37-4d29-9b62-c803df0ffe4d"]]', 'return-code': 0} |
Oops, something went wrong.