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
d0067bd
commit a55e6f4
Showing
186 changed files
with
5,161 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,32 @@ | ||
[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 [allocating] waiting: waiting for machine | ||
[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 [allocating] waiting: waiting for machine | ||
[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 [allocating] waiting: waiting for machine | ||
[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 [allocating] waiting: waiting for machine | ||
[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 [executing] 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 | ||
pgbouncer/0 [idle] active: | ||
pgbouncer/1 [idle] active: | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:213 {'databases': {'postgresql_test_app_database': 'host=10.123.145.52 dbname=postgresql_test_app_database port=5432 auth_user=pgbouncer_auth_relation_6', 'postgresql_test_app_database_readonly': 'host=10.123.145.128 dbname=postgresql_test_app_database port=5432 auth_user=pgbouncer_auth_relation_6', '*': 'host=10.123.145.52 auth_dbname=postgresql_test_app_database port=5432 auth_user=pgbouncer_auth_relation_6', 'another_database_readonly': 'host=10.123.145.128 dbname=another_database 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:215 Checking connection for postgresql-test-app/0 | ||
[32mINFO [0m root:helpers.py:76 running query: | ||
CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('2b9c3e5f-c1b3-48a4-93f6-0d4a8344eb80');SELECT data FROM quick_test WHERE data = '2b9c3e5f-c1b3-48a4-93f6-0d4a8344eb80'; | ||
[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('2b9c3e5f-c1b3-48a4-93f6-0d4a8344eb80');SELECT data FROM quick_test WHERE data = '2b9c3e5f-c1b3-48a4-93f6-0d4a8344eb80';", 'relation-name': 'database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:80 query results: {'results': '[["2b9c3e5f-c1b3-48a4-93f6-0d4a8344eb80"]]', 'return-code': 0} | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:215 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('3dc80ff6-71da-4c2f-ba59-8635e7ec8991');SELECT data FROM quick_test WHERE data = '3dc80ff6-71da-4c2f-ba59-8635e7ec8991'; | ||
[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('3dc80ff6-71da-4c2f-ba59-8635e7ec8991');SELECT data FROM quick_test WHERE data = '3dc80ff6-71da-4c2f-ba59-8635e7ec8991';", 'relation-name': 'database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:80 query results: {'results': '[["3dc80ff6-71da-4c2f-ba59-8635e7ec8991"]]', 'return-code': 0} | ||
[32mINFO [0m root:helpers.py:96 (0, '{"postgresql-test-app/0":{"machine":"0","opened-ports":null,"public-address":"10.123.145.242","charm":"ch:amd64/jammy/postgresql-test-app-314","leader":true,"life":"alive","relation-info":[{"relation-id":7,"endpoint":"database","related-endpoint":"database","application-data":{"data":"{\\"database\\": \\"postgresql_test_app_database\\", \\"extra-user-roles\\": \\"CREATEDB,CREATEROLE\\", \\"requested-secrets\\": \\"[\\\\\\"username\\\\\\", \\\\\\"password\\\\\\", \\\\\\"tls\\\\\\", \\\\\\"tls-ca\\\\\\", \\\\\\"uris\\\\\\"]\\"}","database":"postgresql_test_app_database","endpoints":"localhost:6432","secret-user":"secret://4e723c50-198b-4f17-8daa-95e88b7fa661/cu465t1lbrd1hcpj46l0","subordinated":"true","version":"14.13"},"local-unit":{"in-scope":false,"data":null},"related-units":{"pgbouncer/0":{"in-scope":true,"data":{"egress-subnets":"10.123.145.242/32","ingress-address":"10.123.145.242","private-address":"10.123.145.242","state":"ready"}},"pgbouncer/1":{"in-scope":true,"data":{"egress-subnets":"10.123.145.59/32","ingress-address":"10.123.145.59","private-address":"10.123.145.59","state":"ready"}}}},{"relation-id":0,"endpoint":"postgresql-test-peers","related-endpoint":"postgresql-test-peers","application-data":{},"local-unit":{"in-scope":true,"data":{"egress-subnets":"10.123.145.242/32","ingress-address":"10.123.145.242","private-address":"10.123.145.242"}},"related-units":{"postgresql-test-app/1":{"in-scope":true,"data":{"egress-subnets":"10.123.145.59/32","ingress-address":"10.123.145.59","private-address":"10.123.145.59"}}}}]}}\n', '') |
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 juju.model:model.py:2972 Waiting for model: | ||
pgbouncer/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,215 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:787 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-test-app-314 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/pgbouncer-396 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-541 | ||
[32mINFO [0m integration.test_upgrade_from_stable:test_upgrade_from_stable.py:53 Wait for applications to become active | ||
[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: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 | ||
pgbouncer (not enough units yet - 0/1) | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
postgresql-test-app/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 | ||
pgbouncer (not enough units yet - 0/1) | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
postgresql-test-app/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 | ||
pgbouncer (not enough units yet - 0/1) | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
postgresql-test-app/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 | ||
pgbouncer (not enough units yet - 0/1) | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
postgresql-test-app/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 | ||
pgbouncer (not enough units yet - 0/1) | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
postgresql-test-app/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 | ||
pgbouncer (not enough units yet - 0/1) | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
postgresql-test-app/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 | ||
pgbouncer (not enough units yet - 0/1) | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
postgresql-test-app/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 | ||
pgbouncer (not enough units yet - 0/1) | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
postgresql-test-app/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 | ||
pgbouncer (not enough units yet - 0/1) | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
postgresql-test-app/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 | ||
pgbouncer (not enough units yet - 0/1) | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
postgresql-test-app/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 | ||
pgbouncer (not enough units yet - 0/1) | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
postgresql-test-app/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 | ||
pgbouncer (not enough units yet - 0/1) | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
postgresql-test-app/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 | ||
pgbouncer/0 [allocating] waiting: agent initialising | ||
pgbouncer/1 [allocating] waiting: agent initialising | ||
pgbouncer/2 [allocating] waiting: agent initialising | ||
postgresql-test-app/0 [idle] active: | ||
postgresql-test-app/1 [idle] active: | ||
postgresql-test-app/2 [idle] active: | ||
[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 | ||
pgbouncer/0 [executing] waiting: Waiting to start PgBouncer | ||
pgbouncer/1 [executing] waiting: Waiting to start PgBouncer | ||
pgbouncer/2 [executing] waiting: Waiting to start PgBouncer | ||
postgresql-test-app/0 [executing] active: | ||
postgresql-test-app/1 [idle] active: | ||
postgresql-test-app/2 [executing] active: | ||
[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 | ||
pgbouncer/0 [executing] waiting: waiting for backend-database relation to connect | ||
pgbouncer/1 [executing] blocked: waiting for backend database relation to initialise | ||
pgbouncer/2 [executing] blocked: waiting for backend database relation to initialise | ||
postgresql-test-app/0 [idle] active: | ||
postgresql-test-app/1 [idle] active: | ||
postgresql-test-app/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [executing] waiting: awaiting passwords generation | ||
postgresql/2 [executing] waiting: awaiting passwords generation | ||
pgbouncer/0 [executing] waiting: waiting for backend-database relation to connect | ||
pgbouncer/1 [executing] blocked: waiting for backend database relation to initialise | ||
pgbouncer/2 [executing] maintenance: updating PgBouncer config | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
pgbouncer/0 [executing] maintenance: Initialising backend-database relation | ||
pgbouncer/1 [executing] maintenance: updating PgBouncer config | ||
pgbouncer/2 [executing] maintenance: updating PgBouncer config | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
pgbouncer/0 [idle] active: | ||
pgbouncer/1 [idle] active: | ||
pgbouncer/2 [idle] active: | ||
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: | ||
postgresql/0 [executing] active: Primary | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
pgbouncer/0 [idle] active: | ||
pgbouncer/1 [idle] active: | ||
pgbouncer/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
pgbouncer/0 [idle] active: | ||
pgbouncer/1 [idle] active: | ||
pgbouncer/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
postgresql/1 [executing] waiting: awaiting for member to start | ||
postgresql/2 [executing] waiting: awaiting for member to start | ||
pgbouncer/0 [executing] active: | ||
pgbouncer/1 [idle] active: | ||
pgbouncer/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [executing] waiting: awaiting for member to start | ||
postgresql/2 [executing] waiting: awaiting for member to start | ||
pgbouncer/0 [idle] active: | ||
pgbouncer/1 [idle] active: | ||
pgbouncer/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
postgresql/1 [executing] active: | ||
postgresql/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,2 @@ | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:77 Get leader unit | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:81 Run pre-upgrade-check action |
Oops, something went wrong.