-
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
3ab9d12
commit c4bc74a
Showing
164 changed files
with
7,979 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,104 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:675 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2087 Deploying local:jammy/postgresql-0 | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [allocating] waiting: agent initialising | ||
postgresql/1 [allocating] waiting: agent initialising | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] maintenance: installing PostgreSQL | ||
postgresql/1 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [executing] waiting: awaiting passwords generation | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
[32mINFO [0m integration.test_plugins:test_plugins.py:177 checking that the plugins are disabled | ||
[32mINFO [0m integration.test_plugins:test_plugins.py:191 enabling the plugins | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
[32mINFO [0m integration.test_plugins:test_plugins.py:198 checking that the plugins are enabled | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:784 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.1.7 unsupported 03:24:24Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
postgresql 14.10 active 2 postgresql 0 no | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
postgresql/0* active idle 0 10.97.114.7 5432/tcp Primary | ||
postgresql/1 active idle 1 10.97.114.151 5432/tcp | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.97.114.7 juju-b81f08-0 [email protected] Running | ||
1 started 10.97.114.151 juju-b81f08-1 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:790 Juju error logs: | ||
|
||
machine-0: 03:14:27 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-0: 03:14:27 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 03:14:27 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-0: 03:14:27 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 03:14:31 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 03:14:31 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 03:14:31 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-postgresql-1: 03:14:32 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:856 Forgetting 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 pytest_operator.plugin:plugin.py:675 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2087 Deploying local:jammy/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,214 @@ | ||
[32mINFO [0m integration.test_charm:test_charm.py:301 connecting to primary postgresql/0 on 10.118.27.37 | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] waiting: Awaiting restart operation | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] waiting: Awaiting restart operation | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2947 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:784 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.1.7 unsupported 03:44:28Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
postgresql 14.10 maintenance 2 postgresql 0 no Beginning rolling restart | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
postgresql/1* active idle 1 10.118.27.55 5432/tcp Primary | ||
postgresql/2 active idle 2 10.118.27.119 5432/tcp | ||
|
||
Machine State Address Inst id Base AZ Message | ||
1 started 10.118.27.55 juju-8c1d57-1 [email protected] Running | ||
2 started 10.118.27.119 juju-8c1d57-2 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:790 Juju error logs: | ||
|
||
machine-0: 03:07:18 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 03:07:18 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-0: 03:07:18 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-0: 03:07:18 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 03:07:19 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 03:07:19 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-1: 03:07:19 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-1: 03:07:20 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 03:07:24 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 03:07:24 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 03:07:24 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-postgresql-2: 03:07:24 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-2: 03:19:15 ERROR unit.postgresql/2.juju-log database-peers:0: Uncaught exception while in charm code: | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-postgresql-2/charm/./src/charm.py", line 1497, in <module> | ||
main(PostgresqlOperatorCharm) | ||
File "/var/lib/juju/agents/unit-postgresql-2/charm/venv/ops/main.py", line 436, in main | ||
_emit_charm_event(charm, dispatcher.event_name) | ||
File "/var/lib/juju/agents/unit-postgresql-2/charm/venv/ops/main.py", line 144, in _emit_charm_event | ||
event_to_emit.emit(*args, **kwargs) | ||
File "/var/lib/juju/agents/unit-postgresql-2/charm/venv/ops/framework.py", line 351, in emit | ||
framework._emit(event) | ||
File "/var/lib/juju/agents/unit-postgresql-2/charm/venv/ops/framework.py", line 853, in _emit | ||
self._reemit(event_path) | ||
File "/var/lib/juju/agents/unit-postgresql-2/charm/venv/ops/framework.py", line 942, in _reemit | ||
custom_handler(event) | ||
File "/var/lib/juju/agents/unit-postgresql-2/charm/./src/charm.py", line 462, in _on_peer_relation_changed | ||
self.update_config() | ||
File "/var/lib/juju/agents/unit-postgresql-2/charm/./src/charm.py", line 1409, in update_config | ||
self._validate_config_options() | ||
File "/var/lib/juju/agents/unit-postgresql-2/charm/./src/charm.py", line 1467, in _validate_config_options | ||
and self.config.request_time_zone not in self.postgresql.get_postgresql_timezones() | ||
File "/var/lib/juju/agents/unit-postgresql-2/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 400, in get_postgresql_timezones | ||
with self._connect_to_database( | ||
File "/var/lib/juju/agents/unit-postgresql-2/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 130, in _connect_to_database | ||
connection = psycopg2.connect( | ||
File "/var/lib/juju/agents/unit-postgresql-2/charm/venv/psycopg2/__init__.py", line 122, in connect | ||
conn = _connect(dsn, connection_factory=connection_factory, **kwasync) | ||
psycopg2.OperationalError: connection to server at "10.118.27.119", port 5432 failed: Connection refused | ||
Is the server running on that host and accepting TCP/IP connections? | ||
|
||
unit-postgresql-2: 03:19:15 ERROR juju.worker.uniter.operation hook "database-peers-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:856 Forgetting main... |
Oops, something went wrong.