-
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
019e211
commit 574b33a
Showing
189 changed files
with
12,096 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,25 @@ | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/data-integrator-19 | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
data-integrator/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please specify either topic, index, or database name | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
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. | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
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: | ||
another-database/1 [idle] active: Primary | ||
another-database/2 [idle] active: | ||
[32mINFO [0m integration.new_relations.test_new_relations:test_new_relations.py:467 connecting to the following database: postgres | ||
[32mINFO [0m httpx:_client.py:1773 HTTP Request: GET https://10.1.0.67:16443/api/v1/namespaces/test/services/database-primary "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.new_relations.test_new_relations:test_new_relations.py:467 connecting to the following database: postgresql_test_app_first_database | ||
[32mINFO [0m httpx:_client.py:1773 HTTP Request: GET https://10.1.0.67:16443/api/v1/namespaces/test/services/database-primary "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.new_relations.test_new_relations:test_new_relations.py:467 connecting to the following database: another_application_first_database | ||
[32mINFO [0m httpx:_client.py:1773 HTTP Request: GET https://10.1.0.67:16443/api/v1/namespaces/test/services/database-primary "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1773 HTTP Request: GET https://10.1.0.67:16443/api/v1/namespaces/test/services/database-primary "HTTP/1.1 200 OK" |
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,41 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:708 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-76 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-k8s-220 | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:57 Wait for applications to become active | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [allocating] waiting: installing agent | ||
postgresql-k8s/1 [allocating] waiting: installing agent | ||
postgresql-k8s/2 [allocating] waiting: installing agent | ||
postgresql-test-app/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [executing] maintenance: installing charm software | ||
postgresql-k8s/1 [executing] maintenance: installing charm software | ||
postgresql-k8s/2 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [executing] unknown: | ||
postgresql-k8s/2 [executing] unknown: | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for primary endpoint to be ready | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] maintenance: reconfiguring cluster | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] waiting: awaiting for member to start |
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,65 @@ | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s (waiting for exactly 2 units, current : 3) | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s (waiting for exactly 4 units, current : 2) | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/3 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [executing] active: | ||
postgresql-k8s/3 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [executing] active: | ||
postgresql-k8s/2 [executing] active: | ||
postgresql-k8s/3 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [executing] active: | ||
postgresql-k8s/3 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [executing] active: | ||
postgresql-k8s/3 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
postgresql-k8s/3 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
postgresql-k8s/3 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
postgresql-k8s/3 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
postgresql-k8s/3 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
postgresql-k8s/3 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s (waiting for exactly 3 units, current : 4) | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s (waiting for exactly 3 units, current : 4) |
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 @@ | ||
[32mINFO [0m integration.test_charm:test_charm.py:105 connecting to the database host: 10.1.137.140 |
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,43 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:708 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2097 Deploying local:jammy/postgresql-k8s-0 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-76 | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [allocating] waiting: installing agent | ||
postgresql-k8s/1 [allocating] waiting: installing agent | ||
postgresql-k8s/2 [allocating] waiting: installing agent | ||
postgresql-test-app/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [executing] maintenance: installing charm software | ||
postgresql-k8s/1 [executing] maintenance: installing charm software | ||
postgresql-k8s/2 [executing] maintenance: installing charm software | ||
postgresql-test-app/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [executing] unknown: | ||
postgresql-k8s/1 [executing] unknown: | ||
postgresql-k8s/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [executing] waiting: awaiting for primary endpoint to be ready | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [executing] unknown: | ||
postgresql-k8s/1 [executing] unknown: | ||
postgresql-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [executing] waiting: awaiting for member to start | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] maintenance: reconfiguring cluster | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] waiting: awaiting for member to start | ||
postgresql-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
postgresql-k8s/2 [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,112 @@ | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/focal/indico-175 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/focal/redis-k8s-7 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/focal/redis-k8s-7 | ||
[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:2957 Waiting for model: | ||
indico/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
indico/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
indico/0 [executing] waiting: Waiting for database availability | ||
[32mINFO [0m integration.new_relations.test_new_relations:test_new_relations.py:689 Verifying that the charm doesn't block when the extensions are enabled | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
database/0 [executing] active: Primary | ||
database/1 [executing] active: | ||
database/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
database/0 [idle] active: Primary | ||
database/1 [idle] active: | ||
database/2 [idle] active: | ||
[33mWARNING [0m juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
database/0 [idle] active: Primary | ||
database/1 [executing] active: | ||
database/2 [executing] active: | ||
indico/0 [executing] waiting: Waiting for database availability | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
database/0 [idle] active: Primary | ||
database/1 [idle] active: | ||
database/2 [idle] active: | ||
indico/0 [executing] maintenance: Adding indico-celery layer to pebble | ||
[32mINFO [0m juju.model:model.py:2957 Waiting for model: | ||
indico/0 [idle] active: | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:834 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test microk8s-localhost microk8s/localhost 3.1.7 unsupported 02:02:29Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
another-application active 1 postgresql-test-app edge 76 10.152.183.176 no received database credentials of the first database | ||
another-data-integrator waiting 1 data-integrator latest/stable 19 10.152.183.172 no installing agent | ||
another-database 14.11 active 3 postgresql-k8s 1 10.152.183.53 no | ||
data-integrator waiting 1 data-integrator latest/stable 19 10.152.183.167 no installing agent | ||
database 14.11 active 3 postgresql-k8s 0 10.152.183.139 no Primary | ||
indico 3.2.8 active 1 indico stable 175 10.152.183.121 no | ||
other-discourse-k8s 3.2.0 active 1 discourse-k8s latest/stable 95 10.152.183.244 no | ||
postgresql-test-app active 2 postgresql-test-app edge 76 10.152.183.184 no received database credentials of the first database | ||
redis-broker ubuntu/redis@691f315 active 1 redis-k8s stable 7 no | ||
redis-cache ubuntu/redis@691f315 active 1 redis-k8s stable 7 no | ||
redis-k8s 7.0.4 active 1 redis-k8s latest/edge 27 10.152.183.252 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
another-application/0* active idle 10.1.203.214 received database credentials of the first database | ||
another-data-integrator/0* blocked idle 10.1.203.218 Please relate the data-integrator with the desired product | ||
another-database/0 active idle 10.1.203.208 | ||
another-database/1* active idle 10.1.203.209 Primary | ||
another-database/2 active idle 10.1.203.210 | ||
data-integrator/0* blocked idle 10.1.203.217 Please relate the data-integrator with the desired product | ||
database/0* active idle 10.1.203.211 Primary | ||
database/1 active idle 10.1.203.216 | ||
database/2 active idle 10.1.203.215 | ||
indico/0* active idle 10.1.203.226 | ||
other-discourse-k8s/0* active idle 10.1.203.222 | ||
postgresql-test-app/0* active idle 10.1.203.200 received database credentials of the first database | ||
postgresql-test-app/1 active idle 10.1.203.201 received database credentials of the first database | ||
redis-broker/0* active idle 10.1.203.227 6379/TCP | ||
redis-cache/0* active idle 10.1.203.229 6379/TCP | ||
redis-k8s/0* active idle 10.1.203.221 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:840 Juju error logs: | ||
|
||
unit-database-0: 01:46:38 ERROR unit.database/0.juju-log database:20: Invalid extra user roles: test | ||
unit-database-0: 01:46:38 ERROR unit.database/0.juju-log database:20: invalid role(s) for extra user roles | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-database-0/charm/src/relations/postgresql_provider.py", line 89, in _on_database_requested | ||
self.charm.postgresql.create_user(user, password, extra_user_roles=extra_user_roles) | ||
File "/var/lib/juju/agents/unit-database-0/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-0: 01:46:42 ERROR unit.database/0.juju-log database:21: Invalid extra user roles: test | ||
unit-database-0: 01:46:43 ERROR unit.database/0.juju-log database:21: invalid role(s) for extra user roles | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-database-0/charm/src/relations/postgresql_provider.py", line 89, in _on_database_requested | ||
self.charm.postgresql.create_user(user, password, extra_user_roles=extra_user_roles) | ||
File "/var/lib/juju/agents/unit-database-0/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-redis-k8s-0: 01:48:22 ERROR unit.redis-k8s/0.juju-log redis-peers:23: Error when connecting to sentinel: Error 111 connecting to 0.0.0.0:26379. Connection refused. | ||
unit-redis-k8s-0: 01:48:22 ERROR unit.redis-k8s/0.juju-log redis-peers:23: Unit redis-k8s/0 doesn't agree on tracked master | ||
unit-redis-k8s-0: 01:48:22 ERROR unit.redis-k8s/0.juju-log redis-peers:23: Error when connecting to sentinel: Error 111 connecting to localhost:26379. Connection refused. | ||
application-redis-cache: 02:00:25 ERROR unit.redis-cache/0.juju-log redis:31: Uncaught exception while in charm code: | ||
Traceback (most recent call last): | ||
File "./src/charm.py", line 159, in <module> | ||
main(RedisCharm) | ||
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/main.py", line 402, in main | ||
_emit_charm_event(charm, dispatcher.event_name) | ||
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/main.py", line 140, in _emit_charm_event | ||
event_to_emit.emit(*args, **kwargs) | ||
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/framework.py", line 278, in emit | ||
framework._emit(event) | ||
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/framework.py", line 722, in _emit | ||
self._reemit(event_path) | ||
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/framework.py", line 767, in _reemit | ||
custom_handler(event) | ||
File "/var/lib/juju/agents/unit-redis-cache-0/charm/lib/charms/redis_k8s/v0/redis.py", line 91, in _on_relation_changed | ||
event.relation.data[self.model.unit]['hostname'] = str(self._bind_address(event)) | ||
File "/var/lib/juju/agents/unit-redis-cache-0/charm/lib/charms/redis_k8s/v0/redis.py", line 103, in _bind_address | ||
return self.app.name | ||
AttributeError: 'RedisProvides' object has no attribute 'app' | ||
application-redis-cache: 02:00:25 ERROR juju.worker.caasoperator.uniter.redis-cache/0.operation hook "redis-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:904 Forgetting main... |
Oops, something went wrong.