-
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
f793b45
commit dc50efc
Showing
257 changed files
with
5,345 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,124 @@ | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/postgresql-1 | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [allocating] waiting: waiting for machine | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [allocating] waiting: waiting for machine | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [allocating] waiting: waiting for machine | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [allocating] waiting: waiting for machine | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] maintenance: installing PostgreSQL | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [idle] active: | ||
second-postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] active: Primary | ||
second-postgresql/1 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] maintenance: reconfiguring cluster | ||
second-postgresql/1 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] maintenance: reconfiguring cluster | ||
second-postgresql/1 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [idle] active: Primary | ||
second-postgresql/1 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] maintenance: reconfiguring cluster | ||
second-postgresql/1 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [executing] active: | ||
second-postgresql/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
second-postgresql/0 [idle] active: | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:862 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.1.8 unsupported 02:26:02Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
postgresql 14.11 active 2 postgresql 0 no Primary | ||
postgresql-test-app active 1 postgresql-test-app edge 148 no received database credentials of the first database | ||
second-postgresql 14.11 active 2 postgresql 1 no Primary | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
postgresql-test-app/0* active idle 3 10.231.130.44 received database credentials of the first database | ||
postgresql/0 active idle 0 10.231.130.121 5432/tcp Primary | ||
postgresql/1* active idle 1 10.231.130.92 5432/tcp | ||
second-postgresql/0* active idle 4 10.231.130.37 5432/tcp Primary | ||
second-postgresql/1 active idle 5 10.231.130.101 5432/tcp | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.231.130.121 juju-1d5e5e-0 [email protected] Running | ||
1 started 10.231.130.92 juju-1d5e5e-1 [email protected] Running | ||
3 started 10.231.130.44 juju-1d5e5e-3 [email protected] Running | ||
4 started 10.231.130.37 juju-1d5e5e-4 [email protected] Running | ||
5 started 10.231.130.101 juju-1d5e5e-5 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:868 Juju error logs: | ||
|
||
machine-2: 01:59:49 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-2: 01:59:49 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:59:49 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-2: 01:59:49 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-0: 01:59:49 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:59:49 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-0: 01:59:49 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-0: 01:59:50 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 01:59:54 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:59:54 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:59:54 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-postgresql-1: 01:59:54 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 01:59:57 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-3: 01:59:57 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:59:57 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-test-app-0: 01:59:57 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-4: 02:15:46 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-4: 02:15:46 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-4: 02:15:46 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-second-postgresql-0: 02:15:46 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-5: 02:22:24 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-5: 02:22:24 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-5: 02:22:24 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-second-postgresql-1: 02:22:24 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
|
||
[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,75 @@ | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:361 starting continuous writes to the database | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:364 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:367 reestablishing the relation | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:379 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:383 Get leader unit | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:386 promoting the first cluster | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] maintenance: Promoting cluster... | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: Waiting for the database to be stopped in all units | ||
postgresql/1 [idle] waiting: Waiting for the database to be stopped in all units | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] waiting: Waiting for the database to be stopped in all units | ||
postgresql/1 [executing] waiting: Waiting for the standby leader start the database | ||
postgresql/2 [executing] waiting: Waiting for the standby leader start the database | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] waiting: Waiting for the database to be stopped in all units | ||
postgresql/1 [executing] waiting: Waiting for the standby leader start the database | ||
postgresql/2 [executing] waiting: Waiting for the standby leader start the database | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: Still starting the database in the standby leader | ||
postgresql/1 [executing] waiting: Waiting for the database to start | ||
postgresql/2 [idle] waiting: Waiting for the database to start | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] waiting: Waiting for the database to be started in all units | ||
postgresql/1 [executing] active: | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] waiting: Waiting for the database to be started in all units | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] active: Standby Leader | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] active: Standby Leader | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] active: Standby Leader | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] active: Standby Leader | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:403 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:408 checking whether no writes were lost |
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,47 @@ | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:84 Destroying second model | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:862 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.1.8 unsupported 02:43:45Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
postgresql 14.11 active 2 postgresql 0 no Primary | ||
postgresql-test-app active 1 postgresql-test-app latest/stable 144 no received database credentials of the first database | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
postgresql-test-app/0* active executing 3 10.121.202.88 received database credentials of the first database | ||
postgresql/0* active idle 0 10.121.202.35 5432/tcp Primary | ||
postgresql/2 active idle 2 10.121.202.104 5432/tcp | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.121.202.35 juju-e05f93-0 [email protected] Running | ||
2 started 10.121.202.104 juju-e05f93-2 [email protected] Running | ||
3 started 10.121.202.88 juju-e05f93-3 [email protected] Running | ||
|
||
Offer Application Charm Rev Connected Endpoint Interface Role | ||
async-primary postgresql postgresql 0 1/1 async-primary async_replication provider | ||
async-replica postgresql postgresql 0 0/0 async-replica async_replication requirer | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:868 Juju error logs: | ||
|
||
machine-0: 01:56:20 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:56:20 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:56:20 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-postgresql-0: 01:56:21 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:56:22 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-2: 01:56:22 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:56:22 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-2: 01:56:22 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 01:56:23 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:56:23 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:56:23 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-1: 01:56:23 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:56:23 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-1: 01:56:23 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-test-app-0: 01:56:23 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-1: 01:56:24 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-test-app-0: 02:30:08 ERROR juju.worker.dependency "uniter" manifold worker returned unexpected error: relation scope id "92ee35b4-95b2-4f99-84ee-c230a6e05f93:r#4#postgresql": settings 92ee35b4-95b2-4f99-84ee-c230a6e05f93:r#4#postgresql not found (not found) | ||
unit-postgresql-0: 02:30:09 ERROR juju.worker.dependency "uniter" manifold worker returned unexpected error: relation scope id "92ee35b4-95b2-4f99-84ee-c230a6e05f93:r#4#postgresql-test-app": settings 92ee35b4-95b2-4f99-84ee-c230a6e05f93:r#4#postgresql-test-app not found (not found) | ||
unit-postgresql-2: 02:30:09 ERROR juju.worker.dependency "uniter" manifold worker returned unexpected error: relation scope id "92ee35b4-95b2-4f99-84ee-c230a6e05f93:r#4#postgresql-test-app": settings 92ee35b4-95b2-4f99-84ee-c230a6e05f93:r#4#postgresql-test-app not found (not found) | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:947 Forgetting model main... |
Oops, something went wrong.