-
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
c874b9a
commit 3b48002
Showing
311 changed files
with
5,518 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,76 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:734 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2097 Deploying local:jammy/postgresql-0 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-166 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: agent initialising | ||
postgresql/1 [executing] waiting: agent initialising | ||
postgresql/2 [allocating] waiting: agent initialising | ||
postgresql-test-app/0 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: installing PostgreSQL | ||
postgresql/1 [executing] maintenance: installing PostgreSQL | ||
postgresql/2 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting passwords generation | ||
postgresql/1 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/2 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] active: Primary | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] active: Primary | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting for member to start | ||
postgresql/1 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [executing] active: Primary | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [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,2 @@ | ||
[32mINFO [0m integration.test_charm:test_charm.py:93 connecting to the database host: 10.224.230.11 | ||
[33mWARNING [0m integration.test_charm:test_charm.py:162 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,131 @@ | ||
[32mINFO [0m integration.test_backups:test_backups.py:84 deleting the previously created backups | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:862 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.1.8 unsupported 01:59:08Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
postgresql-aws 14.11 maintenance 2 postgresql 0 no Beginning rolling restart | ||
s3-integrator active 1 s3-integrator latest/stable 17 no | ||
self-signed-certificates active 1 self-signed-certificates latest/stable 151 no | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
postgresql-aws/0 active executing 2 10.133.89.193 5432/tcp | ||
postgresql-aws/1* waiting executing 3 10.133.89.155 5432/tcp awaiting for member to start | ||
s3-integrator/0* active idle 0 10.133.89.141 | ||
self-signed-certificates/0* active idle 1 10.133.89.105 | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.133.89.141 juju-d5e8f6-0 [email protected] Running | ||
1 started 10.133.89.105 juju-d5e8f6-1 [email protected] Running | ||
2 started 10.133.89.193 juju-d5e8f6-2 [email protected] Running | ||
3 started 10.133.89.155 juju-d5e8f6-3 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:868 Juju error logs: | ||
|
||
machine-0: 01:33:56 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:33:56 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-0: 01:33:56 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-s3-integrator-0: 01:33:57 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 01:34:00 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:34:00 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:34:00 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-self-signed-certificates-0: 01:34:00 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 01:34:17 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:34:17 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:34:17 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-postgresql-aws-1: 01:34:17 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:34:19 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-2: 01:34:19 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:34:19 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-aws-0: 01:34:20 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-aws-1: 01:39:20 ERROR unit.postgresql-aws/1.juju-log certificates:5: TLS files failed to push. Error in config update | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/urllib3/connectionpool.py", line 789, in urlopen | ||
response = self._make_request( | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/urllib3/connectionpool.py", line 536, in _make_request | ||
response = conn.getresponse() | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/urllib3/connection.py", line 464, in getresponse | ||
httplib_response = super().getresponse() | ||
File "/usr/lib/python3.10/http/client.py", line 1375, in getresponse | ||
response.begin() | ||
File "/usr/lib/python3.10/http/client.py", line 318, in begin | ||
version, status, reason = self._read_status() | ||
File "/usr/lib/python3.10/http/client.py", line 279, in _read_status | ||
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") | ||
File "/usr/lib/python3.10/socket.py", line 705, in readinto | ||
return self._sock.recv_into(b) | ||
ConnectionResetError: [Errno 104] Connection reset by peer | ||
|
||
During handling of the above exception, another exception occurred: | ||
|
||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/requests/adapters.py", line 667, in send | ||
resp = conn.urlopen( | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/urllib3/connectionpool.py", line 843, in urlopen | ||
retries = retries.increment( | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/urllib3/util/retry.py", line 474, in increment | ||
raise reraise(type(error), error, _stacktrace) | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/urllib3/util/util.py", line 38, in reraise | ||
raise value.with_traceback(tb) | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/urllib3/connectionpool.py", line 789, in urlopen | ||
response = self._make_request( | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/urllib3/connectionpool.py", line 536, in _make_request | ||
response = conn.getresponse() | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/urllib3/connection.py", line 464, in getresponse | ||
httplib_response = super().getresponse() | ||
File "/usr/lib/python3.10/http/client.py", line 1375, in getresponse | ||
response.begin() | ||
File "/usr/lib/python3.10/http/client.py", line 318, in begin | ||
version, status, reason = self._read_status() | ||
File "/usr/lib/python3.10/http/client.py", line 279, in _read_status | ||
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") | ||
File "/usr/lib/python3.10/socket.py", line 705, in readinto | ||
return self._sock.recv_into(b) | ||
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) | ||
|
||
During handling of the above exception, another exception occurred: | ||
|
||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/tenacity/__init__.py", line 472, in __call__ | ||
result = fn(*args, **kwargs) | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/src/cluster.py", line 667, in reload_patroni_configuration | ||
requests.post(f"{self._patroni_url}/reload", verify=self.verify) | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/requests/api.py", line 115, in post | ||
return request("post", url, data=data, json=json, **kwargs) | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/requests/api.py", line 59, in request | ||
return session.request(method=method, url=url, **kwargs) | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/requests/sessions.py", line 589, in request | ||
resp = self.send(prep, **send_kwargs) | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/requests/sessions.py", line 703, in send | ||
r = adapter.send(request, **kwargs) | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/requests/adapters.py", line 682, in send | ||
raise ConnectionError(err, request=request) | ||
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) | ||
|
||
The above exception was the direct cause of the following exception: | ||
|
||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/./src/charm.py", line 1492, in push_tls_files_to_workload | ||
return self.update_config() | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 647, in wrapped_function | ||
return callable(*args, **kwargs) # type: ignore | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/./src/charm.py", line 1620, in update_config | ||
self._handle_postgresql_restart_need(enable_tls) | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 647, in wrapped_function | ||
return callable(*args, **kwargs) # type: ignore | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/./src/charm.py", line 1657, in _handle_postgresql_restart_need | ||
self._patroni.reload_patroni_configuration() | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 647, in wrapped_function | ||
return callable(*args, **kwargs) # type: ignore | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/tenacity/__init__.py", line 332, in wrapped_f | ||
return self(f, *args, **kw) | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/tenacity/__init__.py", line 469, in __call__ | ||
do = self.iter(retry_state=retry_state) | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/tenacity/__init__.py", line 370, in iter | ||
result = action(retry_state) | ||
File "/var/lib/juju/agents/unit-postgresql-aws-1/charm/venv/tenacity/__init__.py", line 413, in exc_check | ||
raise retry_exc from fut.exception() | ||
tenacity.RetryError: RetryError[<Future at 0x7fe8ef25ac20 state=finished raised ConnectionError>] | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:947 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,61 @@ | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/bionic/omnivector-redis-27 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/bionic/omnivector-sentry-19 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/focal/haproxy-79 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
sentry1/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
sentry1/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
sentry1/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
sentry1/0 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
sentry1/0 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
sentry1/0 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
sentry1/0 [idle] blocked: Need redis info via config or relation to proceed | ||
[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. | ||
[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/2 [executing] active: Primary | ||
postgresql/3 [executing] active: | ||
[32mINFO [0m integration.test_db:test_db.py:240 Verifying that the charm unblocks when the extensions are enabled | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] blocked: extensions requested through relation, enable them through config options | ||
postgresql/3 [idle] active: | ||
sentry1/0 [executing] active: Database requested | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] active: | ||
postgresql/3 [executing] active: | ||
sentry1/0 [idle] active: Database requested | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
sentry1/0 [executing] maintenance: Migrating Sentry DB | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
sentry1/0 [executing] maintenance: Creating Sentry superuser | ||
[32mINFO [0m integration.test_db:test_db.py:253 Verifying that the charm doesn't block when the extensions are enabled | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/bionic/omnivector-sentry-19 | ||
[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. | ||
[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/2 [executing] active: Primary | ||
postgresql/3 [executing] active: | ||
sentry2/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
sentry2/0 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
sentry2/0 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
sentry2/0 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] active: Primary | ||
postgresql/3 [executing] active: | ||
sentry2/0 [executing] active: Redis connection details saved. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [idle] active: Primary | ||
postgresql/3 [idle] active: | ||
sentry2/0 [executing] maintenance: Migrating Sentry DB | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
sentry2/0 [idle] active: Sentry available |
Oops, something went wrong.