-
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
cbb8c06
commit de4c3dd
Showing
170 changed files
with
5,791 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,2 @@ | ||
[32mINFO [0m integration.test_charm:test_charm.py:94 connecting to the database host: 10.132.149.237 | ||
[33mWARNING [0m integration.test_charm:test_charm.py:163 Asserting port ranges |
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,11 @@ | ||
[32mINFO [0m juju.model:model.py:2087 Deploying ch:amd64/focal/weebl-24 | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
weebl/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
weebl/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
weebl/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
weebl/0 [allocating] waiting: agent initialising | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
weebl/0 [executing] maintenance: Installing weebl from snapstore |
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,27 @@ | ||
[32mINFO [0m juju.model:model.py:2087 Deploying ch:amd64/jammy/data-integrator-13 | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please specify either topic, index, or database name | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
data-integrator/0 [executing] blocked: Please specify either topic, index, or database name | ||
[33mWARNING [0m juju.model:model.py:1553 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
data-integrator/0 [executing] blocked: Please relate the data-integrator with the desired product | ||
postgresql-test-app/0 [idle] active: received database credentials of the second database | ||
postgresql-test-app/1 [idle] active: received database credentials of the second database | ||
database/2 [executing] active: | ||
database/3 [executing] active: Primary | ||
another-database/0 [idle] active: Primary | ||
another-database/1 [idle] active: | ||
[32mINFO [0m integration.new_relations.test_new_relations:test_new_relations.py:455 connecting to the following database: postgres | ||
[32mINFO [0m integration.new_relations.test_new_relations:test_new_relations.py:455 connecting to the following database: postgresql_test_app_first_database | ||
[32mINFO [0m integration.new_relations.test_new_relations:test_new_relations.py:455 connecting to the following database: another_application_first_database |
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,143 @@ | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql-test-app/0 [idle] active: received database credentials of the second database | ||
postgresql-test-app/1 [idle] active: received database credentials of the second database | ||
database/2 [executing] active: | ||
database/3 [executing] active: Primary | ||
another-database/0 [idle] active: Primary | ||
another-database/1 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2087 Deploying ch:amd64/jammy/data-integrator-13 | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
another-data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
another-data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
another-data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
another-data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
another-data-integrator/0 [allocating] waiting: agent initialising | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
data-integrator/0 [executing] blocked: Please relate the data-integrator with the desired product | ||
another-data-integrator/0 [executing] blocked: Please specify either topic, index, or database name | ||
[33mWARNING [0m juju.model:model.py:1553 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1553 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
database/2 [idle] active: | ||
database/3 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
database/2 [idle] blocked: invalid role(s) for extra user roles | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
database/2 [executing] blocked: invalid role(s) for extra user roles | ||
database/3 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
database/2 [idle] active: | ||
database/3 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
database/2 [idle] active: | ||
database/3 [idle] active: Primary | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:784 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.1.7 unsupported 02:32:42Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
another-application active 1 postgresql-test-app edge 51 no received database credentials of the first database | ||
another-data-integrator blocked 1 data-integrator latest/stable 13 no Please relate the data-integrator with the desired product | ||
another-database 14.10 active 2 postgresql 1 no Primary | ||
data-integrator blocked 1 data-integrator latest/stable 13 no Please relate the data-integrator with the desired product | ||
database 14.10 active 2 postgresql 0 no | ||
postgresql-test-app active 2 postgresql-test-app edge 51 no received database credentials of the second database | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
another-application/0* active idle 6 10.11.81.109 received database credentials of the first database | ||
another-data-integrator/0* blocked idle 10 10.11.81.234 Please relate the data-integrator with the desired product | ||
another-database/0* active idle 3 10.11.81.5 5432/tcp Primary | ||
another-database/1 active idle 4 10.11.81.123 5432/tcp | ||
data-integrator/0* blocked idle 9 10.11.81.236 Please relate the data-integrator with the desired product | ||
database/2* active idle 7 10.11.81.76 5432/tcp | ||
database/3 active idle 8 10.11.81.165 5432/tcp Primary | ||
postgresql-test-app/0 active idle 0 10.11.81.122 received database credentials of the second database | ||
postgresql-test-app/1* active idle 1 10.11.81.57 received database credentials of the second database | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.11.81.122 juju-b317b0-0 [email protected] Running | ||
1 started 10.11.81.57 juju-b317b0-1 [email protected] Running | ||
3 started 10.11.81.5 juju-b317b0-3 [email protected] Running | ||
4 started 10.11.81.123 juju-b317b0-4 [email protected] Running | ||
6 started 10.11.81.109 juju-b317b0-6 [email protected] Running | ||
7 started 10.11.81.76 juju-b317b0-7 [email protected] Running | ||
8 started 10.11.81.165 juju-b317b0-8 [email protected] Running | ||
9 started 10.11.81.236 juju-b317b0-9 [email protected] Running | ||
10 started 10.11.81.234 juju-b317b0-10 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:790 Juju error logs: | ||
|
||
machine-1: 01:34:08 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:34:08 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:34:08 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-postgresql-test-app-1: 01:34:10 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-0: 01:34:19 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:34:19 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:34:19 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-postgresql-test-app-0: 01:34:21 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 01:35:07 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:35:07 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:35:07 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-another-database-0: 01:35:08 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:35:22 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:35:22 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-2: 01:35:22 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-database-0: 01:35:24 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-4: 01:35:28 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-4: 01:35:28 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-4: 01:35:28 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-another-database-1: 01:35:29 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-5: 01:44:29 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-5: 01:44:29 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-5: 01:44:29 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-database-1: 01:44:29 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-6: 01:58:41 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-6: 01:58:41 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-6: 01:58:41 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-another-application-0: 01:58:42 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-7: 02:03:46 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-7: 02:03:46 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-7: 02:03:46 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-database-2: 02:03:46 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-8: 02:03:54 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-8: 02:03:54 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-8: 02:03:54 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-database-3: 02:03:54 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-database-2: 02:22:46 ERROR unit.database/2.juju-log Non-existing field 'relation-7' was attempted to be removed from the databag (relation ID: 3) | ||
unit-database-2: 02:22:46 ERROR unit.database/2.juju-log Non-existing field 'relation-7-database' was attempted to be removed from the databag (relation ID: 3) | ||
unit-postgresql-test-app-1: 02:23:58 ERROR juju.worker.dependency "uniter" manifold worker returned unexpected error: relation scope id "be1277f3-2ab1-4c87-8301-c815dbb317b0:r#15#database": settings be1277f3-2ab1-4c87-8301-c815dbb317b0:r#15#database not found (not found) | ||
unit-database-2: 02:24:01 ERROR juju.worker.dependency "uniter" manifold worker returned unexpected error: relation scope id "be1277f3-2ab1-4c87-8301-c815dbb317b0:r#15#postgresql-test-app": settings be1277f3-2ab1-4c87-8301-c815dbb317b0:r#15#postgresql-test-app not found (not found) | ||
machine-9: 02:26:28 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-9: 02:26:28 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-9: 02:26:28 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-data-integrator-0: 02:26:29 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-database-3: 02:28:03 ERROR juju.worker.dependency "uniter" manifold worker returned unexpected error: relation scope id "be1277f3-2ab1-4c87-8301-c815dbb317b0:r#17#data-integrator": settings be1277f3-2ab1-4c87-8301-c815dbb317b0:r#17#data-integrator not found (not found) | ||
unit-database-2: 02:28:04 ERROR unit.database/2.juju-log Non-existing field 'relation-17' was attempted to be removed from the databag (relation ID: 3) | ||
unit-database-2: 02:28:04 ERROR unit.database/2.juju-log Non-existing field 'relation-17-database' was attempted to be removed from the databag (relation ID: 3) | ||
machine-10: 02:30:24 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-10: 02:30:24 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-10: 02:30:24 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-another-data-integrator-0: 02:30:24 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-database-2: 02:31:19 ERROR unit.database/2.juju-log database:19: Invalid extra user roles: test | ||
unit-database-2: 02:31:19 ERROR unit.database/2.juju-log database:19: invalid role(s) for extra user roles | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-database-2/charm/src/relations/postgresql_provider.py", line 86, in _on_database_requested | ||
self.charm.postgresql.create_user(user, password, extra_user_roles=extra_user_roles) | ||
File "/var/lib/juju/agents/unit-database-2/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 221, 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-2: 02:31:21 ERROR unit.database/2.juju-log database:20: Invalid extra user roles: test | ||
unit-database-2: 02:31:21 ERROR unit.database/2.juju-log database:20: invalid role(s) for extra user roles | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-database-2/charm/src/relations/postgresql_provider.py", line 86, in _on_database_requested | ||
self.charm.postgresql.create_user(user, password, extra_user_roles=extra_user_roles) | ||
File "/var/lib/juju/agents/unit-database-2/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 221, in create_user | ||
raise PostgreSQLCreateUserError(INVALID_EXTRA_USER_ROLE_BLOCKING_MESSAGE) | ||
charms.postgresql_k8s.v0.postgresql.PostgreSQLCreateUserError: invalid role(s) for extra user roles | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:856 Forgetting 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,16 @@ | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: |
Oops, something went wrong.