-
Notifications
You must be signed in to change notification settings - Fork 14
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
699422a
commit 64ee777
Showing
309 changed files
with
5,280 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,47 @@ | ||
[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:jammy/mongodb-0 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [allocating] waiting: waiting for machine | ||
mongodb/1 [allocating] waiting: waiting for machine | ||
mongodb/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [allocating] waiting: waiting for machine | ||
mongodb/1 [allocating] waiting: waiting for machine | ||
mongodb/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [allocating] waiting: waiting for machine | ||
mongodb/1 [allocating] waiting: waiting for machine | ||
mongodb/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [allocating] waiting: waiting for machine | ||
mongodb/1 [allocating] waiting: agent initialising | ||
mongodb/2 [allocating] waiting: agent initialising | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [allocating] waiting: waiting for machine | ||
mongodb/1 [executing] active: | ||
mongodb/2 [executing] maintenance: installing MongoDB | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [executing] maintenance: installing MongoDB | ||
mongodb/1 [executing] active: | ||
mongodb/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [executing] maintenance: installing MongoDB | ||
mongodb/1 [executing] maintenance: starting MongoDB | ||
mongodb/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [executing] active: | ||
mongodb/1 [executing] active: | ||
mongodb/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/self-signed-certificates-155 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
self-signed-certificates/0 [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,132 @@ | ||
[32mINFO [0m integration.upgrade.test_upgrade:test_upgrade.py:126 Calling pre-refresh-check | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: Primary | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: Primary | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: Primary | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: Primary | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:903 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.5.3 unsupported 02:53:22Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
mongodb active 2/3 mongodb 0 no | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
mongodb/0* active idle 0 10.150.89.19 27017/tcp Primary | ||
mongodb/1 active idle 1 10.150.89.92 27017/tcp | ||
mongodb/2 unknown lost 2 10.150.89.122 27017/tcp agent lost, see 'juju show-status-log mongodb/2' | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.150.89.19 juju-0fd69d-0 [email protected] Running | ||
1 started 10.150.89.92 juju-0fd69d-1 [email protected] Running | ||
2 down 10.150.89.122 juju-0fd69d-2 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
machine-0: 02:36:15 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 02:36:15 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-mongodb-0: 02:36:15 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 02:36:16 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 02:36:16 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-mongodb-2: 02:36:16 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 02:37:13 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 02:37:13 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-mongodb-1: 02:37:13 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-mongodb-0: 02:37:27 ERROR unit.mongodb/0.juju-log _on_secret_remove: Secret secret:csgpnkmc61d1s5jd39p0 seems to have no observers, could be removed | ||
unit-mongodb-0: 02:51:20 ERROR unit.mongodb/0.juju-log Uncaught exception while in charm code: | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/./src/charm.py", line 1598, in <module> | ||
main(MongodbOperatorCharm) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/ops/main.py", line 551, in main | ||
manager.run() | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/ops/main.py", line 530, in run | ||
self._emit() | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/ops/main.py", line 519, in _emit | ||
_emit_charm_event(self.charm, self.dispatcher.event_name) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/ops/main.py", line 147, in _emit_charm_event | ||
event_to_emit.emit(*args, **kwargs) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/ops/framework.py", line 348, in emit | ||
framework._emit(event) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/ops/framework.py", line 860, in _emit | ||
self._reemit(event_path) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/ops/framework.py", line 950, in _reemit | ||
custom_handler(event) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/src/upgrades/mongodb_upgrade.py", line 148, in _on_pre_upgrade_check_action | ||
self._upgrade.pre_upgrade_check() | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/lib/charms/mongodb/v0/upgrade_helpers.py", line 336, in pre_upgrade_check | ||
if not self._charm.upgrade.is_cluster_able_to_read_write(): | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/lib/charms/mongodb/v0/upgrade_helpers.py", line 521, in is_cluster_able_to_read_write | ||
return self.is_replica_set_able_read_write() | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/lib/charms/mongodb/v0/upgrade_helpers.py", line 572, in is_replica_set_able_read_write | ||
write_replicated = self.is_write_on_secondaries( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/lib/charms/mongodb/v0/upgrade_helpers.py", line 651, in is_write_on_secondaries | ||
self.confirm_excepted_write_on_replica( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/tenacity/__init__.py", line 336, in wrapped_f | ||
return copy(f, *args, **kw) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/tenacity/__init__.py", line 475, in __call__ | ||
do = self.iter(retry_state=retry_state) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/tenacity/__init__.py", line 376, in iter | ||
result = action(retry_state) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/tenacity/__init__.py", line 418, in exc_check | ||
raise retry_exc.reraise() | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/tenacity/__init__.py", line 185, in reraise | ||
raise self.last_attempt.result() | ||
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result | ||
return self.__get_result() | ||
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result | ||
raise self._exception | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/tenacity/__init__.py", line 478, in __call__ | ||
result = fn(*args, **kwargs) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/lib/charms/mongodb/v0/upgrade_helpers.py", line 610, in confirm_excepted_write_on_replica | ||
if query[0][WRITE_KEY] != expected_write_value: | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/cursor.py", line 638, in __getitem__ | ||
for doc in clone: # type: ignore[attr-defined] | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/cursor.py", line 1281, in __next__ | ||
return self.next() | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/cursor.py", line 1257, in next | ||
if len(self._data) or self._refresh(): | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/cursor.py", line 1205, in _refresh | ||
self._send_message(q) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/cursor.py", line 1100, in _send_message | ||
response = client._run_operation( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/_csot.py", line 119, in csot_wrapper | ||
return func(self, *args, **kwargs) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/mongo_client.py", line 1754, in _run_operation | ||
return self._retryable_read( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/mongo_client.py", line 1863, in _retryable_read | ||
return self._retry_internal( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/_csot.py", line 119, in csot_wrapper | ||
return func(self, *args, **kwargs) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/mongo_client.py", line 1830, in _retry_internal | ||
).run() | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/mongo_client.py", line 2554, in run | ||
return self._read() if self._is_read else self._write() | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/mongo_client.py", line 2689, in _read | ||
self._server = self._get_server() | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/mongo_client.py", line 2645, in _get_server | ||
return self._client._select_server( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/mongo_client.py", line 1649, in _select_server | ||
server = topology.select_server( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/topology.py", line 398, in select_server | ||
server = self._select_server( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/topology.py", line 376, in _select_server | ||
servers = self.select_servers( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/topology.py", line 283, in select_servers | ||
server_descriptions = self._select_servers_loop( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/synchronous/topology.py", line 333, in _select_servers_loop | ||
raise ServerSelectionTimeoutError( | ||
pymongo.errors.ServerSelectionTimeoutError: No servers found yet, Timeout: 1.0s, Topology Description: <TopologyDescription id: 67219f27a0ee39b16ac9a680, topology_type: Single, servers: [<ServerDescription ('10.150.89.122', 27017) server_type: Unknown, rtt: None>]> | ||
|
||
[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,49 @@ | ||
[32mINFO [0m integration.upgrade.test_upgrade:test_upgrade.py:52 Calling pre-refresh-check | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: Primary | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: Primary | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: Primary | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: Primary | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: Primary | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [executing] active: Primary | ||
mongodb/1 [executing] active: | ||
mongodb/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: | ||
mongodb/1 [idle] active: | ||
mongodb/2 [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,10 @@ | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
s3-integrator/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
mongodb/0 [idle] active: | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: |
Oops, something went wrong.