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
1a18af6
commit 0a41f5d
Showing
203 changed files
with
3,338 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,110 @@ | ||
[32mINFO [0m integration.test_upgrade_from_stable:test_upgrade_from_stable.py:110 starting continuous writes to the database | ||
[32mINFO [0m integration.test_upgrade_from_stable:test_upgrade_from_stable.py:114 checking whether writes are increasing | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11: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.11: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.11: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.11: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.11: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.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.test_upgrade_from_stable:test_upgrade_from_stable.py:120 Refresh the charm | ||
[32mINFO [0m integration.test_upgrade_from_stable:test_upgrade_from_stable.py:123 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 [executing] waiting: other units upgrading first... | ||
pgbouncer-k8s/1 [executing] 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] 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_from_stable:test_upgrade_from_stable.py:131 Resume upgrade | ||
[32mINFO [0m integration.test_upgrade_from_stable:test_upgrade_from_stable.py:136 Wait for upgrade to complete | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [executing] maintenance: | ||
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 [executing] 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 [executing] active: | ||
pgbouncer-k8s/2 [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: | ||
[32mINFO [0m integration.test_upgrade_from_stable:test_upgrade_from_stable.py:143 checking whether writes are increasing | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11: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.11: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.11: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.11: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.11: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.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.test_upgrade_from_stable:test_upgrade_from_stable.py:148 checking whether no writes were lost | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11: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.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[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:54:22Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
pgbouncer-k8s 1.21.0 active 3 pgbouncer-k8s 0 10.152.183.142 no | ||
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 431 10.152.183.69 no | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 275 10.152.183.65 no received database credentials of the first database | ||
|
||
Unit Workload Agent Address Ports Message | ||
pgbouncer-k8s/0* active idle 10.1.70.20 | ||
pgbouncer-k8s/1 active idle 10.1.70.19 | ||
pgbouncer-k8s/2 active idle 10.1.70.18 | ||
postgresql-k8s/0* active idle 10.1.70.15 Primary | ||
postgresql-k8s/1 active idle 10.1.70.17 | ||
postgresql-k8s/2 active idle 10.1.70.16 | ||
postgresql-test-app/0* active idle 10.1.70.8 received database credentials of the first database | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
unit-postgresql-k8s-2: 01:47:07 ERROR unit.postgresql-k8s/2.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:47:07 ERROR unit.postgresql-k8s/2.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:47:13 ERROR unit.postgresql-k8s/1.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:47:13 ERROR unit.postgresql-k8s/1.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:48:34 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:48:34 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:48:47 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:48:47 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:48:59 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:48:59 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:12 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:12 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:26 ERROR unit.postgresql-k8s/1.juju-log database-peers:3: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-1: 01:49:26 ERROR unit.postgresql-k8s/1.juju-log database-peers:3: This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-postgresql-k8s-2: 01:49: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:49: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:49:41 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:49:41 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:49:54 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:49:54 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:50:06 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:50:06 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit | ||
unit-pgbouncer-k8s-2: 01:51:01 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-2: 01:51:04 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-2: 01:51:05 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-2: 01:51:07 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:52:27 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:52:30 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:52:31 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:52:33 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:53:08 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:53:11 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:53:12 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,23 @@ | ||
[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:49:37Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.215 no | ||
postgresql-k8s 14.13 active 1 postgresql-k8s 14/edge 431 10.152.183.204 no | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 275 10.152.183.76 no received database credentials of the first database | ||
|
||
Unit Workload Agent Address Ports Message | ||
pgbouncer-k8s/0* active idle 10.1.64.137 | ||
postgresql-k8s/0* active idle 10.1.64.139 Primary | ||
postgresql-test-app/0* active idle 10.1.64.136 received database credentials of the first database | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
controller-0: 01:45:29 ERROR juju.worker.caasapplicationprovisioner.runner exited "postgresql-k8s": more than 20 retries ensuring scale: setting scale to 1 for "postgresql-k8s": statefulset "postgresql-k8s" not found | ||
controller-0: 01:46:29 ERROR juju.worker.caasapplicationprovisioner.runner exited "postgresql-k8s": more than 20 retries ensuring scale: setting scale to 1 for "postgresql-k8s": statefulset "postgresql-k8s" not found | ||
|
||
[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,75 @@ | ||
[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-431 | ||
[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 primary endpoint to be ready | ||
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] 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 [idle] 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 [executing] active: Primary | ||
pgbouncer-k8s/0 [executing] maintenance: Initialising backend-database relation | ||
[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:47:40Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.156 no | ||
postgresql-k8s 14.13 active 1 postgresql-k8s 14/edge 431 10.152.183.21 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
pgbouncer-k8s/0* active idle 10.1.70.8 | ||
postgresql-k8s/0* active idle 10.1.70.10 Primary | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
unit-pgbouncer-k8s-0: 01:47:33 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:47:36 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:47:38 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... |
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,2 @@ | ||
[32mINFO [0m integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:75 Get leader unit | ||
[32mINFO [0m integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:79 Run pre-upgrade-check action |
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,30 @@ | ||
[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: | ||
postgresql-k8s/1 [idle] active: Primary | ||
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: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
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: | ||
postgresql-k8s/1 [idle] active: Primary | ||
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} |
Oops, something went wrong.