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
unit-cp-0: 14:06:22.282 DEBUG unit.cp/0.juju-log monitors:16: ops 2.11.0.dev0 up and running.
unit-cp-0: 14:06:22.302 DEBUG unit.cp/0.juju-log monitors:16: Emitting Juju event monitors_relation_joined.
unit-cp-0: 14:06:22.325 ERROR unit.cp/0.juju-log monitors:16: Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-cp-0/charm/./src/charm.py", line 498, in <module>
main(COSProxyCharm)
File "/var/lib/juju/agents/unit-cp-0/charm/venv/ops/main.py", line 456, in main
_emit_charm_event(charm, dispatcher.event_name)
File "/var/lib/juju/agents/unit-cp-0/charm/venv/ops/main.py", line 144, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-cp-0/charm/venv/ops/framework.py", line 352, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-cp-0/charm/venv/ops/framework.py", line 865, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-cp-0/charm/venv/ops/framework.py", line 955, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-cp-0/charm/./src/charm.py", line 203, in _nrpe_relation_joined
self._setup_nrpe_exporter()
File "/var/lib/juju/agents/unit-cp-0/charm/./src/charm.py", line 216, in _setup_nrpe_exporter
st.chmod(st.stat().st_mode | stat.S_IEXEC)
File "/usr/lib/python3.10/pathlib.py", line 1097, in stat
return self._accessor.stat(self, follow_symlinks=follow_symlinks)
FileNotFoundError: [Errno 2] No such file or directory: 'nrpe_exporter-amd64'
The text was updated successfully, but these errors were encountered:
sed-i
changed the title
Hook error for monitors_relation_joined: FileNotFoundError: [Errno 2] No such file or directory: 'nrpe_exporter-amd64'
Hook error for monitors_relation_joined: FileNotFoundError for nrpe_exporter-amd64Feb 27, 2024
Charm went into error status in the following deployment:
The text was updated successfully, but these errors were encountered: