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
45b8ed3
commit 56cd522
Showing
195 changed files
with
3,179 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,31 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s (waiting for exactly 1 units, current : 2) | ||
[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-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: | ||
[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} | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s (waiting for exactly 2 units, current : 1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [executing] blocked: PgBouncer service metrics_server not running: service status = ServiceStatus.INACTIVE | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
[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: Primary | ||
postgresql-k8s/1 [idle] active: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [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} |
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,107 @@ | ||
[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:52:29Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
data-integrator active 1 data-integrator latest/edge 72 10.152.183.97 no | ||
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.79 no | ||
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 431 10.152.183.129 no | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 271 10.152.183.93 no received database credentials of the first database | ||
postgresql-test-app2 active 1 postgresql-test-app latest/edge 271 10.152.183.109 no received database credentials of the first database | ||
self-signed-certificates active 1 self-signed-certificates latest/stable 155 10.152.183.19 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
data-integrator/0* active idle 10.1.95.137 | ||
pgbouncer-k8s/0* active idle 10.1.95.136 | ||
postgresql-k8s/0* active idle 10.1.95.142 Primary | ||
postgresql-k8s/1 active idle 10.1.95.144 | ||
postgresql-k8s/2 active idle 10.1.95.143 | ||
postgresql-test-app2/0* active idle 10.1.95.145 received database credentials of the first database | ||
postgresql-test-app/0* active idle 10.1.95.138 received database credentials of the first database | ||
self-signed-certificates/0* active idle 10.1.95.146 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
unit-postgresql-k8s-2: 01:46:10 ERROR unit.postgresql-k8s/2.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:46:10 ERROR unit.postgresql-k8s/2.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:46:10 ERROR unit.postgresql-k8s/2.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:46:10 ERROR unit.postgresql-k8s/2.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:46:17 ERROR unit.postgresql-k8s/2.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:46:17 ERROR unit.postgresql-k8s/2.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:46:17 ERROR unit.postgresql-k8s/2.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:46:17 ERROR unit.postgresql-k8s/2.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:46:25 ERROR unit.postgresql-k8s/1.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:46:25 ERROR unit.postgresql-k8s/1.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:46:25 ERROR unit.postgresql-k8s/1.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:46:25 ERROR unit.postgresql-k8s/1.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:46:37 ERROR unit.postgresql-k8s/1.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:46:37 ERROR unit.postgresql-k8s/1.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:46:37 ERROR unit.postgresql-k8s/1.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:46:37 ERROR unit.postgresql-k8s/1.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:46:44 ERROR unit.postgresql-k8s/2.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:46:44 ERROR unit.postgresql-k8s/2.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:46:44 ERROR unit.postgresql-k8s/2.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:46:44 ERROR unit.postgresql-k8s/2.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:47:37 ERROR unit.postgresql-k8s/2.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:47:37 ERROR unit.postgresql-k8s/2.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:47:37 ERROR unit.postgresql-k8s/1.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:47:37 ERROR unit.postgresql-k8s/2.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:47:37 ERROR unit.postgresql-k8s/1.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:47:37 ERROR unit.postgresql-k8s/2.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:47:37 ERROR unit.postgresql-k8s/1.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:47:37 ERROR unit.postgresql-k8s/1.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:48 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:48 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:48 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:48 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:49 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:49 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:49 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:49 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:51 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:51 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:51 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:51 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:52 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:52 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:52 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:52 ERROR unit.postgresql-k8s/1.juju-log database:9: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:59 ERROR unit.postgresql-k8s/1.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:59 ERROR unit.postgresql-k8s/1.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:59 ERROR unit.postgresql-k8s/1.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:59 ERROR unit.postgresql-k8s/1.juju-log certificates:13: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:49:01 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:49:01 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:49:01 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:49:01 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:49:04 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:49:04 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:49:04 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:49:04 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:49:39 ERROR unit.postgresql-k8s/1.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:49:39 ERROR unit.postgresql-k8s/1.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:49:39 ERROR unit.postgresql-k8s/1.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:49:39 ERROR unit.postgresql-k8s/1.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:51:44 ERROR unit.postgresql-k8s/1.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:51:44 ERROR unit.postgresql-k8s/1.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:51:44 ERROR unit.postgresql-k8s/1.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:51:44 ERROR unit.postgresql-k8s/1.juju-log database-peers:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:51:49 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:51:49 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:51:49 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:51:49 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:52:02 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:52:02 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:52:02 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:52:02 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:52:15 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:52:15 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:52:15 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:52:15 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:52:28 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:52:28 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:52:28 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:52:28 ERROR unit.postgresql-k8s/2.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,4 @@ | ||
[32mINFO [0m root:helpers.py:121 running query: | ||
SELECT version(); | ||
[32mINFO [0m root:helpers.py:122 {'dbname': 'postgresql_test_app_database', 'query': 'SELECT version();', 'relation-name': 'database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:125 query results: {'results': '[["PostgreSQL 14.13 (Ubuntu 14.13-0ubuntu0.22.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, 64-bit"]]', 'return-code': 0} |
Oops, something went wrong.