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
Glauth and sssd charms seem to be having trouble. pluto bootstrap test-cluster hangs forever due to application hook errors.
$ pluto bootstrap test-cluster
Deploying cluster test-cluster. This will take several minutes...
Provisioning default user 'researcher'... / (708.8s)
To Reproduce
pluto bootstrap test-cluster
Environment
git clone main
pip install .
Relevant log output
unit-glauth-0: 05:57:13 ERROR unit.glauth/0.juju-log ldap-client:18: Uncaught exception whilein charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-glauth-0/charm/./src/charm.py", line 102, in<module>
main(GlauthCharm)
File "/var/lib/juju/agents/unit-glauth-0/charm/venv/ops/main.py", line 441, in main
_emit_charm_event(charm, dispatcher.event_name)
File "/var/lib/juju/agents/unit-glauth-0/charm/venv/ops/main.py", line 149, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-glauth-0/charm/venv/ops/framework.py", line 354, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-glauth-0/charm/venv/ops/framework.py", line 830, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-glauth-0/charm/venv/ops/framework.py", line 919, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-glauth-0/charm/src/ldapclient_lib.py", line 205, in _on_relation_joined
ldap_uri = self.set_config(self.model.config["tls"], config=resource_path)
File "/var/lib/juju/agents/unit-glauth-0/charm/src/ldapclient_lib.py", line 249, in set_config
with zipfile.ZipFile(config, "r") as zip:
File "/usr/lib/python3.10/zipfile.py", line 1269, in __init__
self._RealGetContents()
File "/usr/lib/python3.10/zipfile.py", line 1336, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
unit-sssd-1: 05:58:52 INFO juju.worker.uniter.charm downloading ch:amd64/jammy/sssd-3 from API server
unit-sssd-1: 05:58:53 WARNING unit.unit-sssd-1.meter-status-changed Traceback (most recent call last):
unit-sssd-1: 05:58:53 WARNING unit.unit-sssd-1.meter-status-changed File "/var/lib/juju/agents/unit-sssd-1/charm/./src/charm.py", line 9, in<module>
unit-sssd-1: 05:58:53 WARNING unit.unit-sssd-1.meter-status-changed from ops.charm import CharmBase
unit-sssd-1: 05:58:53 WARNING unit.unit-sssd-1.meter-status-changed File "/var/lib/juju/agents/unit-sssd-1/charm/venv/ops/__init__.py", line 170, in<module>
unit-sssd-1: 05:58:53 WARNING unit.unit-sssd-1.meter-status-changed from . import pebble # type: ignore # noqa: F401
unit-sssd-1: 05:58:53 WARNING unit.unit-sssd-1.meter-status-changed File "/var/lib/juju/agents/unit-sssd-1/charm/venv/ops/pebble.py", line 63, in<module>
unit-sssd-1: 05:58:53 WARNING unit.unit-sssd-1.meter-status-changed import websocket # type: ignore
unit-sssd-1: 05:58:53 WARNING unit.unit-sssd-1.meter-status-changed ModuleNotFoundError: No module named 'websocket'
unit-sssd-1: 05:58:53 ERROR juju.worker.meterstatus error running "meter-status-changed": exit status 1
unit-sssd-2: 06:03:27 ERROR unit.sssd/2.juju-log ldap-client:18: Uncaught exception whilein charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-sssd-2/charm/./src/charm.py", line 105, in<module>
main(SSSDCharm)
File "/var/lib/juju/agents/unit-sssd-2/charm/venv/ops/main.py", line 441, in main
_emit_charm_event(charm, dispatcher.event_name)
File "/var/lib/juju/agents/unit-sssd-2/charm/venv/ops/main.py", line 149, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-sssd-2/charm/venv/ops/framework.py", line 344, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-sssd-2/charm/venv/ops/framework.py", line 841, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-sssd-2/charm/venv/ops/framework.py", line 930, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-sssd-2/charm/src/utils/ldapclient_lib.py", line 295, in _on_relation_changed
ca_cert = event.relation.data[event.app]["ca-cert"]
File "/var/lib/juju/agents/unit-sssd-2/charm/venv/ops/model.py", line 1582, in __getitem__
returnsuper().__getitem__(key)
File "/var/lib/juju/agents/unit-sssd-2/charm/venv/ops/model.py", line 686, in __getitem__
return self._data[key]
KeyError: 'ca-cert'
Additional context
No response
The text was updated successfully, but these errors were encountered:
Bug Description
Glauth and sssd charms seem to be having trouble.
pluto bootstrap test-cluster
hangs forever due to application hook errors.$ pluto bootstrap test-cluster Deploying cluster test-cluster. This will take several minutes... Provisioning default user 'researcher'... / (708.8s)
To Reproduce
pluto bootstrap test-cluster
Environment
git clone main pip install .
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: