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
8df61cf
commit ecbaae5
Showing
203 changed files
with
3,423 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,104 @@ | ||
[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:2098 Deploying ch:amd64/jammy/data-integrator-74 | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[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 juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-k8s-450 | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[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 juju.model:model.py:2098 Deploying ch:amd64/jammy/self-signed-certificates-155 | ||
[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 juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [allocating] waiting: agent initialising | ||
data-integrator/0 [allocating] waiting: installing agent | ||
postgresql-test-app/0 [allocating] waiting: installing agent | ||
postgresql-k8s/0 [allocating] waiting: installing agent | ||
postgresql-k8s/1 [allocating] waiting: installing agent | ||
postgresql-k8s/2 [allocating] waiting: installing agent | ||
postgresql-test-app2/0 [allocating] waiting: installing agent | ||
self-signed-certificates/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] waiting: waiting for backend-database relation to connect | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql-test-app/0 [executing] active: | ||
postgresql-k8s/0 [allocating] waiting: installing agent | ||
postgresql-k8s/1 [allocating] waiting: installing agent | ||
postgresql-k8s/2 [allocating] waiting: installing agent | ||
postgresql-test-app2/0 [allocating] waiting: installing agent | ||
self-signed-certificates/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] waiting: waiting for backend-database relation to connect | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql-test-app/0 [idle] active: | ||
postgresql-k8s/0 [executing] maintenance: installing charm software | ||
postgresql-k8s/1 [executing] maintenance: installing charm software | ||
postgresql-k8s/2 [executing] maintenance: installing charm software | ||
postgresql-test-app2/0 [idle] active: | ||
self-signed-certificates/0 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] waiting: waiting for backend-database relation to connect | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql-k8s/0 [executing] unknown: | ||
postgresql-k8s/1 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [executing] unknown: | ||
postgresql-test-app2/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] waiting: waiting for backend-database relation to connect | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql-k8s/0 [executing] unknown: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] unknown: | ||
self-signed-certificates/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] waiting: waiting for backend-database relation to connect | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql-k8s/0 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [executing] active: Primary | ||
postgresql-k8s/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] waiting: waiting for backend-database relation to connect | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql-k8s/0 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [idle] maintenance: reconfiguring cluster | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
self-signed-certificates/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] waiting: waiting for backend-database relation to connect | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [idle] maintenance: reconfiguring cluster | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] waiting: waiting for backend-database relation to connect | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql-k8s/0 [executing] waiting: Awaiting restart operation | ||
postgresql-k8s/1 [executing] active: | ||
postgresql-k8s/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] waiting: waiting for backend-database relation to connect | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql-k8s/0 [idle] waiting: Awaiting restart operation | ||
postgresql-k8s/1 [executing] active: Primary | ||
postgresql-k8s/2 [executing] waiting: Awaiting restart operation | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] waiting: waiting for backend-database relation to connect | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql-k8s/0 [idle] waiting: Awaiting restart operation | ||
postgresql-k8s/1 [executing] active: Primary | ||
postgresql-k8s/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
postgresql-k8s/0 [idle] waiting: Awaiting restart operation | ||
postgresql-k8s/1 [executing] active: Primary | ||
postgresql-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: Awaiting restart operation | ||
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 [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,21 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] blocked: Insufficient permissions, try: `juju trust pgbouncer-k8s --scope=cluster` | ||
[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:47:56Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.205 no | ||
postgresql-k8s 14.13 active 1 postgresql-k8s 14/edge 450 10.152.183.98 no | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 279 10.152.183.204 no received database credentials of the first database | ||
|
||
Unit Workload Agent Address Ports Message | ||
pgbouncer-k8s/0* active idle 10.1.1.137 | ||
postgresql-k8s/0* active idle 10.1.1.139 Primary | ||
postgresql-test-app/0* active idle 10.1.1.136 received database credentials of the first database | ||
|
||
[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,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:14Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
pgbouncer-k8s 1.21.0 waiting 1 pgbouncer-k8s 0 10.152.183.199 no installing agent | ||
|
||
Unit Workload Agent Address Ports Message | ||
pgbouncer-k8s/0* blocked idle 10.1.209.200 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,74 @@ | ||
[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-450 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-0 | ||
[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 [allocating] waiting: installing agent | ||
pgbouncer-k8s/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] maintenance: installing charm software | ||
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] waiting: awaiting for cluster to start | ||
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 [idle] waiting: awaiting for cluster to start | ||
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] active: Primary | ||
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 [idle] active: Primary | ||
[32mINFO [0m integration.test_config:test_config.py:58 listen_port | ||
[32mINFO [0m integration.test_config:test_config.py:58 pool_mode | ||
[32mINFO [0m integration.test_config:test_config.py:58 max_db_connections | ||
[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:46:19Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.51 no | ||
postgresql-k8s 14.13 active 1 postgresql-k8s 14/edge 450 10.152.183.88 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
pgbouncer-k8s/0* active idle 10.1.151.72 | ||
postgresql-k8s/0* active idle 10.1.151.74 Primary | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
unit-pgbouncer-k8s-0: 01:46:12 ERROR unit.pgbouncer-k8s/0.juju-log Invalid configuration | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/./src/charm.py", line 554, in configuration_check | ||
_ = self.config | ||
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/lib/charms/data_platform_libs/v0/data_models.py", line 200, in config | ||
return self.config_type(**translated_keys) | ||
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/venv/pydantic/main.py", line 341, in __init__ | ||
raise validation_error | ||
pydantic.error_wrappers.ValidationError: 1 validation error for CharmConfig | ||
listen_port | ||
ensure this value is greater than 0 (type=value_error.number.not_gt; limit_value=0) | ||
unit-pgbouncer-k8s-0: 01:46:14 ERROR unit.pgbouncer-k8s/0.juju-log Invalid configuration | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/./src/charm.py", line 554, in configuration_check | ||
_ = self.config | ||
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/lib/charms/data_platform_libs/v0/data_models.py", line 200, in config | ||
return self.config_type(**translated_keys) | ||
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/venv/pydantic/main.py", line 341, in __init__ | ||
raise validation_error | ||
pydantic.error_wrappers.ValidationError: 1 validation error for CharmConfig | ||
pool_mode | ||
unexpected value; permitted: 'session', 'transaction', 'statement' (type=value_error.const; given=abcXYZ123; permitted=('session', 'transaction', 'statement')) | ||
unit-pgbouncer-k8s-0: 01:46:17 ERROR unit.pgbouncer-k8s/0.juju-log Invalid configuration | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/./src/charm.py", line 554, in configuration_check | ||
_ = self.config | ||
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/lib/charms/data_platform_libs/v0/data_models.py", line 200, in config | ||
return self.config_type(**translated_keys) | ||
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/venv/pydantic/main.py", line 341, in __init__ | ||
raise validation_error | ||
pydantic.error_wrappers.ValidationError: 1 validation error for CharmConfig | ||
max_db_connections | ||
ensure this value is greater than or equal to 0 (type=value_error.number.not_ge; limit_value=0) | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:991 Forgetting model main... |
Oops, something went wrong.