-
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
0e16ee6
commit aaedd18
Showing
328 changed files
with
6,792 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,88 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:766 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/nextcloud-26 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying local:postgresql-0 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
database/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
database/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
database/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
database/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
database/0 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [executing] maintenance: installing dependencies... | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
database/0 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [executing] maintenance: fetching nextcloud from network... | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
database/0 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [executing] waiting: Waiting for Nextcloud to be ready before we can start. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
database/0 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [idle] waiting: Waiting for Nextcloud to be ready before we can start. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [idle] waiting: Waiting for Nextcloud to be ready before we can start. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [idle] waiting: Waiting for Nextcloud to be ready before we can start. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [idle] waiting: Waiting for Nextcloud to be ready before we can start. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [idle] waiting: Waiting for Nextcloud to be ready before we can start. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [idle] waiting: Waiting for Nextcloud to be ready before we can start. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [idle] waiting: Waiting for Nextcloud to be ready before we can start. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [idle] blocked: Nextcloud not initialized. Missing postgresql? | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [idle] blocked: No database. | ||
[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: | ||
database/0 [idle] active: Primary | ||
nextcloud/0 [idle] blocked: No database. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [executing] waiting: Waiting for Nextcloud to be ready before we can start. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [executing] waiting: Waiting for Nextcloud to be ready before we can start. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
nextcloud/0 [executing] maintenance: initializing nextcloud... | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:903 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.4.5 unsupported 01:43:14Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
database 14.13 active 1 postgresql 0 no | ||
nextcloud 29.0.7.1 active 1 nextcloud latest/edge 26 no 29.0.7.1 ☁ | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
database/0* active idle 1 10.112.78.39 5432/tcp Primary | ||
nextcloud/0* active idle 0 10.112.78.150 80/tcp 29.0.7.1 ☁ | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.112.78.150 juju-ab7dfe-0 [email protected] Running | ||
1 started 10.112.78.39 juju-ab7dfe-1 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
machine-0: 01:35:12 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:35:12 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-nextcloud-0: 01:35:12 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 01:35:22 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 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:22 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
|
||
[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,125 @@ | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [idle] active: | ||
postgresql-test-app/1 [idle] active: | ||
database/2 [executing] active: Primary | ||
database/3 [executing] active: | ||
another-database/0 [idle] active: | ||
another-database/1 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/data-integrator-41 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
another-data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
another-data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
another-data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
another-data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 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:1563 relate is deprecated and will be removed. Use integrate instead. | ||
[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: | ||
database/2 [executing] active: Primary | ||
database/3 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
database/2 [executing] active: Primary | ||
database/3 [idle] blocked: invalid role(s) for extra user roles | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
database/2 [idle] active: Primary | ||
database/3 [idle] blocked: invalid role(s) for extra user roles | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:903 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.4.5 unsupported 02:13:12Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
another-application active 1 postgresql-test-app latest/edge 244 no received database credentials of the first database | ||
another-data-integrator blocked 1 data-integrator latest/stable 41 no Please relate the data-integrator with the desired product | ||
another-database 14.13 active 2 postgresql 1 no | ||
data-integrator blocked 1 data-integrator latest/stable 41 no Please relate the data-integrator with the desired product | ||
database 14.13 active 2 postgresql 0 no | ||
postgresql-test-app active 2 postgresql-test-app latest/edge 244 no | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
another-application/0* active idle 6 10.179.245.196 received database credentials of the first database | ||
another-data-integrator/0* blocked idle 10 10.179.245.17 Please relate the data-integrator with the desired product | ||
another-database/0 active idle 2 10.179.245.38 5432/tcp | ||
another-database/1* active idle 3 10.179.245.62 5432/tcp Primary | ||
data-integrator/0* blocked idle 9 10.179.245.191 Please relate the data-integrator with the desired product | ||
database/2 active idle 7 10.179.245.36 5432/tcp Primary | ||
database/3* active idle 8 10.179.245.33 5432/tcp | ||
postgresql-test-app/0 active idle 0 10.179.245.189 | ||
postgresql-test-app/1* active idle 1 10.179.245.214 | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.179.245.189 juju-4e388a-0 [email protected] Running | ||
1 started 10.179.245.214 juju-4e388a-1 [email protected] Running | ||
2 started 10.179.245.38 juju-4e388a-2 [email protected] Running | ||
3 started 10.179.245.62 juju-4e388a-3 [email protected] Running | ||
6 started 10.179.245.196 juju-4e388a-6 [email protected] Running | ||
7 started 10.179.245.36 juju-4e388a-7 [email protected] Running | ||
8 started 10.179.245.33 juju-4e388a-8 [email protected] Running | ||
9 started 10.179.245.191 juju-4e388a-9 [email protected] Running | ||
10 started 10.179.245.17 juju-4e388a-10 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
machine-1: 01:37:08 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:37:08 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-test-app-1: 01:37:09 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-0: 01:37:11 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:37:11 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-test-app-0: 01:37:11 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 01:37:23 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:37:23 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-another-database-1: 01:37:23 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-4: 01:37:29 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-4: 01:37:29 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-database-0: 01:37:29 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:37:30 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:37:30 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-another-database-0: 01:37:30 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-another-database-1: 01:38:44 ERROR unit.another-database/1.juju-log Failed to list PostgreSQL database users: could not translate host name "None" to address: Temporary failure in name resolution | ||
|
||
machine-5: 01:46:28 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-5: 01:46:28 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-database-1: 01:46:28 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-6: 01:51:35 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-6: 01:51:35 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-another-application-0: 01:51:35 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-7: 01:55:35 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-7: 01:55:35 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-database-2: 01:55:35 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-8: 01:55:42 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-8: 01:55:42 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-database-3: 01:55:42 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-9: 02:08:23 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-9: 02:08:23 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-data-integrator-0: 02:08:23 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-10: 02:11:30 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-10: 02:11:30 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-another-data-integrator-0: 02:11:31 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-database-3: 02:12:13 ERROR unit.database/3.juju-log database:20: Invalid extra user roles: test | ||
unit-database-3: 02:12:13 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/tempo_k8s/v1/charm_tracing.py", line 735, in wrapped_function | ||
return callable(*args, **kwargs) # type: ignore | ||
File "/var/lib/juju/agents/unit-database-3/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 244, 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:12:14 ERROR unit.database/3.juju-log database:19: Invalid extra user roles: test | ||
unit-database-3: 02:12:14 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/tempo_k8s/v1/charm_tracing.py", line 735, in wrapped_function | ||
return callable(*args, **kwargs) # type: ignore | ||
File "/var/lib/juju/agents/unit-database-3/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 244, 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:12:56 ERROR juju.worker.dependency "uniter" manifold worker returned unexpected error: relation scope id "fdd77e31-d55a-44b2-8c17-ee13e04e388a:r#20#another-data-integrator": settings fdd77e31-d55a-44b2-8c17-ee13e04e388a:r#20#another-data-integrator not found (not found) | ||
|
||
[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,5 @@ | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: | ||
postgresql/3 [idle] active: | ||
postgresql-test-app/0 [idle] active: received database credentials of the first database |
Oops, something went wrong.