-
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
3e0e1df
commit d38b438
Showing
326 changed files
with
10,586 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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:97 connecting to the database host: 10.71.45.80 | ||
[33mWARNING [0m integration.test_charm:test_charm.py:166 Asserting port ranges |
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,39 @@ | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:101 checking garbage storage | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:107 add unit with attached storage | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [allocating] waiting: agent initialising | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [executing] waiting: waiting for primary to be reachable from this unit | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [executing] waiting: waiting for primary to be reachable from this unit | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [executing] waiting: waiting for primary to be reachable from this unit | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [executing] waiting: waiting for primary to be reachable from this unit | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/1 [executing] active: Primary | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:112 waiting for postgresql | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:117 getting storage id | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:123 werifing is storage exists | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:129 checking db | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:132 removing charm |
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,8 @@ | ||
[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: | ||
postgresql-test-app/0 [idle] active: received database credentials for cluster2 | ||
postgresql-test-app/1 [idle] active: received database credentials for cluster2 | ||
database/0 [idle] active: | ||
database/1 [idle] active: | ||
another-database/0 [idle] active: Primary | ||
another-database/1 [idle] active: |
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,26 @@ | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-287 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-287 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [idle] active: Primary | ||
postgresql/3 [idle] active: | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app2/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app2/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app2/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app2/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [allocating] waiting: agent initialising | ||
postgresql-test-app2/0 [allocating] waiting: agent initialising | ||
[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 integration.test_db:test_db.py:230 Verify that the charm remains blocked if there are other blocking relations | ||
[32mINFO [0m integration.test_db:test_db.py:241 Verify that active status is restored when all blocking relations are gone | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] blocked: roles requested through relation, use postgresql_client interface instead | ||
postgresql/3 [executing] active: |
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 pytest_operator.plugin:plugin.py:766 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2097 Deploying local:postgresql-0 |
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,70 @@ | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/0 [idle] active: | ||
pg/1 [idle] active: Primary | ||
pg/2 [idle] active: | ||
pg/3 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/3 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/3 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/3 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/3 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/0 [executing] active: | ||
pg/1 [executing] maintenance: reconfiguring cluster | ||
pg/2 [executing] active: | ||
pg/3 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/0 [executing] active: | ||
pg/1 [executing] maintenance: reconfiguring cluster | ||
pg/2 [executing] active: | ||
pg/3 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/0 [idle] active: | ||
pg/1 [idle] active: Primary | ||
pg/2 [idle] active: | ||
pg/3 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/3 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/0 [executing] active: | ||
pg/1 [executing] maintenance: reconfiguring cluster | ||
pg/2 [executing] active: | ||
pg/3 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/0 [executing] active: | ||
pg/1 [executing] maintenance: reconfiguring cluster | ||
pg/2 [executing] active: | ||
pg/3 [executing] waiting: waiting for primary to be reachable from this unit | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/0 [idle] active: | ||
pg/1 [idle] active: Primary | ||
pg/2 [idle] active: | ||
pg/3 [executing] waiting: waiting for primary to be reachable from this unit | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/3 [executing] waiting: waiting for primary to be reachable from this unit | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/0 [executing] active: | ||
pg/1 [executing] active: Primary | ||
pg/2 [executing] active: | ||
pg/3 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
pg/0 [idle] active: | ||
pg/1 [idle] active: Primary | ||
pg/2 [idle] active: | ||
pg/3 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
landscape-client/0 [idle] active: Client registered! | ||
landscape-client/1 [idle] active: Client registered! | ||
landscape-client/2 [idle] active: Client registered! | ||
landscape-client/3 [idle] active: Client registered! | ||
ubuntu-advantage/0 [idle] active: Attached (esm-apps,esm-infra) | ||
ubuntu-advantage/2 [idle] active: Attached (esm-apps,esm-infra) | ||
ubuntu-advantage/1 [idle] active: Attached (esm-apps,esm-infra) | ||
ubuntu-advantage/3 [idle] active: Attached (esm-apps,esm-infra) | ||
pg/0 [idle] active: | ||
pg/1 [idle] active: Primary | ||
pg/2 [idle] active: | ||
pg/3 [idle] active: |
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,146 @@ | ||
[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: | ||
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 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
database/0 [allocating] waiting: agent initialising | ||
[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] 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 [idle] 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. | ||
[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.6 unsupported 01:43:41Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
database 14.13 active 1 postgresql 0 no | ||
nextcloud 29.0.9.2 active 1 nextcloud latest/edge 26 no 29.0.9.2 ☁ | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
database/0* active idle 1 10.74.31.166 5432/tcp Primary | ||
nextcloud/0* active idle 0 10.74.31.207 80/tcp 29.0.9.2 ☁ | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.74.31.207 juju-d54ced-0 [email protected] Running | ||
1 started 10.74.31.166 juju-d54ced-1 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
machine-0: 01:35:57 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:35:57 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-nextcloud-0: 01:35:57 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 01:36:09 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:36:09 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-database-0: 01:36:09 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-database-0: 01:37:11 ERROR unit.database/0.juju-log Unable to get the state of the cluster | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/urllib3/connection.py", line 199, in _new_conn | ||
sock = connection.create_connection( | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/urllib3/util/connection.py", line 85, in create_connection | ||
raise err | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/urllib3/util/connection.py", line 73, in create_connection | ||
sock.connect(sa) | ||
ConnectionRefusedError: [Errno 111] Connection refused | ||
|
||
The above exception was the direct cause of the following exception: | ||
|
||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/urllib3/connectionpool.py", line 789, in urlopen | ||
response = self._make_request( | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/urllib3/connectionpool.py", line 495, in _make_request | ||
conn.request( | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/urllib3/connection.py", line 441, in request | ||
self.endheaders() | ||
File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders | ||
self._send_output(message_body, encode_chunked=encode_chunked) | ||
File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output | ||
self.send(msg) | ||
File "/usr/lib/python3.10/http/client.py", line 976, in send | ||
self.connect() | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/urllib3/connection.py", line 279, in connect | ||
self.sock = self._new_conn() | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/urllib3/connection.py", line 214, in _new_conn | ||
raise NewConnectionError( | ||
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f4b73a7cbe0>: Failed to establish a new connection: [Errno 111] Connection refused | ||
|
||
The above exception was the direct cause of the following exception: | ||
|
||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/requests/adapters.py", line 667, in send | ||
resp = conn.urlopen( | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/urllib3/connectionpool.py", line 843, in urlopen | ||
retries = retries.increment( | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/urllib3/util/retry.py", line 519, in increment | ||
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] | ||
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.74.31.166', port=8008): Max retries exceeded with url: /cluster (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4b73a7cbe0>: Failed to establish a new connection: [Errno 111] Connection refused')) | ||
|
||
During handling of the above exception, another exception occurred: | ||
|
||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-database-0/charm/src/cluster.py", line 530, in are_replicas_up | ||
response = requests.get( | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/requests/api.py", line 73, in get | ||
return request("get", url, params=params, **kwargs) | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/requests/api.py", line 59, in request | ||
return session.request(method=method, url=url, **kwargs) | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/requests/sessions.py", line 589, in request | ||
resp = self.send(prep, **send_kwargs) | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/requests/sessions.py", line 703, in send | ||
r = adapter.send(request, **kwargs) | ||
File "/var/lib/juju/agents/unit-database-0/charm/venv/requests/adapters.py", line 700, in send | ||
raise ConnectionError(e, request=request) | ||
requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.74.31.166', port=8008): Max retries exceeded with url: /cluster (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4b73a7cbe0>: Failed to establish a new connection: [Errno 111] Connection refused')) | ||
|
||
[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,2 @@ | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:88 Get leader unit | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:92 Run pre-upgrade-check action |
Oops, something went wrong.