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
0983714
commit 4b6b27d
Showing
203 changed files
with
3,108 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,5 @@ | ||
[32mINFO [0m integration.test_trust:test_trust.py:78 Connection attempt failed: (0) | ||
Reason: Handshake status 500 Internal Server Error -+-+- {'audit-id': '37a7ca2d-ec02-4a5c-8103-ff9335ac16fe', 'cache-control': 'no-cache, private', 'content-type': 'application/json', 'warning': '299 - "Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens."', 'date': 'Wed, 25 Dec 2024 01:33:28 GMT', 'content-length': '169'} -+-+- b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"error dialing backend: dial tcp 10.1.0.66:10250: connect: connection refused","code":500}\n' | ||
|
||
[32mINFO [0m integration.test_trust:test_trust.py:80 Retrying (1/20)... | ||
[32mINFO [0m integration.test_trust:test_trust.py:75 Connection established: <class 'juju.client._definitions.FullStatus'>({'applications': {}, 'branches': {}, 'controller_timestamp': '2024-12-25T01:33:31.166479013Z', 'filesystems': [], 'machines': {}, 'model': <class 'juju.client._definitions.ModelStatusInfo'>({'available_version': '', 'cloud_tag': 'cloud-microk8s', 'meter_status': <class 'juju.client._definitions.MeterStatus'>({'color': '', 'message': '', 'unknown_fields': {}}), 'model_status': <class 'juju.client._definitions.DetailedStatus'>({'data': {}, 'err': None, 'info': '', 'kind': '', 'life': '', 'since': '2024-12-25T01:32:50.450204322Z', 'status': 'available', 'version': '', 'unknown_fields': {}}), 'name': 'test', 'region': 'localhost', 'sla': 'unsupported', 'type_': 'caas', 'version': '3.4.6', 'unknown_fields': {}}), 'offers': {}, 'relations': [], 'remote_applications': {}, 'storage': [], 'volumes': [], 'unknown_fields': {}}) |
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,54 @@ | ||
[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-279 | ||
[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] blocked: bad relation request - remote app requested extensions, which are unsupported. Please remove this relation. | ||
pgbouncer-k8s/2 [executing] active: | ||
[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: Primary | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [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: Primary | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
pgbouncer-k8s/2 [executing] 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:44:32Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
pgbouncer-k8s 1.21.0 active 3 pgbouncer-k8s 0 10.152.183.181 no | ||
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 472 10.152.183.156 no | ||
postgresql-test-app active 1 postgresql-test-app latest/stable 279 10.152.183.228 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
pgbouncer-k8s/0 active idle 10.1.182.10 | ||
pgbouncer-k8s/1* active idle 10.1.182.9 | ||
pgbouncer-k8s/2 active idle 10.1.182.11 | ||
postgresql-k8s/0* active idle 10.1.182.15 Primary | ||
postgresql-k8s/1 active idle 10.1.182.17 | ||
postgresql-k8s/2 active idle 10.1.182.16 | ||
postgresql-test-app/0* active idle 10.1.182.19 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
unit-pgbouncer-k8s-1: 01:43:09 ERROR unit.pgbouncer-k8s/1.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,23 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s (waiting for exactly 3 units, current : 2) | ||
[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: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
pgbouncer-k8s/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
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: | ||
postgresql-test-app/0 [idle] active: received database credentials of the first database | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [executing] active: | ||
postgresql-k8s/2 [idle] active: Primary | ||
self-signed-certificates/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-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,82 @@ | ||
[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-test-app-305 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-k8s-472 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/pgbouncer-k8s-359 | ||
[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 integration.test_upgrade_from_stable:test_upgrade_from_stable.py:73 Wait for applications to become active | ||
[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 | ||
pgbouncer-k8s/0 [allocating] waiting: installing agent | ||
pgbouncer-k8s/1 [allocating] waiting: installing agent | ||
pgbouncer-k8s/2 [allocating] waiting: installing agent | ||
postgresql-test-app/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [allocating] waiting: agent initialising | ||
postgresql-k8s/1 [allocating] waiting: agent initialising | ||
postgresql-k8s/2 [allocating] waiting: agent initialising | ||
pgbouncer-k8s/0 [executing] maintenance: installing charm software | ||
pgbouncer-k8s/1 [executing] maintenance: installing charm software | ||
pgbouncer-k8s/2 [executing] maintenance: installing charm software | ||
postgresql-test-app/0 [idle] active: | ||
[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 | ||
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 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [executing] unknown: | ||
postgresql-k8s/2 [executing] waiting: awaiting for cluster to start | ||
pgbouncer-k8s/0 [executing] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/1 [executing] waiting: waiting for backend-database relation to connect | ||
pgbouncer-k8s/2 [executing] blocked: waiting for backend database relation to initialise | ||
[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 primary endpoint to be ready | ||
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/1 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/2 [idle] blocked: waiting for backend database relation to initialise | ||
[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 | ||
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/1 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/2 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] active: Primary | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
pgbouncer-k8s/2 [executing] active: | ||
postgresql-test-app/0 [idle] active: | ||
[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 [executing] active: Primary | ||
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: | ||
postgresql-k8s/0 [idle] waiting: awaiting for cluster 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] active: | ||
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] active: | ||
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] active: | ||
postgresql-k8s/1 [idle] waiting: awaiting for member to start | ||
postgresql-k8s/2 [idle] active: Primary |
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:34:36Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
pgbouncer-k8s 1.21.0 waiting 1 pgbouncer-k8s 0 10.152.183.104 no installing agent | ||
|
||
Unit Workload Agent Address Ports Message | ||
pgbouncer-k8s/0* blocked idle 10.1.9.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,92 @@ | ||
[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/focal/redis-k8s-7 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-k8s-472 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-0 | ||
[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 | ||
pgbouncer-k8s/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [allocating] waiting: agent initialising | ||
postgresql-k8s/1 [allocating] waiting: agent initialising | ||
postgresql-k8s/2 [allocating] waiting: agent initialising | ||
pgbouncer-k8s/0 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] unknown: | ||
postgresql-k8s/1 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [executing] unknown: | ||
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] unknown: | ||
postgresql-k8s/1 [executing] waiting: awaiting for primary endpoint to be ready | ||
postgresql-k8s/2 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/2 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/1 [idle] maintenance: reconfiguring cluster | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/1 [idle] maintenance: reconfiguring cluster | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/1 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [executing] 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: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] active: | ||
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise | ||
redis-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:2098 Deploying ch:amd64/focal/discourse-charmers-discourse-k8s-28 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
discourse-charmers-discourse-k8s/0 [allocating] waiting: installing agent | ||
[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 [idle] active: | ||
discourse-charmers-discourse-k8s/0 [executing] blocked: db relation is required | ||
redis-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
discourse-charmers-discourse-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
discourse-charmers-discourse-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
discourse-charmers-discourse-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
discourse-charmers-discourse-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
discourse-charmers-discourse-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
discourse-charmers-discourse-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
discourse-charmers-discourse-k8s/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:42:07Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
discourse-charmers-discourse-k8s .../discourse:v2.6.1 active 1 discourse-charmers-discourse-k8s latest/stable 28 10.152.183.41 no | ||
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.19 no | ||
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 472 10.152.183.28 no | ||
redis-k8s ubuntu/redis@691f315 active 1 redis-k8s latest/stable 7 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
discourse-charmers-discourse-k8s/0* active idle 10.1.94.147 3000/TCP | ||
pgbouncer-k8s/0* active idle 10.1.94.140 | ||
postgresql-k8s/0 active idle 10.1.94.141 | ||
postgresql-k8s/1* active idle 10.1.94.142 Primary | ||
postgresql-k8s/2 active idle 10.1.94.143 | ||
redis-k8s/0* active idle 10.1.94.145 6379/TCP | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:991 Forgetting model main... |
Oops, something went wrong.