-
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
eea8585
commit edad948
Showing
323 changed files
with
7,254 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,35 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:766 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:42 deploying charm | ||
[32mINFO [0m juju.model:model.py:2097 Deploying local:postgresql-0 | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:52 waiting for idle | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/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 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/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 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/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 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/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 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [idle] active: Primary | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:58 waiting for postgresql | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:63 getting storage id | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:67 werifing is storage exists | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:73 creating db | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:77 checking db | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:81 force removing charm | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:90 werifing is storage exists |
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,52 @@ | ||
[32mINFO [0m integration.test_plugins:test_plugins.py:220 Creating an index object which depends on the pg_trgm config | ||
[32mINFO [0m integration.test_plugins:test_plugins.py:229 Disabling the plugin on charm config, waiting for blocked status | ||
[32mINFO [0m integration.test_plugins:test_plugins.py:238 Enabling the plugin back on charm config, status should resolve | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] blocked: Cannot disable plugins: Existing objects depend on it. See logs | ||
postgresql/1 [idle] active: | ||
[32mINFO [0m integration.test_plugins:test_plugins.py:244 Re-disabling plugin, waiting for blocked status to come back | ||
[32mINFO [0m integration.test_plugins:test_plugins.py:253 Delete the object which depends on the plugin | ||
[32mINFO [0m integration.test_plugins:test_plugins.py:259 Waiting for status to resolve again | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] blocked: Cannot disable plugins: Existing objects depend on it. See logs | ||
postgresql/1 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] blocked: Cannot disable plugins: Existing objects depend on it. See logs | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] blocked: Cannot disable plugins: Existing objects depend on it. See logs | ||
[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:50:01Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
postgresql 14.13 active 2 postgresql 0 no | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
postgresql/0* active idle 0 10.113.202.9 5432/tcp | ||
postgresql/1 active idle 1 10.113.202.192 5432/tcp | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.113.202.9 juju-134233-0 [email protected] Running | ||
1 started 10.113.202.192 juju-134233-1 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
machine-0: 01:38:33 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:38:33 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-0: 01:38:33 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 01:38:33 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:38:33 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-1: 01:38:34 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-0: 01:47:51 ERROR unit.postgresql/0.juju-log Failed to disable plugin: cannot drop extension pg_trgm because other objects depend on it | ||
DETAIL: index example_idx depends on operator class gin_trgm_ops for access method gin | ||
HINT: Use DROP ... CASCADE to drop the dependent objects too. | ||
|
||
Was the plugin enabled manually? If so, update charm config with `juju config postgresql-k8s plugin_<plugin_name>_enable=True` | ||
unit-postgresql-0: 01:48:36 ERROR unit.postgresql/0.juju-log Failed to disable plugin: cannot drop extension pg_trgm because other objects depend on it | ||
DETAIL: index example_idx depends on operator class gin_trgm_ops for access method gin | ||
HINT: Use DROP ... CASCADE to drop the dependent objects too. | ||
|
||
Was the plugin enabled manually? If so, update charm config with `juju config postgresql-k8s plugin_<plugin_name>_enable=True` | ||
|
||
[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,43 @@ | ||
[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:08:52Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
postgresql 14.13 active 3 postgresql 0 no | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 279 no received database credentials of the first database | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
postgresql-test-app/0* active idle 3 10.117.46.4 received database credentials of the first database | ||
postgresql/0* active idle 0 10.117.46.162 5432/tcp | ||
postgresql/2 active idle 2 10.117.46.226 5432/tcp | ||
postgresql/3 active idle 4 10.117.46.80 5432/tcp Primary | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.117.46.162 juju-7d1910-0 [email protected] Running | ||
2 started 10.117.46.226 juju-7d1910-2 [email protected] Running | ||
3 started 10.117.46.4 juju-7d1910-3 [email protected] Running | ||
4 started 10.117.46.80 juju-7d1910-4 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
machine-0: 01:37:42 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:37:42 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-0: 01:37:43 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:37:43 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:37:43 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-2: 01:37:44 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 01:37:44 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:37:45 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-1: 01:37:45 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 01:37:49 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:37:49 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-test-app-0: 01:37:49 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-4: 01:51:48 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-4: 01:51:48 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-3: 01:51:48 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-0: 02:06:54 ERROR unit.postgresql/0.juju-log Failed to list PostgreSQL database users: connection to server at "10.117.46.80", port 5432 failed: Connection refused | ||
Is the server running on that host and accepting TCP/IP connections? | ||
|
||
|
||
[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,74 @@ | ||
[32mINFO [0m integration.test_backups:test_backups.py:306 configuring S3 integrator for an invalid cloud | ||
[32mINFO [0m integration.test_backups:test_backups.py:321 waiting for the database charm to become blocked | ||
[32mINFO [0m integration.test_backups:test_backups.py:328 configuring S3 integrator for a valid cloud, but with the path of another cluster repository | ||
[32mINFO [0m integration.test_backups:test_backups.py:337 waiting for the database charm to become blocked | ||
[32mINFO [0m integration.test_backups:test_backups.py:344 configuring S3 integrator for a valid cloud | ||
[32mINFO [0m integration.test_backups:test_backups.py:348 waiting for the database charm to become active | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
new-postgresql/0 [executing] blocked: the S3 repository has backups from another cluster | ||
s3-integrator/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
new-postgresql/0 [executing] maintenance: initialising stanza | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
new-postgresql/0 [executing] active: Primary | ||
[32mINFO [0m integration.test_backups:test_backups.py:77 deleting the previously created backups | ||
[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:09:18Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
new-postgresql 14.13 active 1 postgresql 2 no | ||
s3-integrator active 1 s3-integrator latest/stable 31 no | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
new-postgresql/0* active idle 5 10.177.166.223 5432/tcp Primary | ||
s3-integrator/0* active idle 0 10.177.166.47 | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.177.166.47 juju-0a7864-0 [email protected] Running | ||
5 started 10.177.166.223 juju-0a7864-5 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
machine-1: 01:37:51 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:37:51 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-self-signed-certificates-0: 01:37:51 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-0: 01:37:54 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:37:54 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-s3-integrator-0: 01:37:54 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 01:38:08 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:38:08 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-gcp-1: 01:38:08 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:40:24 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:40:24 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-gcp-0: 01:40:24 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-4: 02:01:16 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-4: 02:01:16 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-gcp-2: 02:01:17 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-5: 02:01:26 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-5: 02:01:26 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-new-postgresql-0: 02:01:27 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-gcp-2: 02:02:23 ERROR unit.postgresql-gcp/2.juju-log Failed to list PostgreSQL database users: could not translate host name "None" to address: Temporary failure in name resolution | ||
|
||
unit-new-postgresql-0: 02:07:21 ERROR unit.new-postgresql/0.juju-log s3-parameters:13: Failed to create a session 'bucket' in region=region. | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-new-postgresql-0/charm/src/backups.py", line 265, in _create_bucket_if_not_exists | ||
s3 = session.resource( | ||
File "/var/lib/juju/agents/unit-new-postgresql-0/charm/venv/boto3/session.py", line 444, in resource | ||
client = self.client( | ||
File "/var/lib/juju/agents/unit-new-postgresql-0/charm/venv/boto3/session.py", line 297, in client | ||
return self._session.create_client( | ||
File "/var/lib/juju/agents/unit-new-postgresql-0/charm/venv/botocore/session.py", line 997, in create_client | ||
client = client_creator.create_client( | ||
File "/var/lib/juju/agents/unit-new-postgresql-0/charm/venv/botocore/client.py", line 165, in create_client | ||
client_args = self._get_client_args( | ||
File "/var/lib/juju/agents/unit-new-postgresql-0/charm/venv/botocore/client.py", line 524, in _get_client_args | ||
return args_creator.get_client_args( | ||
File "/var/lib/juju/agents/unit-new-postgresql-0/charm/venv/botocore/args.py", line 138, in get_client_args | ||
endpoint = endpoint_creator.create_endpoint( | ||
File "/var/lib/juju/agents/unit-new-postgresql-0/charm/venv/botocore/endpoint.py", line 408, in create_endpoint | ||
raise ValueError(f"Invalid endpoint: {endpoint_url}") | ||
ValueError: Invalid endpoint: endpoint | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:991 Forgetting model main... |
Oops, something went wrong.