Skip to content

Commit

Permalink
Allure report 381
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 25, 2024
1 parent df4f3b4 commit 7c2362e
Show file tree
Hide file tree
Showing 103 changed files with 1,496 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 381/app.js

Large diffs are not rendered by default.

60 changes: 60 additions & 0 deletions 381/data/attachments/2176d9b39f67440.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
INFO  pytest_operator.plugin:plugin.py:708 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2098 Deploying local:jammy/mongos-k8s-0
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-60
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-60
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [allocating] waiting: installing agent
shard0/0 [allocating] waiting: installing agent
config-server/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] blocked: Missing relation to config-server.
shard0/0 [allocating] waiting: agent initialising
config-server/0 [allocating] waiting: agent initialising
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] unknown:
config-server/0 [idle] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] unknown:
shard0/0 [idle] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] unknown:
shard0/0 [idle] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [executing] active:
shard0/0 [executing] waiting: Waiting for secrets from config-server
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
shard0/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
shard0/0 [idle] active:
mongos-k8s/0 [executing] blocked: Missing relation to config-server.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] error: unknown container reason "ImagePullBackOff": Back-off pulling image "ghcr.io/canonical/charmed-mongodb@sha256:b4b3edb805b20de471da57802643bfadbf979f112d738bc540ab148d145ddcfe"
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] error: unknown container reason "ImagePullBackOff": Back-off pulling image "ghcr.io/canonical/charmed-mongodb@sha256:b4b3edb805b20de471da57802643bfadbf979f112d738bc540ab148d145ddcfe"
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] waiting: Connecting to config-server
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] error: unknown container reason "ImagePullBackOff": Back-off pulling image "ghcr.io/canonical/charmed-mongodb@sha256:b4b3edb805b20de471da57802643bfadbf979f112d738bc540ab148d145ddcfe"
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] waiting: Connecting to config-server
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] waiting: Connecting to config-server
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active: Primary
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
INFO  juju.model:model.py:2098 Deploying local:jammy/application-0
INFO  juju.model:model.py:2972 Waiting for model:
application/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
application/0 [idle] active:
mongos-k8s/0 [idle] active:
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/data-integrator-41
INFO  juju.model:model.py:2972 Waiting for model:
application/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
data-integrator/0 [executing] blocked: Please specify either topic, index, or database name
mongos-k8s/0 [idle] active:
2 changes: 2 additions & 0 deletions 381/data/attachments/349bfe2c425bed85.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] blocked: Config option for expose-external not valid.
42 changes: 42 additions & 0 deletions 381/data/attachments/4be6e7fa2bdc6ce.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
INFO  pytest_operator.plugin:plugin.py:708 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2098 Deploying local:jammy/application-0
INFO  juju.model:model.py:2972 Waiting for model:
application/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2098 Deploying local:jammy/mongos-k8s-0
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-60
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-60
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [allocating] waiting: installing agent
shard0/0 [allocating] waiting: installing agent
config-server/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] blocked: Missing relation to config-server.
shard0/0 [allocating] waiting: agent initialising
config-server/0 [executing] maintenance: installing charm software
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] active:
config-server/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
shard0/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
shard0/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
shard0/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
shard0/0 [idle] active:
mongos-k8s/0 [executing] blocked: Missing relation to config-server.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: Missing relation to config-server.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: Missing relation to config-server.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] waiting: Connecting to config-server
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] waiting: Connecting to config-server
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active: Primary
mongos-k8s/0 [executing] maintenance: starting mongos
27 changes: 27 additions & 0 deletions 381/data/attachments/4d272e79cdac5694.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
INFO  pytest_operator.plugin:plugin.py:834 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.5.3 unsupported 01:38:02Z

App Version Status Scale Charm Channel Rev Address Exposed Message
application active 1 application 0 no
config-server active 1 mongodb-k8s 6/edge 60 10.152.183.63 no
mongos-k8s active 1 mongos-k8s 0 10.152.183.242 no
shard0 active 1 mongodb-k8s 6/edge 60 10.152.183.86 no

Unit Workload Agent Address Ports Message
application/0* active idle
config-server/0* active idle 10.1.48.206 Primary
mongos-k8s/0* active idle 10.1.48.202
shard0/0* active idle 10.1.48.208

