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
6a7689d
commit f52d3c4
Showing
202 changed files
with
2,970 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,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:33Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
pgbouncer-k8s 1.21.0 waiting 1 pgbouncer-k8s 0 10.152.183.26 no installing agent | ||
|
||
Unit Workload Agent Address Ports Message | ||
pgbouncer-k8s/0* blocked idle 10.1.4.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,50 @@ | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:116 starting continuous writes to the database | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:120 checking whether writes are increasing | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:126 Refresh the charm | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:129 Wait for upgrade to complete on first upgrading unit | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] waiting: other units upgrading first... | ||
pgbouncer-k8s/1 [idle] waiting: other units upgrading first... | ||
pgbouncer-k8s/2 [executing] waiting: pgbouncer not running | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] waiting: other units upgrading first... | ||
pgbouncer-k8s/1 [idle] waiting: other units upgrading first... | ||
pgbouncer-k8s/2 [idle] active: | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:137 Resume upgrade | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:142 Wait for upgrade to complete | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] maintenance: stopping charm software | ||
pgbouncer-k8s/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] waiting: other units upgrading first... | ||
pgbouncer-k8s/1 [idle] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] waiting: pgbouncer not running | ||
pgbouncer-k8s/1 [idle] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:149 checking whether writes are increasing | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:154 checking whether no writes were lost | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.39:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
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,51 @@ | ||
[32mINFO [0m integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:98 Refresh the charm | ||
[32mINFO [0m integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:101 Wait for upgrade to start | ||
[32mINFO [0m integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:108 Wait for upgrade to complete on first upgrading unit | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] waiting: other units upgrading first... | ||
pgbouncer-k8s/1 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] waiting: other units upgrading first... | ||
pgbouncer-k8s/1 [idle] active: | ||
[32mINFO [0m integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:116 Resume upgrade | ||
[32mINFO [0m integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:121 Wait for upgrade to complete | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] maintenance: stopping charm software | ||
pgbouncer-k8s/1 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
[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:50:51Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
data-integrator active 2 data-integrator latest/edge 71 10.152.183.165 no | ||
pgbouncer-k8s 1.21.0 active 2 pgbouncer-k8s 0 10.152.183.153 no | ||
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 419 10.152.183.35 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
data-integrator/0 active idle 10.1.109.200 | ||
data-integrator/1* active idle 10.1.109.201 | ||
pgbouncer-k8s/0* active idle 10.1.109.211 | ||
pgbouncer-k8s/1 active idle 10.1.109.210 | ||
postgresql-k8s/0 active idle 10.1.109.207 | ||
postgresql-k8s/1* active idle 10.1.109.209 Primary | ||
postgresql-k8s/2 active idle 10.1.109.208 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
unit-postgresql-k8s-2: 01:47:08 ERROR unit.postgresql-k8s/2.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata | ||
unit-pgbouncer-k8s-1: 01:48:51 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:48:53 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:48:54 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:48:55 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:49:51 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:49:53 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:49:55 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running | ||
|
||
[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,60 @@ | ||
[32mINFO [0m integration.relations.test_db:test_db.py:183 Deploying test app | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-test-app-211 | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m integration.relations.test_db:test_db.py:187 Wait for PGB to block due to extensions | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
pgbouncer-k8s/2 [executing] blocked: bad relation request - remote app requested extensions, which are unsupported. Please remove this relation. | ||
[32mINFO [0m integration.relations.test_db:test_db.py:195 Rerelate with extensions enabled | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] active: | ||
[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-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] active: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
postgresql-test-app/0 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
postgresql-test-app/0 [idle] active: | ||
[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:55:29Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
pgbouncer-k8s 1.21.0 active 3 pgbouncer-k8s 0 10.152.183.47 no | ||
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 419 10.152.183.102 no | ||
postgresql-test-app active 1 postgresql-test-app latest/stable 211 10.152.183.51 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
pgbouncer-k8s/0 active idle 10.1.142.12 | ||
pgbouncer-k8s/1 active idle 10.1.142.14 | ||
pgbouncer-k8s/2* active idle 10.1.142.13 | ||
postgresql-k8s/0 active idle 10.1.142.15 | ||
postgresql-k8s/1* active idle 10.1.142.16 Primary | ||
postgresql-k8s/2 active idle 10.1.142.17 | ||
postgresql-test-app/0* active idle 10.1.142.19 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
unit-postgresql-k8s-2: 01:46:46 ERROR unit.postgresql-k8s/2.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata | ||
unit-postgresql-k8s-2: 01:47:14 ERROR unit.postgresql-k8s/2.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata | ||
unit-postgresql-k8s-0: 01:47:15 ERROR unit.postgresql-k8s/0.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata | ||
unit-postgresql-k8s-2: 01:47:26 ERROR unit.postgresql-k8s/2.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata | ||
unit-postgresql-k8s-2: 01:47:55 ERROR unit.postgresql-k8s/2.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata | ||
unit-pgbouncer-k8s-2: 01:54:04 ERROR unit.pgbouncer-k8s/2.juju-log db:9: ERROR - `extensions` (pg_trgm:public, unaccent:public) cannot be requested through relations - Please enable extensions through `juju config` and add the relation again. | ||
|
||
[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,8 @@ | ||
[32mINFO [0m root:helpers.py:121 running query: | ||
CREATE DATABASE another_database; | ||
[32mINFO [0m root:helpers.py:122 {'dbname': 'postgresql_test_app_database', 'query': 'CREATE DATABASE another_database;', 'relation-name': 'database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:125 query results: {'results': '["no results to fetch"]', 'return-code': 0, 'stderr': '/var/lib/juju/agents/unit-postgresql-test-app-0/charm/./src/charm.py:538: DeprecationWarning: Calling `ops.main.main()` is deprecated, call `ops.main()` instead\n main(ApplicationCharm)\n'} | ||
[32mINFO [0m root:helpers.py:121 running query: | ||
CREATE USER another_user WITH ENCRYPTED PASSWORD 'test-password'; | ||
[32mINFO [0m root:helpers.py:122 {'dbname': 'postgresql_test_app_database', 'query': "CREATE USER another_user WITH ENCRYPTED PASSWORD 'test-password';", 'relation-name': 'database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:125 query results: {'results': '["no results to fetch"]', 'return-code': 0, 'stderr': '/var/lib/juju/agents/unit-postgresql-test-app-0/charm/./src/charm.py:538: DeprecationWarning: Calling `ops.main.main()` is deprecated, call `ops.main()` instead\n main(ApplicationCharm)\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,9 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/0 [executing] active: received database credentials of the second database | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [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,8 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
postgresql-test-app/0 [idle] active: received database credentials of the first database | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: Primary | ||
self-signed-certificates/0 [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,18 @@ | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/data-integrator-71 | ||
[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: Primary | ||
postgresql-k8s/1 [idle] active: | ||
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 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
data-integrator/0 [idle] active: |
Oops, something went wrong.