-
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
70bee26
commit fca48b5
Showing
320 changed files
with
7,317 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,93 @@ | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [executing] blocked: missing relation to shard(s) | ||
config-server-one/1 [idle] blocked: missing relation to shard(s) | ||
shard-one/0 [executing] blocked: missing relation to config server | ||
shard-one/1 [executing] blocked: missing relation to config server | ||
shard-two/0 [executing] blocked: missing relation to config server | ||
shard-two/1 [executing] blocked: missing relation to config server | ||
shard-three/0 [executing] blocked: missing relation to config server | ||
shard-three/1 [executing] blocked: missing relation to config server | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [idle] blocked: missing relation to shard(s) | ||
config-server-one/1 [executing] maintenance: Adding shard shard-one to config-server | ||
shard-one/0 [executing] waiting: Waiting for secrets from config-server | ||
shard-one/1 [executing] waiting: Waiting for secrets from config-server | ||
shard-two/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-two/1 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/1 [idle] waiting: Waiting for secrets from config-server | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [idle] blocked: missing relation to shard(s) | ||
config-server-one/1 [executing] maintenance: Adding shard shard-two to config-server | ||
shard-one/0 [executing] waiting: Waiting for secrets from config-server | ||
shard-one/1 [executing] waiting: Waiting for secrets from config-server | ||
shard-two/0 [executing] waiting: Waiting for secrets from config-server | ||
shard-two/1 [executing] waiting: Waiting for secrets from config-server | ||
shard-three/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/1 [idle] waiting: Waiting for secrets from config-server | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [idle] blocked: missing relation to shard(s) | ||
config-server-one/1 [executing] active: | ||
shard-one/0 [idle] maintenance: Adding shard to config-server | ||
shard-one/1 [executing] waiting: Waiting for secrets from config-server | ||
shard-two/0 [executing] waiting: Waiting for secrets from config-server | ||
shard-two/1 [executing] waiting: Waiting for secrets from config-server | ||
shard-three/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/1 [idle] waiting: Waiting for secrets from config-server | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [idle] blocked: missing relation to shard(s) | ||
config-server-one/1 [executing] maintenance: Adding shard shard-three to config-server | ||
shard-one/0 [idle] maintenance: Adding shard to config-server | ||
shard-one/1 [idle] waiting: Waiting for MongoDB to start | ||
shard-two/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-two/1 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/0 [executing] waiting: Waiting for secrets from config-server | ||
shard-three/1 [executing] waiting: Waiting for secrets from config-server | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [idle] blocked: missing relation to shard(s) | ||
shard-one/0 [idle] maintenance: Adding shard to config-server | ||
shard-one/1 [idle] waiting: Waiting for MongoDB to start | ||
shard-two/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-two/1 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/1 [idle] waiting: Waiting for secrets from config-server | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [idle] blocked: missing relation to shard(s) | ||
shard-one/0 [idle] maintenance: Adding shard to config-server | ||
shard-one/1 [idle] waiting: Waiting for MongoDB to start | ||
shard-two/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-two/1 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/1 [idle] waiting: Waiting for secrets from config-server | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [idle] blocked: missing relation to shard(s) | ||
shard-one/0 [idle] maintenance: Adding shard to config-server | ||
shard-one/1 [idle] waiting: Waiting for MongoDB to start | ||
shard-two/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-two/1 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/1 [idle] waiting: Waiting for secrets from config-server | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [idle] blocked: missing relation to shard(s) | ||
shard-one/0 [idle] maintenance: Adding shard to config-server | ||
shard-one/1 [idle] waiting: Waiting for MongoDB to start | ||
shard-two/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-two/1 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/1 [idle] waiting: Waiting for secrets from config-server | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [idle] blocked: missing relation to shard(s) | ||
shard-one/1 [idle] waiting: Waiting for MongoDB to start | ||
shard-two/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-two/1 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/1 [idle] waiting: Waiting for secrets from config-server | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [idle] active: | ||
config-server-one/1 [executing] active: | ||
shard-one/1 [idle] waiting: Waiting for MongoDB to start | ||
shard-two/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-two/1 [idle] waiting: Waiting for secrets from config-server | ||
shard-three/1 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
shard-two/0 [idle] waiting: Waiting for secrets from config-server | ||
shard-two/1 [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,133 @@ | ||
[32mINFO [0m integration.upgrade.test_upgrade:test_upgrade.py:107 Calling pre-upgrade-check | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
mongodb/0 [executing] active: | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
mongodb/0 [idle] active: Primary | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
mongodb/0 [idle] active: Primary | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
mongodb/0 [idle] active: Primary | ||
mongodb/1 [idle] active: | ||
mongodb/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
mongodb/0 [idle] active: Primary | ||
mongodb/1 [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.4.4 unsupported 01:52:18Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
mongodb active 3 mongodb 0 no | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
mongodb/0* active idle 0 10.124.16.177 27017/tcp Primary | ||
mongodb/1 active idle 1 10.124.16.231 27017/tcp | ||
mongodb/2 active idle 2 10.124.16.17 27017/tcp | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.124.16.177 juju-66c628-0 [email protected] Running | ||
1 started 10.124.16.231 juju-66c628-1 [email protected] Running | ||
2 started 10.124.16.17 juju-66c628-2 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
machine-0: 01:39:31 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:39:31 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-mongodb-0: 01:39:31 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:39:32 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:39:32 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:39:32 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:39:32 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-mongodb-2: 01:39:32 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-mongodb-1: 01:39:32 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-mongodb-0: 01:40:29 ERROR unit.mongodb/0.juju-log _on_secret_remove: Secret secret:cr7t2udfl3d2b76i0v50 seems to have no observers, could be removed | ||
unit-mongodb-0: 01:50:11 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 1632, 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 139, in _on_pre_upgrade_check_action | ||
self._upgrade.pre_upgrade_check() | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/src/upgrades/upgrade.py", line 301, 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 238, 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 289, 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 368, 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 327, 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/cursor.py", line 755, in __getitem__ | ||
for doc in clone: | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/cursor.py", line 1243, in next | ||
if len(self.__data) or self._refresh(): | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/cursor.py", line 1160, in _refresh | ||
self.__send_message(q) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/cursor.py", line 1039, in __send_message | ||
response = client._run_operation( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/_csot.py", line 108, in csot_wrapper | ||
return func(self, *args, **kwargs) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/mongo_client.py", line 1431, in _run_operation | ||
return self._retryable_read( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/mongo_client.py", line 1540, in _retryable_read | ||
return self._retry_internal( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/_csot.py", line 108, in csot_wrapper | ||
return func(self, *args, **kwargs) | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/mongo_client.py", line 1507, in _retry_internal | ||
).run() | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/mongo_client.py", line 2353, in run | ||
return self._read() if self._is_read else self._write() | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/mongo_client.py", line 2483, in _read | ||
self._server = self._get_server() | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/mongo_client.py", line 2439, in _get_server | ||
return self._client._select_server( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/mongo_client.py", line 1322, in _select_server | ||
server = topology.select_server( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/topology.py", line 368, in select_server | ||
server = self._select_server( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/topology.py", line 346, in _select_server | ||
servers = self.select_servers( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/topology.py", line 253, in select_servers | ||
server_descriptions = self._select_servers_loop( | ||
File "/var/lib/juju/agents/unit-mongodb-0/charm/venv/pymongo/topology.py", line 303, in _select_servers_loop | ||
raise ServerSelectionTimeoutError( | ||
pymongo.errors.ServerSelectionTimeoutError: No servers found yet, Timeout: 1.0s, Topology Description: <TopologyDescription id: 66cfd3d29d2cd87207272b73, topology_type: Single, servers: [<ServerDescription ('10.124.16.17', 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,38 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:766 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/mongodb-0 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/mongodb-1 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/mongodb-2 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/mongos-3 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/s3-integrator-39 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/application-0 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/mongodb-3 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:focal/application-0 | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [allocating] waiting: agent initialising | ||
config-server-two/0 [allocating] waiting: agent initialising | ||
shard/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [executing] maintenance: installing MongoDB | ||
config-server-two/0 [allocating] waiting: agent initialising | ||
shard/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [executing] maintenance: installing MongoDB | ||
config-server-two/0 [executing] maintenance: installing MongoDB | ||
shard/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [executing] active: | ||
config-server-two/0 [executing] maintenance: installing MongoDB | ||
shard/0 [allocating] waiting: agent initialising | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
config-server-one/0 [idle] active: | ||
config-server-two/0 [executing] active: | ||
shard/0 [executing] maintenance: installing MongoDB | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
shard/0 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
shard/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
application-host/0 [idle] active: | ||
mongos (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
mongos/0 [executing] maintenance: installing mongos |
Oops, something went wrong.