INFO  pytest_operator.plugin:plugin.py:840 Juju error logs:

unit-config-server-0: 01:33:17 ERROR unit.config-server/0.juju-log config-server:6: Failed to add shard shard0 to the config server, error=OperationFailure("Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed', '$clusterTime': {'clusterTime': Timestamp(1729819997, 1), 'signature': {'hash': b'Dx\\xbf\\xf7a\\xa0:O\\xac\\xd0NNY[\\x1eg\\x18\\xd91\\xcc', 'keyId': 7429520065973714969}}, 'operationTime': Timestamp(1729819997, 1)}")
unit-config-server-0: 01:33:17 ERROR unit.config-server/0.juju-log config-server:6: shard0 shard does not have the same auth as the config server.
unit-mongos-k8s-0: 01:35:00 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:36:02 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
2 changes: 2 additions & 0 deletions 381/data/attachments/69efd9eb10c5a60b.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
69 changes: 69 additions & 0 deletions 381/data/attachments/69ff8d25e5af7266.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
data-integrator/0 [idle] active:
INFO  pytest_operator.plugin:plugin.py:834 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.5.3 unsupported 01:41:01Z

App Version Status Scale Charm Channel Rev Address Exposed Message
application active 1 application 0 no
config-server active 1 mongodb-k8s 6/edge 60 10.152.183.187 no
data-integrator active 1 data-integrator latest/stable 41 10.152.183.24 no
mongos-k8s active 1 mongos-k8s 0 10.152.183.148 no
shard0 active 1 mongodb-k8s 6/edge 60 10.152.183.118 no

Unit Workload Agent Address Ports Message
application/0* active idle
config-server/0* active idle 10.1.32.205 Primary
data-integrator/0* active idle 10.1.32.209
mongos-k8s/0* active idle 10.1.32.200
shard0/0* active idle 10.1.32.206 Primary

INFO  pytest_operator.plugin:plugin.py:840 Juju error logs:

