-
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
5eacab7
commit a22d638
Showing
205 changed files
with
15,168 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,45 @@ | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:280 breaking the relations | ||
[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] active: Standby Leader | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] blocked: Cluster in read-only mode | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] blocked: Cluster in read-only mode | ||
[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/1 [executing] blocked: Cluster in read-only mode | ||
[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 integration.ha_tests.test_async_replication:test_async_replication.py:301 Get leader unit | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:304 promoting the first cluster | ||
[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 [executing] active: Primary | ||
postgresql/1 [executing] blocked: Cluster in read-only mode | ||
postgresql/2 [executing] blocked: Cluster in read-only mode | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:321 removing the previous data | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:341 starting continuous writes to the database | ||
[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: | ||
postgresql-test-app/0 [idle] active: received database credentials of the first database | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:344 checking whether writes are increasing |
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,128 @@ | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/nextcloud-24 | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
nextcloud/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
nextcloud/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
nextcloud/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
nextcloud/0 [executing] maintenance: installing dependencies... | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
nextcloud/0 [executing] maintenance: installing dependencies... | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
nextcloud/0 [executing] maintenance: fetching nextcloud from network... | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
nextcloud/0 [executing] maintenance: fetching nextcloud from network... | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
nextcloud/0 [idle] blocked: Nextcloud not initialized. | ||
[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: | ||
database/2 [idle] active: Primary | ||
database/3 [idle] active: | ||
nextcloud/0 [executing] blocked: Nextcloud not initialized. | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
nextcloud/0 [executing] maintenance: initializing nextcloud... | ||
[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:08:42Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
another-application active 1 postgresql-test-app edge 130 no received database credentials of the first database | ||
another-data-integrator blocked 1 data-integrator latest/stable 27 no Please relate the data-integrator with the desired product | ||
another-database 14.11 active 2 postgresql 0 no Primary | ||
data-integrator blocked 1 data-integrator latest/stable 27 no Please relate the data-integrator with the desired product | ||
database 14.11 active 2 postgresql 1 no Primary | ||
nextcloud 27.1.9.1 active 1 nextcloud edge 24 no 27.1.9.1 ☁ | ||
postgresql-test-app active 2 postgresql-test-app edge 130 no received database credentials of the second database | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
another-application/0* active idle 6 10.140.215.15 received database credentials of the first database | ||
another-data-integrator/0* blocked idle 10 10.140.215.188 Please relate the data-integrator with the desired product | ||
another-database/0* active idle 3 10.140.215.100 5432/tcp Primary | ||
another-database/1 active idle 4 10.140.215.224 5432/tcp | ||
data-integrator/0* blocked idle 9 10.140.215.237 Please relate the data-integrator with the desired product | ||
database/2 active idle 7 10.140.215.84 5432/tcp Primary | ||
database/3* active idle 8 10.140.215.131 5432/tcp | ||
nextcloud/0* active idle 11 10.140.215.171 80/tcp 27.1.9.1 ☁ | ||
postgresql-test-app/0 active idle 0 10.140.215.25 received database credentials of the second database | ||
postgresql-test-app/1* active idle 1 10.140.215.146 received database credentials of the second database | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.140.215.25 juju-c8a849-0 [email protected] Running | ||
1 started 10.140.215.146 juju-c8a849-1 [email protected] Running | ||
3 started 10.140.215.100 juju-c8a849-3 [email protected] Running | ||
4 started 10.140.215.224 juju-c8a849-4 [email protected] Running | ||
6 started 10.140.215.15 juju-c8a849-6 [email protected] Running | ||
7 started 10.140.215.84 juju-c8a849-7 [email protected] Running | ||
8 started 10.140.215.131 juju-c8a849-8 [email protected] Running | ||
9 started 10.140.215.237 juju-c8a849-9 [email protected] Running | ||
10 started 10.140.215.188 juju-c8a849-10 [email protected] Running | ||
11 started 10.140.215.171 juju-c8a849-11 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:868 Juju error logs: | ||
|
||
machine-1: 01:31:11 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:31:11 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-1: 01:31:11 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-test-app-1: 01:31:11 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-0: 01:31:19 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:31:19 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:31:19 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-postgresql-test-app-0: 01:31:19 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:31:35 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:31:35 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-2: 01:31:35 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-database-0: 01:31:36 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 01:31:36 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-another-database-0: 01:31:37 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-4: 01:31:41 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-4: 01:31:41 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-4: 01:31:41 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-another-database-1: 01:31:42 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-5: 01:40:40 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-5: 01:40:40 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-5: 01:40:40 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-database-1: 01:40:40 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-6: 01:45:09 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-6: 01:45:09 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-6: 01:45:09 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-another-application-0: 01:45:09 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-7: 01:48:40 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-7: 01:48:40 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-7: 01:48:40 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-database-2: 01:48:40 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-8: 01:48:45 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-8: 01:48:45 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-8: 01:48:45 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-database-3: 01:48:45 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-9: 01:59:34 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-9: 01:59:34 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-9: 01:59:34 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-data-integrator-0: 01:59:35 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-10: 02:02:06 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-10: 02:02:06 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-10: 02:02:06 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-another-data-integrator-0: 02:02:06 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-database-3: 02:02:46 ERROR unit.database/3.juju-log database:20: Invalid extra user roles: test | ||
unit-database-3: 02:02:46 ERROR unit.database/3.juju-log database:20: invalid role(s) for extra user roles | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-database-3/charm/src/relations/postgresql_provider.py", line 93, in _on_database_requested | ||
self.charm.postgresql.create_user(user, password, extra_user_roles=extra_user_roles) | ||
File "/var/lib/juju/agents/unit-database-3/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 222, in create_user | ||
raise PostgreSQLCreateUserError(INVALID_EXTRA_USER_ROLE_BLOCKING_MESSAGE) | ||
charms.postgresql_k8s.v0.postgresql.PostgreSQLCreateUserError: invalid role(s) for extra user roles | ||
unit-database-3: 02:02:49 ERROR unit.database/3.juju-log database:19: Invalid extra user roles: test | ||
unit-database-3: 02:02:49 ERROR unit.database/3.juju-log database:19: invalid role(s) for extra user roles | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-database-3/charm/src/relations/postgresql_provider.py", line 93, in _on_database_requested | ||
self.charm.postgresql.create_user(user, password, extra_user_roles=extra_user_roles) | ||
File "/var/lib/juju/agents/unit-database-3/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 222, in create_user | ||
raise PostgreSQLCreateUserError(INVALID_EXTRA_USER_ROLE_BLOCKING_MESSAGE) | ||
charms.postgresql_k8s.v0.postgresql.PostgreSQLCreateUserError: invalid role(s) for extra user roles | ||
machine-11: 02:05:09 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-11: 02:05:09 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-11: 02:05:09 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-nextcloud-0: 02:05:09 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,4 @@ | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:196 checking that the former primary is now a replica | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:202 checking that all units are part of the same cluster | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:216 checking that no writes to the database were missed after stopping the writes | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:220 checking that the former primary is up to date with the cluster after restarting |
Oops, something went wrong.