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
0ca2fc5
commit b5f00d8
Showing
186 changed files
with
5,239 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,9 @@ | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
self-signed-certificates/0 [idle] active: | ||
data-integrator/0 [idle] active: | ||
data-integrator/1 [idle] active: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: | ||
pgbouncer/0 [executing] active: | ||
pgbouncer/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,2 @@ | ||
[32mINFO [0m integration.test_upgrade_from_stable:test_upgrade_from_stable.py:69 Get leader unit | ||
[32mINFO [0m integration.test_upgrade_from_stable:test_upgrade_from_stable.py:73 Run pre-upgrade-check action |
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,122 @@ | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-541 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer/0 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer/1 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer/2 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer/0 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [allocating] waiting: agent initialising | ||
postgresql/1 [allocating] waiting: agent initialising | ||
postgresql/2 [allocating] waiting: agent initialising | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] maintenance: installing PostgreSQL | ||
postgresql/1 [executing] maintenance: installing PostgreSQL | ||
postgresql/2 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] active: Primary | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] active: Primary | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting for member to start | ||
postgresql/1 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/1 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: Primary | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer/0 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer/1 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer/2 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer/0 [executing] active: | ||
pgbouncer/1 [executing] active: | ||
pgbouncer/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [executing] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer/0 [idle] active: | ||
pgbouncer/1 [idle] active: | ||
pgbouncer/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/0 [idle] active: received database credentials of the first database | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql-test-app/2 [idle] active: received database credentials of the first database | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer/0 [idle] active: | ||
pgbouncer/1 [idle] active: | ||
pgbouncer/2 [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,59 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app (waiting for exactly 1 units, current : 2) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
pgbouncer/4 [idle] active: | ||
another-application/0 [idle] active: | ||
another-postgresql/0 [idle] active: Primary | ||
another-postgresql/1 [idle] active: | ||
another-pgbouncer/2 [idle] active: | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:352 {'databases': {'postgresql_test_app_database': 'host=10.186.248.176 dbname=postgresql_test_app_database port=5432 auth_user=pgbouncer_auth_relation_6', 'postgresql_test_app_database_readonly': 'host=10.186.248.50 dbname=postgresql_test_app_database port=5432 auth_user=pgbouncer_auth_relation_6', '*': 'host=10.186.248.176 auth_dbname=postgresql_test_app_database port=5432 auth_user=pgbouncer_auth_relation_6', 'another_database_readonly': 'host=10.186.248.50 dbname=another_database auth_dbname=postgresql_test_app_database port=5432 auth_user=pgbouncer_auth_relation_6', 'postgresql_test_app_multiple_database_clusters_readonly': 'host=10.186.248.50 dbname=postgresql_test_app_multiple_database_clusters auth_dbname=postgresql_test_app_database port=5432 auth_user=pgbouncer_auth_relation_6'}, 'peers': {'1': 'host=/var/snap/charmed-pgbouncer/current/run/pgbouncer/pgbouncer/instance_0 port=6432'}, 'pgbouncer': {'peer_id': '1', 'listen_addr': '127.0.0.1', 'listen_port': '6432', 'logfile': '/var/snap/charmed-pgbouncer/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', 'server_round_robin': '1', 'so_reuseport': '1', 'unix_socket_dir': '/var/snap/charmed-pgbouncer/current/run/pgbouncer/pgbouncer/instance_0', 'pool_mode': 'session', 'max_db_connections': '100', 'default_pool_size': '50', 'min_pool_size': '25', 'reserve_pool_size': '25', 'auth_query': 'SELECT username, password FROM pgbouncer_auth_relation_6.get_auth($1)', 'auth_file': '/var/snap/charmed-pgbouncer/current/etc/pgbouncer/pgbouncer/userlist.txt'}} | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:354 Checking connection for postgresql-test-app/1 | ||
[32mINFO [0m root:helpers.py:76 running query: | ||
CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('a08d0141-e7f7-4d3b-92e0-cec06cd70969');SELECT data FROM quick_test WHERE data = 'a08d0141-e7f7-4d3b-92e0-cec06cd70969'; | ||
[32mINFO [0m root:helpers.py:77 {'dbname': 'postgresql_test_app_database', 'query': "CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('a08d0141-e7f7-4d3b-92e0-cec06cd70969');SELECT data FROM quick_test WHERE data = 'a08d0141-e7f7-4d3b-92e0-cec06cd70969';", 'relation-name': 'database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:80 query results: {'results': '[["a08d0141-e7f7-4d3b-92e0-cec06cd70969"]]', 'return-code': 0} | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql-test-app/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql-test-app/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql-test-app/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql-test-app/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql-test-app/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql-test-app/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql-test-app/2 [idle] active: | ||
pgbouncer/4 [executing] maintenance: Reloading Pgbouncer | ||
pgbouncer/9 [executing] waiting: Waiting to start PgBouncer | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/2 [idle] active: received database credentials of the first database | ||
pgbouncer/4 [idle] active: | ||
pgbouncer/9 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer/9 [idle] active: | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:365 {'databases': {'postgresql_test_app_database': 'host=10.186.248.176 dbname=postgresql_test_app_database port=5432 auth_user=pgbouncer_auth_relation_6', 'postgresql_test_app_database_readonly': 'host=10.186.248.50 dbname=postgresql_test_app_database port=5432 auth_user=pgbouncer_auth_relation_6', '*': 'host=10.186.248.176 auth_dbname=postgresql_test_app_database port=5432 auth_user=pgbouncer_auth_relation_6', 'another_database_readonly': 'host=10.186.248.50 dbname=another_database auth_dbname=postgresql_test_app_database port=5432 auth_user=pgbouncer_auth_relation_6', 'postgresql_test_app_multiple_database_clusters_readonly': 'host=10.186.248.50 dbname=postgresql_test_app_multiple_database_clusters auth_dbname=postgresql_test_app_database port=5432 auth_user=pgbouncer_auth_relation_6'}, 'peers': {'1': 'host=/var/snap/charmed-pgbouncer/current/run/pgbouncer/pgbouncer/instance_0 port=6432'}, 'pgbouncer': {'peer_id': '1', 'listen_addr': '127.0.0.1', 'listen_port': '6432', 'logfile': '/var/snap/charmed-pgbouncer/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', 'server_round_robin': '1', 'so_reuseport': '1', 'unix_socket_dir': '/var/snap/charmed-pgbouncer/current/run/pgbouncer/pgbouncer/instance_0', 'pool_mode': 'session', 'max_db_connections': '100', 'default_pool_size': '50', 'min_pool_size': '25', 'reserve_pool_size': '25', 'auth_query': 'SELECT username, password FROM pgbouncer_auth_relation_6.get_auth($1)', 'auth_file': '/var/snap/charmed-pgbouncer/current/etc/pgbouncer/pgbouncer/userlist.txt'}} | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:367 Checking connection for postgresql-test-app/1 | ||
[32mINFO [0m root:helpers.py:76 running query: | ||
CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('e3044a50-9267-4c2b-a80e-ff29c1e812cc');SELECT data FROM quick_test WHERE data = 'e3044a50-9267-4c2b-a80e-ff29c1e812cc'; | ||
[32mINFO [0m root:helpers.py:77 {'dbname': 'postgresql_test_app_database', 'query': "CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('e3044a50-9267-4c2b-a80e-ff29c1e812cc');SELECT data FROM quick_test WHERE data = 'e3044a50-9267-4c2b-a80e-ff29c1e812cc';", 'relation-name': 'database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:80 query results: {'results': '[["e3044a50-9267-4c2b-a80e-ff29c1e812cc"]]', 'return-code': 0} | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:367 Checking connection for postgresql-test-app/2 | ||
[32mINFO [0m root:helpers.py:76 running query: | ||
CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('a12b2bb6-8597-4c46-a775-3a71ebae4b65');SELECT data FROM quick_test WHERE data = 'a12b2bb6-8597-4c46-a775-3a71ebae4b65'; | ||
[32mINFO [0m root:helpers.py:77 {'dbname': 'postgresql_test_app_database', 'query': "CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('a12b2bb6-8597-4c46-a775-3a71ebae4b65');SELECT data FROM quick_test WHERE data = 'a12b2bb6-8597-4c46-a775-3a71ebae4b65';", 'relation-name': 'database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:80 query results: {'results': '[["a12b2bb6-8597-4c46-a775-3a71ebae4b65"]]', '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,8 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
self-signed-certificates/0 [idle] active: | ||
data-integrator/0 [idle] active: | ||
data-integrator/1 [idle] active: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: | ||
pgbouncer/0 [executing] active: | ||
pgbouncer/1 [executing] active: |
Oops, something went wrong.