Skip to content

Commit

Permalink
Allure report 450
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 30, 2024
1 parent cb29045 commit 8489c6e
Show file tree
Hide file tree
Showing 113 changed files with 1,607 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 450/app.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions 450/data/attachments/13581be562e6baca.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
shard0/0 [idle] active: Primary
31 changes: 31 additions & 0 deletions 450/data/attachments/2b49b67b13d379d5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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:47:23Z

App Version Status Scale Charm Channel Rev Address Exposed Message
application active 1 application 0 no
config-server active 1 mongodb-k8s 6/edge 61 10.152.183.33 no
data-integrator active 1 data-integrator latest/stable 78 10.152.183.253 no
mongos-k8s active 1 mongos-k8s 0 10.152.183.86 no
shard0 active 1 mongodb-k8s 6/edge 61 10.152.183.44 no

Unit Workload Agent Address Ports Message
application/0* active idle
config-server/0* active idle 10.1.34.206 Primary
data-integrator/0* active idle 10.1.34.209
mongos-k8s/0* active idle 10.1.34.200
shard0/0* active idle 10.1.34.205 Primary

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

unit-config-server-0: 01:40:13 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(1732930812, 1), 'signature': {'hash': b'P\\xa6k\\xb3\\x0c5\\xf8\\x13\\xe5@\\xe51\\x1a)n\\xdb3\\x98\\x1b&', 'keyId': 7442880927547523097}}, 'operationTime': Timestamp(1732930812, 1)}")
unit-config-server-0: 01:40:13 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:41:55 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:42:57 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:46:06 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...
3 changes: 3 additions & 0 deletions 450/data/attachments/34a4ccdc213cd4a3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
INFO  juju.model:model.py:2972 Waiting for model:
application/0 [idle] active:
mongos-k8s/0 [idle] active:
2 changes: 2 additions & 0 deletions 450/data/attachments/46a4cc0dd352776e.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.
27 changes: 27 additions & 0 deletions 450/data/attachments/55a1c732ba5bd3b5.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:44:53Z

App Version Status Scale Charm Channel Rev Address Exposed Message
application active 1 application 0 no
config-server active 1 mongodb-k8s 6/edge 61 10.152.183.95 no
mongos-k8s active 1 mongos-k8s 0 10.152.183.41 no
shard0 active 1 mongodb-k8s 6/edge 61 10.152.183.151 no

Unit Workload Agent Address Ports Message
application/0* active idle
config-server/0* active idle 10.1.18.79 Primary
mongos-k8s/0* active idle 10.1.18.74
shard0/0* active idle 10.1.18.80 Primary

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

unit-config-server-0: 01:40:09 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(1732930808, 1), 'signature': {'hash': b'V\\x8f\\xcf\\x19\\xcb\\x0f\\xb7as\\xc3\\x89F\\xf2\\x04g^f\\x7f\\rg', 'keyId': 7442880910367653913}}, 'operationTime': Timestamp(1732930808, 1)}")
unit-config-server-0: 01:40:09 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:41:50 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:42:53 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
63 changes: 63 additions & 0 deletions 450/data/attachments/5bf8a786045430e8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
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-61
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-61
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [allocating] waiting: installing agent
mongos-k8s/1 [allocating] waiting: installing agent
mongos-k8s/2 [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.
mongos-k8s/1 [executing] blocked: Missing relation to config-server.
mongos-k8s/2 [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:
mongos-k8s/1 [idle] blocked: Missing relation to config-server.
shard0/0 [idle] active:
config-server/0 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
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.
mongos-k8s/1 [executing] blocked: Missing relation to config-server.
mongos-k8s/2 [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.
mongos-k8s/1 [executing] blocked: Missing relation to config-server.
mongos-k8s/2 [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.
mongos-k8s/1 [executing] blocked: Missing relation to config-server.
mongos-k8s/2 [executing] blocked: Missing relation to config-server.
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
mongos-k8s/0 [executing] waiting: Connecting to config-server
mongos-k8s/1 [executing] waiting: Connecting to config-server
mongos-k8s/2 [executing] waiting: Connecting to config-server
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] waiting: Connecting to config-server
mongos-k8s/1 [executing] waiting: Connecting to config-server
mongos-k8s/2 [executing] waiting: Connecting to config-server
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [executing] active:
mongos-k8s/0 [executing] maintenance: starting mongos
mongos-k8s/1 [executing] active:
mongos-k8s/2 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
mongos-k8s/2 [idle] active:
32 changes: 32 additions & 0 deletions 450/data/attachments/670f7da8ae46cd5e.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:45:02Z

App Version Status Scale Charm Channel Rev Address Exposed Message
config-server active 1 mongodb-k8s 6/edge 61 10.152.183.153 no
mongos-k8s active 2 mongos-k8s 0 10.152.183.73 no
shard0 active 1 mongodb-k8s 6/edge 61 10.152.183.159 no

Unit Workload Agent Address Ports Message
config-server/0* active idle 10.1.187.77
mongos-k8s/0* active idle 10.1.187.72
mongos-k8s/1 active idle 10.1.187.79
shard0/0* active idle 10.1.187.78

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

unit-config-server-0: 01:40:09 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(1732930809, 3), 'signature': {'hash': b'\\x99[\\xe8q\\xaf\\x7f8PXhZ\\xcb\\xf4\\x99\\x17\\xb7\\xce\\x15\\xc6\\xe1', 'keyId': 7442880914662621204}}, 'operationTime': Timestamp(1732930809, 3)}")
unit-config-server-0: 01:40:09 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:41:50 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:42:52 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
41 changes: 41 additions & 0 deletions 450/data/attachments/6a97d5dc4d2fcb29.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
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-61
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-61
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] 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:
mongos-k8s/0 [executing] maintenance: starting mongos
70 changes: 70 additions & 0 deletions 450/data/attachments/877c4e874667e795.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
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:47:37Z

