Cilium leader fails hook "send-remote-write-relation-joined" due to missing .kube/config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cilium Charm |
Fix Released
|
High
|
Mateo Florido |
Bug Description
(related to LP: #2025157)
When deploying cilium related to cos-prometheus the installation fails with hook `failed: "send-remote-
========
Traceback (most recent call last):
File "/var/lib/
token = account_
File "/usr/lib/
with self.open(mode='r', encoding=encoding, errors=errors) as f:
File "/usr/lib/
return self._accessor.
FileNotFoundError: [Errno 2] No such file or directory: '/var/run/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/
return KubeConfig.
File "/var/lib/
raise exceptions.
lightkube.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/
main(
File "/var/lib/
_emit_
File "/var/lib/
event_
File "/var/lib/
framework.
File "/var/lib/
self.
File "/var/lib/
custom_
File "/var/lib/
self.
File "/var/lib/
framework.
File "/var/lib/
self.
File "/var/lib/
custom_
File "/var/lib/
self.
File "/var/lib/
self.
File "/usr/lib/
val = self.func(instance)
File "/var/lib/
client = Client(
File "/var/lib/
self._client = GenericSyncClie
File "/var/lib/
config = KubeConfig.
File "/var/lib/
return KubeConfig.
File "/var/lib/
raise exceptions.
lightkube.
========
The error message is very descriptive, but the preferred behaviour would be to retry the hook later when the kube/config is synchronized.
tags: | added: cdo-qa foundations-engine |
Changed in charm-cilium: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in charm-cilium: | |
assignee: | nobody → Mateo Florido (mateoflorido) |
status: | Triaged → In Progress |
Changed in charm-cilium: | |
status: | In Progress → Fix Committed |
Changed in charm-cilium: | |
milestone: | none → 1.28 |
Changed in charm-cilium: | |
status: | Fix Committed → Fix Released |