You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Model Controller Cloud/Region Version SLA Timestamp
test localhost-localhost localhost/localhost 3.6-beta3.1 unsupported 20:11:17+01:00
App Version Status Scale Charm Channel Rev Exposed Message
kafka 3.6.1 active 1 kafka 3/edge 193 no
kafka-benchmark blocked 1 kafka-benchmark 0 no No database relation available
Unit Workload Agent Machine Public address Ports Message
kafka-benchmark/0* blocked idle 0 10.156.142.161 No database relation available
kafka/0* active executing 1 10.156.142.234
Machine State Address Inst id Base AZ Message
0 started 10.156.142.161 juju-cee4f8-0 [email protected] Running
1 started 10.156.142.234 juju-cee4f8-1 [email protected] Running
Integration provider Requirer Interface Type Message
kafka-benchmark:benchmark-peer kafka-benchmark:benchmark-peer benchmark_peers peer
kafka:cluster kafka:cluster cluster peer
kafka:kafka-client kafka-benchmark:kafka kafka_client regular
kafka:restart kafka:restart rolling_op peer
kafka:upgrade kafka:upgrade upgrade peer
The relation was not populated yet. It fails with:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-kafka-0/charm/./src/charm.py", line 178, in <module>
ops.main(KafkaCharm) # pyright: ignore[reportCallIssue]
File "/var/lib/juju/agents/unit-kafka-0/charm/venv/ops/__init__.py", line 343, in __call__
return _main.main(charm_class=charm_class, use_juju_for_storage=use_juju_for_storage)
File "/var/lib/juju/agents/unit-kafka-0/charm/venv/ops/_main.py", line 543, in main
manager.run()
File "/var/lib/juju/agents/unit-kafka-0/charm/venv/ops/_main.py", line 529, in run
self._emit()
File "/var/lib/juju/agents/unit-kafka-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-kafka-0/charm/venv/ops/_main.py", line 134, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-kafka-0/charm/venv/ops/framework.py", line 347, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-kafka-0/charm/venv/ops/framework.py", line 857, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-kafka-0/charm/venv/ops/framework.py", line 947, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-kafka-0/charm/src/events/provider.py", line 124, in _on_relation_broken
self.dependent.auth_manager.remove_all_user_acls(username=username)
File "/var/lib/juju/agents/unit-kafka-0/charm/src/managers/auth.py", line 309, in remove_all_user_acls
current_user_acls = {acl for acl in self.current_acls if acl.username == username}
File "/var/lib/juju/agents/unit-kafka-0/charm/src/managers/auth.py", line 46, in current_acls
acls = self._get_acls_from_cluster()
File "/var/lib/juju/agents/unit-kafka-0/charm/src/managers/auth.py", line 56, in _get_acls_from_cluster
acls = self.workload.run_bin_command(
File "/var/lib/juju/agents/unit-kafka-0/charm/src/workload.py", line 185, in run_bin_command
return self.exec(command)
File "/var/lib/juju/agents/unit-kafka-0/charm/src/workload.py", line 108, in exec
raise e
File "/var/lib/juju/agents/unit-kafka-0/charm/src/workload.py", line 96, in exec
output = subprocess.check_output(
File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'KAFKA_LOG4J_OPTS='-Dlog4j.configuration=file:/var/snap/charmed-kafka/current/etc/kafka/tools-log4j.properties -Dcharmed.kafka.log.level=INFO' charmed-kafka.acls --bootstrap-server=10.156.142.234:9092 --command-config=/var/snap/charmed-kafka/current/etc/kafka/client.properties --list' returned non-zero exit status 1.
phvalguima
changed the title
Client relation-broken fails with ACL error
Client relation-broken fails with ACL error in Kraft mode
Dec 8, 2024
phvalguima
changed the title
Client relation-broken fails with ACL error in Kraft mode
Client relation-changed and relation-broken fails with ACL error in Kraft mode
Dec 8, 2024
I am trying to remove a client application with:
Kafka config: https://pastebin.ubuntu.com/p/QTh2grfGvY/
Juju Status:
The relation was not populated yet. It fails with:
Full logs: https://pastebin.ubuntu.com/p/jcVd8vkWxB/
Running it manually returns:
The text was updated successfully, but these errors were encountered: