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
f2c2b72
commit 46da37d
Showing
133 changed files
with
2,701 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,9 @@ | ||
[33mWARNING [0m juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [idle] active: received database credentials of the first database | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
[32mINFO [0m httpx:_client.py:1773 HTTP Request: GET https://10.1.0.233:16443/api/v1/namespaces/test/pods/pgbouncer-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1773 HTTP Request: GET https://10.1.0.233:16443/api/v1/namespaces/test/pods/pgbouncer-k8s-0 "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,4 @@ | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:90 Get leader unit | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:96 Run pre-upgrade-check action | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:100 Assert partition is set to 2 | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.114:16443/apis/apps/v1/namespaces/test/statefulsets/pgbouncer-k8s "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,17 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:734 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2097 Deploying local:jammy/pgbouncer-k8s-0 | ||
[32mINFO [0m juju.model:model.py:2971 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:2971 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 | ||
[32mINFO [0m juju.model:model.py:2971 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 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/1 [idle] 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,112 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:734 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/focal/redis-k8s-7 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-k8s-272 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying local:jammy/pgbouncer-k8s-0 | ||
[32mINFO [0m juju.model:model.py:2971 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:2971 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 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [executing] unknown: | ||
postgresql-k8s/1 [executing] unknown: | ||
postgresql-k8s/2 [executing] unknown: | ||
pgbouncer-k8s/0 [executing] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
[33mWARNING [0m juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [idle] active: Primary | ||
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise | ||
redis-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [executing] active: Primary | ||
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] active: Primary | ||
pgbouncer-k8s/0 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] maintenance: reconfiguring cluster | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] maintenance: reconfiguring cluster | ||
[32mINFO [0m juju.model:model.py:2971 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:2971 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:2971 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:2971 Waiting for model: | ||
postgresql-k8s/1 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/focal/discourse-charmers-discourse-k8s-28 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
discourse-charmers-discourse-k8s/0 [allocating] waiting: installing agent | ||
[33mWARNING [0m juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: Primary | ||
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:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
pgbouncer-k8s/0 [idle] active: | ||
discourse-charmers-discourse-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
discourse-charmers-discourse-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
discourse-charmers-discourse-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
discourse-charmers-discourse-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
discourse-charmers-discourse-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
discourse-charmers-discourse-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
discourse-charmers-discourse-k8s/0 [idle] active: | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:862 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test microk8s-localhost microk8s/localhost 3.1.8 unsupported 01:51:10Z | ||
|
||
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.129 no | ||
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.27 no | ||
postgresql-k8s 14.11 active 3 postgresql-k8s 14/edge 272 10.152.183.74 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.145.211 3000/TCP | ||
pgbouncer-k8s/0* active idle 10.1.145.201 | ||
postgresql-k8s/0 active idle 10.1.145.206 | ||
postgresql-k8s/1 active idle 10.1.145.208 | ||
postgresql-k8s/2* active idle 10.1.145.207 Primary | ||
redis-k8s/0* active idle 10.1.145.209 6379/TCP | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:868 Juju error logs: | ||
|
||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:947 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,91 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:734 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-144 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/pgbouncer-k8s-144 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-k8s-272 | ||
[33mWARNING [0m juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1563 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:2971 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:2971 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:2971 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] waiting: waiting for backend-database relation to connect | ||
pgbouncer-k8s/1 [executing] waiting: PgBouncer container currently unavailable | ||
pgbouncer-k8s/2 [executing] waiting: PgBouncer container currently unavailable | ||
postgresql-test-app/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 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] waiting: waiting for backend-database relation to connect | ||
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:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [executing] waiting: awaiting for primary endpoint to be ready | ||
postgresql-k8s/2 [idle] unknown: | ||
pgbouncer-k8s/0 [executing] waiting: waiting for backend-database relation to connect | ||
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:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [idle] waiting: awaiting for primary endpoint to be ready | ||
postgresql-k8s/2 [idle] unknown: | ||
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:2971 Waiting for model: | ||
postgresql-k8s/0 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] unknown: | ||
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:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
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:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for member to start | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
pgbouncer-k8s/0 [executing] waiting: waiting for backend-database relation to connect | ||
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:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] maintenance: reconfiguring cluster | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
pgbouncer-k8s/0 [executing] maintenance: Initialising backend-database relation | ||
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:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [executing] active: Primary | ||
postgresql-k8s/2 [idle] waiting: awaiting for member to start | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/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,4 @@ | ||
[32mINFO [0m root:helpers.py:120 running query: | ||
SELECT version(); | ||
[32mINFO [0m root:helpers.py:121 {'dbname': 'postgresql_test_app_first_database', 'query': 'SELECT version();', 'relation-id': 7, 'relation-name': 'first-database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:124 query results: {'results': '[["PostgreSQL 14.11 (Ubuntu 14.11-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.