-
Notifications
You must be signed in to change notification settings - Fork 20
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
4424699
commit f47124e
Showing
373 changed files
with
6,284 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,66 @@ | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/postgresql-k8s-1 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
second-postgresql-k8s/0 [allocating] waiting: installing agent | ||
second-postgresql-k8s/1 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
second-postgresql-k8s/0 [executing] waiting: awaiting for cluster to start | ||
second-postgresql-k8s/1 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
second-postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready | ||
second-postgresql-k8s/1 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
second-postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready | ||
second-postgresql-k8s/1 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
second-postgresql-k8s/0 [idle] waiting: awaiting for primary endpoint to be ready | ||
second-postgresql-k8s/1 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
second-postgresql-k8s/0 [idle] active: Primary | ||
second-postgresql-k8s/1 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
second-postgresql-k8s/0 [idle] maintenance: reconfiguring cluster | ||
second-postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
second-postgresql-k8s/0 [idle] active: Primary | ||
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
second-postgresql-k8s/0 [idle] active: Primary | ||
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
second-postgresql-k8s/0 [idle] active: Primary | ||
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
second-postgresql-k8s/0 [idle] active: Primary | ||
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
second-postgresql-k8s/0 [idle] active: Primary | ||
second-postgresql-k8s/1 [idle] active: | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.157:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:248 Initial writes {'test.postgresql-k8s-1': 188} | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.157:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:254 Retry writes {'test.postgresql-k8s-1': 332} | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.157: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.157: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:48:12Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
postgresql-k8s 14.13 active 3 postgresql-k8s 0 10.152.183.130 no | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 263 10.152.183.93 no received database credentials of the first database | ||
second-postgresql-k8s 14.13 active 2 postgresql-k8s 1 10.152.183.235 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
postgresql-k8s/0 active idle 10.1.36.203 Primary | ||
postgresql-k8s/1 active idle 10.1.36.205 | ||
postgresql-k8s/2* active idle 10.1.36.207 | ||
postgresql-test-app/0* active idle 10.1.36.206 received database credentials of the first database | ||
second-postgresql-k8s/0* active idle 10.1.36.210 Primary | ||
second-postgresql-k8s/1 active idle 10.1.36.211 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
unit-postgresql-k8s-2: 01:40:18 ERROR unit.postgresql-k8s/2.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first. | ||
|
||
[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,6 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
database (waiting for exactly 1 units, current : 3) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
database (waiting for exactly 1 units, current : 3) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
database/0 [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,19 @@ | ||
[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-test-app/0 [idle] active: received database credentials of the first database | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
database/0 [idle] active: Primary | ||
database/1 [executing] active: | ||
database/2 [executing] active: | ||
another-database/0 [idle] active: Primary | ||
another-database/1 [idle] active: | ||
another-database/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/0 [idle] active: received database credentials of the first database | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
database/0 [executing] active: Primary | ||
database/1 [executing] active: | ||
database/2 [executing] active: | ||
another-database/0 [idle] active: Primary | ||
another-database/1 [idle] active: | ||
another-database/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,107 @@ | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:162 starting continuous writes to the database | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:166 checking whether writes are increasing | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160: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.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:248 Initial writes {'test.postgresql-k8s-1': 184, 'test.postgresql-k8s-2': 185} | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160: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.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:254 Retry writes {'test.postgresql-k8s-1': 320, 'test.postgresql-k8s-2': 322} | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:169 Get leader unit | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:175 Run pre-upgrade-check action | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:175 Run pre-upgrade-check action | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:191 Inject dependency fault | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:196 Refresh the charm | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:199 Get first upgrading unit | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:203 Wait for upgrade to fail on first upgrading unit | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:210 Ensure continuous_writes while in failure state on remaining units | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160: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.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:248 Initial writes {'test.postgresql-k8s-0': 7331, 'test.postgresql-k8s-1': 7332} | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160: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.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:254 Retry writes {'test.postgresql-k8s-0': 8373, 'test.postgresql-k8s-1': 8375} | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:213 Re-run pre-upgrade-check action | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:217 Re-refresh the charm | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] blocked: ready to rollback application | ||
postgresql-k8s/1 [executing] waiting: other units upgrading first... | ||
postgresql-k8s/2 [executing] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] blocked: ready to rollback application | ||
postgresql-k8s/1 [idle] waiting: other units upgrading first... | ||
postgresql-k8s/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:229 checking whether writes are increasing | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160: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.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:248 Initial writes {'test.postgresql-k8s-0': 18720, 'test.postgresql-k8s-1': 18721} | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160: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.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:254 Retry writes {'test.postgresql-k8s-0': 18863, 'test.postgresql-k8s-1': 18865} | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:232 Resume upgrade | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:236 Wait for application to recover | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] blocked: ready to rollback application | ||
postgresql-k8s/1 [executing] maintenance: stopping charm software | ||
postgresql-k8s/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] blocked: ready to rollback application | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] blocked: ready to rollback application | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] blocked: ready to rollback application | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] maintenance: | ||
postgresql-k8s/1 [idle] maintenance: upgrade completed | ||
postgresql-k8s/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [idle] maintenance: upgrade completed | ||
postgresql-k8s/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] maintenance: upgrade completed | ||
postgresql-k8s/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
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: | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:242 Ensure continuous_writes after rollback procedure | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160: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.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:248 Initial writes {'test.postgresql-k8s-1': 36154, 'test.postgresql-k8s-2': 36156} | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160: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.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:254 Retry writes {'test.postgresql-k8s-1': 36295, 'test.postgresql-k8s-2': 36296} | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:247 Checking whether no writes were lost | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160: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.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "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:56:34Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
postgresql-k8s 14.13 active 3 postgresql-k8s 2 10.152.183.246 no | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 263 10.152.183.201 no received database credentials of the first database | ||
|
||
Unit Workload Agent Address Ports Message | ||
postgresql-k8s/0* active idle 10.1.230.213 | ||
postgresql-k8s/1 active idle 10.1.230.212 | ||
postgresql-k8s/2 active idle 10.1.230.211 Primary | ||
postgresql-test-app/0* active idle 10.1.230.200 received database credentials of the first database | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
unit-postgresql-k8s-1: 01:36:19 ERROR unit.postgresql-k8s/1.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata | ||
unit-postgresql-k8s-0: 01:47:23 ERROR unit.postgresql-k8s/0.juju-log charms.data_platform_libs.v0.upgrade.ClusterNotReadyError - {'message': 'postgresql-k8s/0 needs to be a synchronous standby in order to become the primary before the upgrade process can start - wait 30 seconds for postgresql-k8s/0 to become a synchronous standby and run this action again', 'cause': 'postgresql-k8s/0 needs to be a synchronous standby in order to become the primary before the upgrade process can start', 'resolution': 'wait 30 seconds for postgresql-k8s/0 to become a synchronous standby and run this action again'} | ||
unit-postgresql-k8s-2: 01:49:09 ERROR unit.postgresql-k8s/2.juju-log charms.data_platform_libs.v0.upgrade.VersionError - {'message': 'Versions incompatible, charm 2 can not be upgraded to 15.0', 'cause': 'Upgrades only supported for specific versions, charm versions satisfying requirement ^15', 'resolution': ''} | ||
|
||
[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,14 @@ | ||
[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-263 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/postgresql-k8s-0 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [allocating] waiting: installing agent | ||
postgresql-test-app/0 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for primary endpoint to be ready |
Oops, something went wrong.