Skip to content

Commit

Permalink
Allure report 485
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 19, 2024
1 parent 9aca2ae commit ad06fa8
Show file tree
Hide file tree
Showing 117 changed files with 1,732 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 485/app.js

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions 485/data/attachments/1082780f123e6372.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:53:59Z

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.245 no
mongos-k8s active 1 mongos-k8s 0 10.152.183.207 no
shard0 active 1 mongodb-k8s 6/edge 61 10.152.183.108 no

Unit Workload Agent Address Ports Message
application/0* active idle
config-server/0* active idle 10.1.88.15 Primary
mongos-k8s/0* active idle 10.1.88.10
shard0/0* active idle 10.1.88.16 Primary

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

unit-config-server-0: 01:49:15 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(1734572955, 1), 'signature': {'hash': b'\\xe8\\xd7\\xe4\\xbf\\xa2\\xf8\\xe7\\x1ez\\xe4\\xb4\\xb0r\\xd0X\\x9a\\xb7=\\xb6y', 'keyId': 7449933878027878425}}, 'operationTime': Timestamp(1734572955, 1)}")
unit-config-server-0: 01:49:15 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:50:57 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:51:59 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
111 changes: 111 additions & 0 deletions 485/data/attachments/1851298e6f9d529d.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/self-signed-certificates-155
INFO  juju.model:model.py:2972 Waiting for model:
self-signed-certificates-separate/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] blocked: mongos requires TLS to be enabled.
mongos-k8s/1 [idle] blocked: mongos requires TLS to be enabled.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: enabling TLS
mongos-k8s/1 [executing] maintenance: enabling TLS
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: enabling TLS
mongos-k8s/1 [executing] maintenance: enabling TLS
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: enabling TLS
mongos-k8s/1 [executing] maintenance: enabling TLS
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: enabling TLS
mongos-k8s/1 [executing] maintenance: enabling TLS
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] waiting: Waiting for MongoDB to start
mongos-k8s/1 [idle] waiting: Waiting for MongoDB to start
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 02:19:02Z

App Version Status Scale Charm Channel Rev Address Exposed Message
config-server active 1 mongodb-k8s 6/edge 61 10.152.183.213 no
mongos-k8s waiting 2 mongos-k8s 0 10.152.183.116 no installing agent
self-signed-certificates active 1 self-signed-certificates latest/edge 225 10.152.183.101 no
self-signed-certificates-separate active 1 self-signed-certificates latest/stable 155 10.152.183.98 no
shard0 active 1 mongodb-k8s 6/edge 61 10.152.183.65 no

Unit Workload Agent Address Ports Message
config-server/0* active idle 10.1.37.142 Primary
mongos-k8s/0* blocked idle 10.1.37.136 mongos CA and Config-Server CA don't match.
mongos-k8s/1 blocked executing 10.1.37.143 mongos CA and Config-Server CA don't match.
self-signed-certificates-separate/0* active idle 10.1.37.145
self-signed-certificates/0* active idle 10.1.37.144
shard0/0* active idle 10.1.37.141

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

unit-config-server-0: 01:49:38 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(1734572977, 1), 'signature': {'hash': b'l\\x94\\xfb\\x16#\\xff\\x93\\xe5\\xee\\x0c\\x8e\\xaaE!\\x87\\xc61d\\x0cM', 'keyId': 7449933963927224345}}, 'operationTime': Timestamp(1734572977, 1)}")
unit-config-server-0: 01:49:38 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:51:18 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-1: 01:51:18 ERROR unit.mongos-k8s/1.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-1: 01:52:20 ERROR unit.mongos-k8s/1.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:52:20 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-1: 01:52:26 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:52:27 ERROR juju.worker.uniter.operation hook "cluster-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1
unit-mongos-k8s-1: 01:54:14 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:54:15 ERROR unit.mongos-k8s/1.juju-log certificates:8: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 01:54:15 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:54:15 ERROR unit.mongos-k8s/0.juju-log certificates:8: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-shard0-0: 01:57:32 ERROR unit.shard0/0.juju-log certificates:10: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-config-server-0: 01:57:33 ERROR unit.config-server/0.juju-log certificates:9: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-shard0-0: 01:57:33 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:57:33 ERROR unit.config-server/0.juju-log certificates:9: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 02:11:42 ERROR unit.mongos-k8s/0.juju-log certificates:11: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-mongos-k8s-1: 02:11:42 ERROR unit.mongos-k8s/1.juju-log certificates:11: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 02:11:42 ERROR unit.mongos-k8s/0.juju-log certificates:11: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-mongos-k8s-1: 02:11:42 ERROR unit.mongos-k8s/1.juju-log certificates:11: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 02:14:55 ERROR unit.mongos-k8s/0.juju-log certificates:12: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-mongos-k8s-1: 02:14:55 ERROR unit.mongos-k8s/1.juju-log certificates:12: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 02:14:55 ERROR unit.mongos-k8s/0.juju-log certificates:12: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-mongos-k8s-1: 02:14:55 ERROR unit.mongos-k8s/1.juju-log certificates:12: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 02:18:58 ERROR unit.mongos-k8s/0.juju-log mongos is integrated to a different CA than the config server. Please use the same CA for all cluster components.
unit-mongos-k8s-1: 02:19:00 ERROR unit.mongos-k8s/1.juju-log mongos is integrated to a different CA than the config server. Please use the same CA for all cluster components.

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
32 changes: 32 additions & 0 deletions 485/data/attachments/2060c059c004cf0.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:53:49Z

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

Unit Workload Agent Address Ports Message
config-server/0* active idle 10.1.71.141 Primary
mongos-k8s/0* active idle 10.1.71.136
mongos-k8s/1 active idle 10.1.71.143
shard0/0* active idle 10.1.71.142 Primary

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

unit-config-server-0: 01:48:54 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(1734572934, 1), 'signature': {'hash': b'\\x1b\\x8cT\\xdd\\x00\\xef\\x83q\\xc7\\x88X\\xf3\\xf0\\xf4U\\x01(*\\x91\\xa7', 'keyId': 7449933774948663321}}, 'operationTime': Timestamp(1734572934, 1)}")
unit-config-server-0: 01:48:54 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:50:36 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:51:38 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
53 changes: 53 additions & 0 deletions 485/data/attachments/3a60d5797bce25d5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
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
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:
config-server/0 [idle] active:
mongos-k8s/0 [executing] maintenance: starting mongos
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-78
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 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
data-integrator/0 [idle] active:
31 changes: 31 additions & 0 deletions 485/data/attachments/492a515a899c7c44.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:56:08Z

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.220 no
data-integrator active 1 data-integrator latest/stable 78 10.152.183.156 no
mongos-k8s active 1 mongos-k8s 0 10.152.183.119 no
shard0 active 1 mongodb-k8s 6/edge 61 10.152.183.45 no

Unit Workload Agent Address Ports Message
application/0* active idle
config-server/0* active idle 10.1.46.141 Primary
data-integrator/0* active idle 10.1.46.145
mongos-k8s/0* active idle 10.1.46.136
shard0/0* active idle 10.1.46.142 Primary

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

unit-config-server-0: 01:49:03 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(1734572942, 2), 'signature': {'hash': b'\\x0b\\xbc\\xf0g\\x9b\\xec\\x91CI#7\\x08y\\x93\\x14\\x98\\x99\\xc5\\xdf\\x10', 'keyId': 7449933830783238147}}, 'operationTime': Timestamp(1734572942, 2)}")
unit-config-server-0: 01:49:03 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:50:44 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:51:46 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:54:51 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...
Loading

0 comments on commit ad06fa8

Please sign in to comment.