Issue when deploying with Focal
Closed this issue · 2 comments
aym-frikha commented
Steps to reproduce
- deploy the bundle with just changing the series to focal
Expected behavior
All units are green and working correctly
Actual behavior
Error Logs from one unit, and it's the same for all the other units: https://pastebin.canonical.com/p/vR552gs2mg/
Versions
3/stable
Operating system:
focal
Juju CLI: 2.9.43-ubuntu-amd64
Juju agent: 2.9.43
Charm revision: 3/stable rev 123
LXD: 5.0 /5.13
Log output
Juju debug log:
2023-06-14 08:26:36 INFO juju.worker.uniter resolver.go:155 awaiting error resolution for "storage-attached" hook
2023-06-14 08:26:36 WARNING unit.kafka/0.data-storage-attached logger.go:60 Traceback (most recent call last):
2023-06-14 08:26:36 WARNING unit.kafka/0.data-storage-attached logger.go:60 File "./src/charm.py", line 29, in <module>
2023-06-14 08:26:36 WARNING unit.kafka/0.data-storage-attached logger.go:60 from config import KafkaConfig
2023-06-14 08:26:36 WARNING unit.kafka/0.data-storage-attached logger.go:60 File "/var/lib/juju/agents/unit-kafka-0/charm/src/config.py", line 26, in <module>
2023-06-14 08:26:36 WARNING unit.kafka/0.data-storage-attached logger.go:60 from utils import map_env, safe_write_to_file, update_env
2023-06-14 08:26:36 WARNING unit.kafka/0.data-storage-attached logger.go:60 File "/var/lib/juju/agents/unit-kafka-0/charm/src/utils.py", line 145, in <module>
2023-06-14 08:26:36 WARNING unit.kafka/0.data-storage-attached logger.go:60 def map_env(env: list[str]) -> dict[str, str]:
2023-06-14 08:26:36 WARNING unit.kafka/0.data-storage-attached logger.go:60 TypeError: 'type' object is not subscriptable
aym-frikha commented
Seems the bundle is not tested for Focal.