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
bc12f80
commit 6180528
Showing
203 changed files
with
3,426 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,79 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s (waiting for exactly 3 units, current : 1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/2 [executing] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/1 [executing] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/2 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s (waiting for exactly 1 units, current : 3) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:903 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test microk8s-localhost microk8s/localhost 3.4.6 unsupported 01:56:58Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
finos-waltz active 1 finos-waltz-k8s latest/edge 33 10.152.183.60 no | ||
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.201 no | ||
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 437 10.152.183.246 no | ||
self-signed-certificates active 1 self-signed-certificates latest/stable 155 10.152.183.227 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
finos-waltz/0* active idle 10.1.71.208 | ||
pgbouncer-k8s/0* active idle 10.1.71.200 | ||
postgresql-k8s/0 active idle 10.1.71.204 | ||
postgresql-k8s/1 active idle 10.1.71.205 | ||
postgresql-k8s/2* active idle 10.1.71.206 Primary | ||
self-signed-certificates/0* active idle 10.1.71.207 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
unit-postgresql-k8s-1: 01:46:09 ERROR unit.postgresql-k8s/1.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata | ||
unit-postgresql-k8s-0: 01:46:09 ERROR unit.postgresql-k8s/0.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata | ||
unit-postgresql-k8s-1: 01:50:10 ERROR unit.postgresql-k8s/1.juju-log certificates:7: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:50:10 ERROR unit.postgresql-k8s/1.juju-log certificates:7: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:50:14 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:50:14 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:50:18 ERROR unit.postgresql-k8s/1.juju-log certificates:7: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:50:18 ERROR unit.postgresql-k8s/1.juju-log certificates:7: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:50:20 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:50:20 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:50:22 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:50:22 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-0: 01:50:27 ERROR unit.postgresql-k8s/0.juju-log database-peers:2: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-0: 01:50:27 ERROR unit.postgresql-k8s/0.juju-log database-peers:2: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-0: 01:50:42 ERROR unit.postgresql-k8s/0.juju-log certificates:7: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-0: 01:50:42 ERROR unit.postgresql-k8s/0.juju-log certificates:7: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:50:45 ERROR unit.postgresql-k8s/1.juju-log database-peers:2: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:50:45 ERROR unit.postgresql-k8s/1.juju-log database-peers:2: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-0: 01:50:56 ERROR unit.postgresql-k8s/0.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-0: 01:50:56 ERROR unit.postgresql-k8s/0.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:50:59 ERROR unit.postgresql-k8s/1.juju-log database-peers:2: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:50:59 ERROR unit.postgresql-k8s/1.juju-log database-peers:2: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-0: 01:51:14 ERROR unit.postgresql-k8s/0.juju-log database-peers:2: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-0: 01:51:14 ERROR unit.postgresql-k8s/0.juju-log database-peers:2: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:52:53 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:52:53 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-0: 01:52:53 ERROR unit.postgresql-k8s/0.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-0: 01:52:53 ERROR unit.postgresql-k8s/0.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:991 Forgetting model main... |
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,64 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:766 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-k8s-437 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-0 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [allocating] waiting: installing agent | ||
postgresql-k8s/1 [allocating] waiting: installing agent | ||
postgresql-k8s/2 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] maintenance: installing charm software | ||
postgresql-k8s/1 [executing] maintenance: installing charm software | ||
postgresql-k8s/2 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] unknown: | ||
postgresql-k8s/1 [executing] unknown: | ||
postgresql-k8s/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [idle] waiting: awaiting for primary endpoint to be ready | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for member to start | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for member to start | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] maintenance: reconfiguring cluster | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for member to start | ||
postgresql-k8s/1 [idle] waiting: awaiting for member to start | ||
postgresql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [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-k8s/0 [idle] blocked: waiting for backend database relation to initialise | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
[32mINFO [0m root:test_backend_database.py:85 {'databases': {}, 'peers': {'1': 'host=0 port=6432', '2': 'host=1 port=6432', '3': 'host=2 port=6432', '4': 'host=3 port=6432'}, 'pgbouncer': {'peer_id': '1', 'listen_addr': '*', 'listen_port': '6432', 'logfile': '/var/log/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/var/lib/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': 'pgbouncer_stats_pgbouncer_k8s', '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': 'SELECT username, password FROM pgbouncer_auth_relation_id_5.get_auth($1)', 'auth_file': '/var/lib/pgbouncer/userlist.txt'}} | ||
[32mINFO [0m root:test_backend_database.py:96 {'data': '{"database": "pgbouncer", "extra-user-roles": "SUPERUSER", "requested-secrets": "[\\"username\\", \\"password\\", \\"tls\\", \\"tls-ca\\", \\"uris\\"]"}', 'database': 'pgbouncer', 'endpoints': 'postgresql-k8s-primary.test.svc.cluster.local:5432', 'read-only-endpoints': 'postgresql-k8s-replicas.test.svc.cluster.local:5432', 'secret-tls': 'secret://a09e6de3-3873-4079-8e49-a3c956f19137/csknijqo9ulc7b0fipk0', 'secret-user': 'secret://a09e6de3-3873-4079-8e49-a3c956f19137/csknijio9ulc7b0fipjg', 'version': '14.13'} | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [executing] active: | ||
postgresql-k8s/2 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] active: | ||
[32mINFO [0m root:test_backend_database.py:116 {'databases': {}, 'peers': {'1': 'host=0 port=6432', '2': 'host=1 port=6432', '3': 'host=2 port=6432', '4': 'host=3 port=6432'}, 'pgbouncer': {'peer_id': '1', 'listen_addr': '*', 'listen_port': '6432', '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'}} |
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,16 @@ | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/data-integrator-72 | ||
[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-test-app/0 [idle] active: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
secondary-application/0 [idle] active: received database credentials of the second database | ||
finos-waltz-k8s/0 [idle] active: | ||
pgbouncer-k8s-secondary/0 [idle] active: | ||
data-integrator/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product |
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 pytest_operator.plugin:plugin.py:903 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test microk8s-localhost microk8s/localhost 3.4.6 unsupported 01:44:03Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
pgbouncer-k8s 1.21.0 waiting 1 pgbouncer-k8s 0 10.152.183.122 no installing agent | ||
|
||
Unit Workload Agent Address Ports Message | ||
pgbouncer-k8s/0* blocked idle 10.1.28.8 waiting for backend database relation to initialise | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:991 Forgetting model main... |
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,10 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:766 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-0 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [allocating] waiting: installing agent | ||
pgbouncer-k8s/1 [allocating] waiting: installing agent | ||
pgbouncer-k8s/2 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/1 [executing] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/2 [executing] blocked: waiting for backend database relation to initialise |
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: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:2972 Waiting for model: | ||
postgresql-test-app/0 [idle] active: received database credentials of the second database | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
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:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
finos-waltz-k8s/0 [idle] waiting: Waiting for Pebble to be ready | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/0 [idle] active: received database credentials of the second database | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
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:121 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:122 {'dbname': 'postgresql_test_app_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-name': 'database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:125 query results: {'results': '[["some data"]]', 'return-code': 0} |
Oops, something went wrong.