unit-config-server-0: 01:32:42 ERROR unit.config-server/0.juju-log Deferring _on_relation_event for shards interface since: error=ServerSelectionTimeoutError("config-server-0.config-server-endpoints:27018: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 2000.0ms, connectTimeoutMS: 2000.0ms), Timeout: 1.0s, Topology Description: <TopologyDescription id: 671af5381e23699497303482, topology_type: Unknown, servers: [<ServerDescription ('config-server-0.config-server-endpoints', 27018) server_type: Unknown, rtt: None, error=AutoReconnect('config-server-0.config-server-endpoints:27018: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 2000.0ms, connectTimeoutMS: 2000.0ms)')>]>")
unit-config-server-0: 01:32:42 ERROR unit.config-server/0.juju-log Failed to add shard shard0 to the config server, error=OperationFailure("Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed', '$clusterTime': {'clusterTime': Timestamp(1729819961, 2), 'signature': {'hash': b'\\xe6\\x8fUl>\\xf1\\xf7\\x19\\x9c]\\xc1m\\x13\\t\\xf2\\x00\\xe8+\\xb6\\n', 'keyId': 7429520151873060889}}, 'operationTime': Timestamp(1729819961, 2)}")
unit-config-server-0: 01:32:42 ERROR unit.config-server/0.juju-log shard0 shard does not have the same auth as the config server.
unit-config-server-0: 01:32:49 ERROR unit.config-server/0.juju-log Failed to add shard shard0 to the config server, error=OperationFailure("Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed', '$clusterTime': {'clusterTime': Timestamp(1729819968, 1), 'signature': {'hash': b'\\xf4\\xc3;5\\xa1r\\xc7\\x8f\\xc7e\\x13\\x89\\xd6\\xcf\\x8eW\\x08\\x8a\\xf6\\x7f', 'keyId': 7429520151873060889}}, 'operationTime': Timestamp(1729819968, 1)}")
unit-config-server-0: 01:32:49 ERROR unit.config-server/0.juju-log shard0 shard does not have the same auth as the config server.
unit-config-server-0: 01:32:49 ERROR unit.config-server/0.juju-log Failed to add shard shard0 to the config server, error=OperationFailure("Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed', '$clusterTime': {'clusterTime': Timestamp(1729819968, 1), 'signature': {'hash': b'\\xf4\\xc3;5\\xa1r\\xc7\\x8f\\xc7e\\x13\\x89\\xd6\\xcf\\x8eW\\x08\\x8a\\xf6\\x7f', 'keyId': 7429520151873060889}}, 'operationTime': Timestamp(1729819968, 1)}")
unit-config-server-0: 01:32:49 ERROR unit.config-server/0.juju-log shard0 shard does not have the same auth as the config server.
unit-mongos-k8s-0: 01:34:28 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:35:30 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:35:31 ERROR unit.mongos-k8s/0.juju-log cluster:7: Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/./src/charm.py", line 977, in <module>
main(MongosCharm)
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/venv/ops/main.py", line 553, in main
manager.run()
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/venv/ops/main.py", line 529, in run
self._emit()
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/venv/ops/main.py", line 518, in _emit
_emit_charm_event(self.charm, self.dispatcher.event_name, self._juju_context)
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/venv/ops/main.py", line 139, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/venv/ops/framework.py", line 347, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/venv/ops/framework.py", line 853, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/venv/ops/framework.py", line 943, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/lib/charms/mongodb/v0/config_server_interface.py", line 320, in _on_relation_changed
updated_keyfile = self.update_keyfile(key_file_contents=key_file_contents)
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/lib/charms/mongodb/v0/config_server_interface.py", line 472, in update_keyfile
current_key_file = self.charm.get_keyfile_contents()
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/./src/charm.py", line 370, in get_keyfile_contents
key = container.pull(f"{Config.MONGOD_CONF_DIR}/{Config.TLS.KEY_FILE_NAME}")
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/venv/ops/model.py", line 2418, in pull
return self._pebble.pull(str(path), encoding=encoding)
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/venv/ops/pebble.py", line 2398, in pull
response = self._request_raw('GET', '/v1/files', query, headers)
File "/var/lib/juju/agents/unit-mongos-k8s-0/charm/venv/ops/pebble.py", line 2050, in _request_raw
raise ConnectionError(
ops.pebble.ConnectionError: Could not connect to Pebble: socket not found at '/charm/containers/mongos/pebble.socket' (container restarted?)
unit-mongos-k8s-0: 01:35:31 ERROR juju.worker.uniter.operation hook "cluster-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1
unit-mongos-k8s-0: 01:36:38 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:39:43 ERROR unit.mongos-k8s/0.juju-log External configuration: nonsensical-setting for expose-external is not valid, should be one of: ['none', 'nodeport']

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
32 changes: 32 additions & 0 deletions 381/data/attachments/6c53166bed682d95.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
INFO  pytest_operator.plugin:plugin.py:834 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.5.3 unsupported 01:38:18Z

App Version Status Scale Charm Channel Rev Address Exposed Message
config-server active 1 mongodb-k8s 6/edge 60 10.152.183.254 no
mongos-k8s active 2 mongos-k8s 0 10.152.183.164 no
shard0 active 1 mongodb-k8s 6/edge 60 10.152.183.242 no

Unit Workload Agent Address Ports Message
config-server/0* active idle 10.1.93.13 Primary
mongos-k8s/0* active idle 10.1.93.8
mongos-k8s/1 active idle 10.1.93.15
shard0/0* active idle 10.1.93.14 Primary

INFO  pytest_operator.plugin:plugin.py:840 Juju error logs:

unit-config-server-0: 01:33:28 ERROR unit.config-server/0.juju-log config-server:6: Failed to add shard shard0 to the config server, error=OperationFailure("Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed', '$clusterTime': {'clusterTime': Timestamp(1729820007, 1), 'signature': {'hash': b'\\x98\\x96<\\xb8\\xb1\\xdc\\x11\\x90\\x81\\xfbpm\\x93^\\xa4\\xce\\xb9\\x8brs', 'keyId': 7429520121808289817}}, 'operationTime': Timestamp(1729820007, 1)}")
unit-config-server-0: 01:33:28 ERROR unit.config-server/0.juju-log config-server:6: shard0 shard does not have the same auth as the config server.
unit-mongos-k8s-0: 01:35:09 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:36:11 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
Loading

0 comments on commit 7c2362e

Please sign in to comment.