-
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
1969fd7
commit ece9f6c
Showing
336 changed files
with
10,906 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,155 @@ | ||
[32mINFO [0m integration.test_charm:test_charm.py:338 connecting to primary postgresql/6 on 10.186.47.15 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [idle] active: | ||
postgresql/5 [idle] active: | ||
postgresql/6 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] waiting: waiting for primary to be reachable from this unit | ||
postgresql/5 [executing] waiting: waiting for primary to be reachable from this unit | ||
postgresql/6 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [idle] active: | ||
postgresql/5 [idle] active: | ||
postgresql/6 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [idle] active: | ||
postgresql/5 [idle] active: Primary | ||
postgresql/7 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/7 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/7 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/7 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/7 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] active: | ||
postgresql/5 [executing] active: Primary | ||
postgresql/7 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] active: | ||
postgresql/5 [executing] maintenance: reconfiguring cluster | ||
postgresql/7 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/5 [idle] active: Primary | ||
postgresql/7 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] active: | ||
postgresql/5 [executing] maintenance: reconfiguring cluster | ||
postgresql/7 [executing] waiting: waiting for primary to be reachable from this unit | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/5 [idle] active: Primary | ||
postgresql/7 [executing] waiting: waiting for primary to be reachable from this unit | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] active: | ||
postgresql/5 [executing] active: Primary | ||
postgresql/7 [idle] active: | ||
[32mINFO [0m integration.test_charm:test_charm.py:358 connecting to the database host: 10.186.47.186 | ||
[32mINFO [0m integration.test_charm:test_charm.py:358 connecting to the database host: 10.186.47.67 | ||
[32mINFO [0m integration.test_charm:test_charm.py:358 connecting to the database host: 10.186.47.171 | ||
[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 02:18:10Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
postgresql 14.13 active 3 postgresql 0 no | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
postgresql/2 active idle 2 10.186.47.186 5432/tcp | ||
postgresql/5* active idle 5 10.186.47.67 5432/tcp Primary | ||
postgresql/7 active idle 7 10.186.47.171 5432/tcp | ||
|
||
Machine State Address Inst id Base AZ Message | ||
2 started 10.186.47.186 juju-00f5d6-2 [email protected] Running | ||
5 started 10.186.47.67 juju-00f5d6-5 [email protected] Running | ||
7 started 10.186.47.171 juju-00f5d6-7 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
machine-0: 01:40:51 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:40:51 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-0: 01:40:51 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:40:51 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:40:51 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-2: 01:40:52 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 01:40:58 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:40:58 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-1: 01:40:58 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-0: 01:42:11 ERROR unit.postgresql/0.juju-log Unable to get the state of the cluster | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/connection.py", line 199, in _new_conn | ||
sock = connection.create_connection( | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/util/connection.py", line 85, in create_connection | ||
raise err | ||
File "/var/lib/juju/agents/unit-postgresql-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-postgresql-0/charm/venv/urllib3/connectionpool.py", line 789, in urlopen | ||
response = self._make_request( | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/connectionpool.py", line 495, in _make_request | ||
conn.request( | ||
File "/var/lib/juju/agents/unit-postgresql-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-postgresql-0/charm/venv/urllib3/connection.py", line 279, in connect | ||
self.sock = self._new_conn() | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/connection.py", line 214, in _new_conn | ||
raise NewConnectionError( | ||
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f09a9d18490>: 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-postgresql-0/charm/venv/requests/adapters.py", line 667, in send | ||
resp = conn.urlopen( | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/connectionpool.py", line 843, in urlopen | ||
retries = retries.increment( | ||
File "/var/lib/juju/agents/unit-postgresql-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.186.47.23', port=8008): Max retries exceeded with url: /cluster (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f09a9d18490>: 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-postgresql-0/charm/src/cluster.py", line 531, in are_replicas_up | ||
response = requests.get( | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/requests/api.py", line 73, in get | ||
return request("get", url, params=params, **kwargs) | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/requests/api.py", line 59, in request | ||
return session.request(method=method, url=url, **kwargs) | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/requests/sessions.py", line 589, in request | ||
resp = self.send(prep, **send_kwargs) | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/requests/sessions.py", line 703, in send | ||
r = adapter.send(request, **kwargs) | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/requests/adapters.py", line 700, in send | ||
raise ConnectionError(e, request=request) | ||
requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.186.47.23', port=8008): Max retries exceeded with url: /cluster (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f09a9d18490>: Failed to establish a new connection: [Errno 111] Connection refused')) | ||
machine-3: 01:54:37 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:54:37 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-3: 01:54:37 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-4: 01:54:49 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-4: 01:54:49 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-4: 01:54:49 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-6: 02:03:34 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-6: 02:03:34 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-6: 02:03:34 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-5: 02:03:39 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-5: 02:03:39 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-5: 02:03:39 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 02:09:54 ERROR juju.api.watcher error trying to stop watcher: websocket: close sent | ||
machine-7: 02:14:32 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-7: 02:14:32 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-7: 02:14:32 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,12 @@ | ||
[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: | ||
postgresql-test-app/0 [idle] active: received database credentials for cluster database | ||
postgresql-test-app/1 [idle] active: received database credentials for cluster database | ||
database/0 [idle] active: Primary | ||
database/1 [idle] active: | ||
another-database/0 [executing] active: | ||
another-database/1 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
database/0 [idle] active: Primary | ||
database/1 [idle] active: |
Oops, something went wrong.