App Version Status Scale Charm Channel Rev Address Exposed Message
config-server active 1 mongodb-k8s 6/edge 61 10.152.183.113 no
mongos-k8s waiting 2 mongos-k8s 0 10.152.183.81 no installing agent
self-signed-certificates active 1 self-signed-certificates latest/edge 212 10.152.183.85 no
shard0 waiting 1 mongodb-k8s 6/edge 61 10.152.183.236 no installing agent

Unit Workload Agent Address Ports Message
config-server/0* maintenance executing 10.1.55.77 enabling TLS
mongos-k8s/0* blocked idle 10.1.55.72 mongos has TLS enabled, but config-server does not.
mongos-k8s/1 blocked idle 10.1.55.79 mongos has TLS enabled, but config-server does not.
self-signed-certificates/0* active idle 10.1.55.80
shard0/0* error idle 10.1.55.78 hook failed: "certificates-relation-changed"

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

unit-mongos-k8s-0: 01:41:23 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-1: 01:41:23 ERROR unit.mongos-k8s/1.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:42:25 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-1: 01:42:26 ERROR unit.mongos-k8s/1.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-1: 01:42:28 ERROR unit.mongos-k8s/1.juju-log cluster:7: Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/./src/charm.py", line 977, in <module>
main(MongosCharm)
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/venv/ops/main.py", line 553, in main
manager.run()
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/venv/ops/main.py", line 529, in run
self._emit()
File "/var/lib/juju/agents/unit-mongos-k8s-1/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-1/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-1/charm/venv/ops/framework.py", line 347, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/venv/ops/framework.py", line 853, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/venv/ops/framework.py", line 943, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/lib/charms/mongodb/v0/config_server_interface.py", line 346, in _on_relation_changed
self._update_k8s_users(event)
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/lib/charms/mongodb/v0/config_server_interface.py", line 354, in _update_k8s_users
self.charm.client_relations.oversee_users(None, None)
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/lib/charms/mongodb/v1/mongodb_provider.py", line 197, in oversee_users
with MongoConnection(self.charm.mongo_config) as mongo:
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/lib/charms/mongodb/v0/mongo.py", line 174, in __init__
uri = config.uri
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/lib/charms/mongodb/v0/mongo.py", line 121, in uri
f"mongodb://{quote_plus(self.username)}:"
File "/usr/lib/python3.10/urllib/parse.py", line 897, in quote_plus
string = quote(string, safe + space, encoding, errors)
File "/usr/lib/python3.10/urllib/parse.py", line 881, in quote
return quote_from_bytes(string, safe)
File "/usr/lib/python3.10/urllib/parse.py", line 906, in quote_from_bytes
raise TypeError("quote_from_bytes() expected bytes")
TypeError: quote_from_bytes() expected bytes
unit-mongos-k8s-1: 01:42:29 ERROR juju.worker.uniter.operation hook "cluster-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1
unit-mongos-k8s-0: 01:44:19 ERROR unit.mongos-k8s/0.juju-log certificates:8: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 01:44:19 ERROR unit.mongos-k8s/0.juju-log certificates:8: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-mongos-k8s-1: 01:44:21 ERROR unit.mongos-k8s/1.juju-log certificates:8: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-mongos-k8s-1: 01:44:21 ERROR unit.mongos-k8s/1.juju-log certificates:8: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-shard0-0: 01:47:24 ERROR unit.shard0/0.juju-log certificates:10: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-shard0-0: 01:47:24 ERROR unit.shard0/0.juju-log certificates:10: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-config-server-0: 01:47:26 ERROR unit.config-server/0.juju-log certificates:9: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-config-server-0: 01:47:26 ERROR unit.config-server/0.juju-log certificates:9: Non-existing secret unit:ext-cert-secret was attempted to be removed.

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

0 comments on commit 8489c6e

Please sign in to comment.