forked from canonical/postgresql-k8s-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
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
f409c75
commit beb5c13
Showing
307 changed files
with
4,370 additions
and
2 deletions.
There are no files selected for viewing
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 httpx:_client.py:1773 HTTP Request: DELETE https://10.1.0.6:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.test_charm:test_charm.py:219 deleted pod postgresql-k8s/0 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
[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: | ||
postgresql-k8s/2 [idle] active: | ||
[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: | ||
postgresql-k8s/2 [idle] active: | ||
[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: | ||
postgresql-k8s/2 [idle] active: | ||
[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: | ||
postgresql-k8s/2 [idle] active: | ||
[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: | ||
postgresql-k8s/2 [idle] active: | ||
[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: | ||
postgresql-k8s/2 [idle] active: | ||
[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: | ||
postgresql-k8s/2 [idle] active: | ||
[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] active: | ||
[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] active: | ||
[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] 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,21 @@ | ||
[32mINFO [0m integration.test_backups:test_backups.py:80 deleting the previously created backups | ||
[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 02:10:08Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
postgresql-k8s-gcp 14.11 active 2 postgresql-k8s 1 10.152.183.108 no | ||
s3-integrator waiting 1 s3-integrator latest/stable 17 10.152.183.96 no installing agent | ||
self-signed-certificates active 1 self-signed-certificates latest/stable 72 10.152.183.200 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
postgresql-k8s-gcp/0* active idle 10.1.122.209 Primary | ||
postgresql-k8s-gcp/1 active idle 10.1.122.210 | ||
s3-integrator/0* blocked idle 10.1.122.200 Missing parameters: ['access-key', 'secret-key'] | ||
self-signed-certificates/0* active idle 10.1.122.201 | ||
|
||
[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,66 @@ | ||
[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/postgresql-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 | ||
[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 | ||
[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: | ||
[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: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] unknown: | ||
[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 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [executing] active: Primary | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
[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 | ||
[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] waiting: awaiting for member to start | ||
[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: | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/focal/finos-waltz-k8s-33 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
finos-waltz/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
finos-waltz/0 [idle] blocked: Waiting for database configuration. | ||
[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: | ||
finos-waltz/0 [idle] blocked: Waiting for database configuration. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
finos-waltz/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/focal/finos-waltz-k8s-33 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
another-finos-waltz/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: | ||
another-finos-waltz/0 [idle] blocked: Waiting for database configuration. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-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,31 @@ | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:355 checking whether the connectivity to the database is working | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:361 confirming that the primary is not isolated from the cluster | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:365 Cutting network for postgresql-k8s/2 | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:369 checking whether the connectivity to the database is not working | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:374 checking whether writes are increasing | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:377 checking whether a new primary was elected | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:386 confirming that the former primary is isolated from the cluster | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:390 Restoring network for postgresql-k8s/2 | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:394 waiting for the database service to restart on postgresql-k8s/2 | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:398 checking whether the connectivity to the database is working | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.203:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
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,49 @@ | ||
[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/postgresql-k8s-0 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-152 | ||
[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 | ||
postgresql-test-app/0 [allocating] waiting: installing agent | ||
[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 | ||
postgresql-test-app/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [executing] unknown: | ||
postgresql-k8s/2 [executing] unknown: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for primary endpoint to be ready | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [executing] unknown: | ||
postgresql-k8s/2 [executing] unknown: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] maintenance: reconfiguring cluster | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [executing] maintenance: reconfiguring cluster | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] waiting: awaiting for member to start | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
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,5 @@ | ||
[32mINFO [0m integration.test_trust:test_trust.py:75 Connection attempt failed: (0) | ||
Reason: Handshake status 500 Internal Server Error -+-+- {'audit-id': '09f98376-0664-4f0b-9b77-c450c9ea9126', '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, 19 Jun 2024 01:30:36 GMT', 'content-length': '169'} -+-+- b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"error dialing backend: dial tcp 10.1.0.78:10250: connect: connection refused","code":500}\n' | ||
|
||
[32mINFO [0m integration.test_trust:test_trust.py:77 Retrying (1/20)... | ||
[32mINFO [0m integration.test_trust:test_trust.py:72 Connection established: <class 'juju.client._definitions.FullStatus'>({'applications': {}, 'branches': {}, 'controller_timestamp': '2024-06-19T01:30:40.094267653Z', '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-06-19T01:30:06.645985254Z', 'status': 'available', 'version': '', 'unknown_fields': {}}), 'name': 'test', 'region': 'localhost', 'sla': 'unsupported', 'type_': 'caas', 'version': '3.1.8', '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 @@ | ||
[32mINFO [0m integration.test_charm:test_charm.py:105 connecting to the database host: 10.1.183.204 |
Oops, something went wrong.