Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: promtail fails to deploy, "bind": bind source path does not exist: /run/promtail #58

Closed
metacoma opened this issue Aug 8, 2024 · 1 comment · Fixed by #59
Closed
Assignees
Labels
bug Something isn't working

Comments

@metacoma
Copy link
Contributor

metacoma commented Aug 8, 2024

$ make argocd_app_ensure
argocd/promtail              https://kubernetes.default.svc  monitoring         default  Synced     Progressing  Auto        <none>                   https://grafana.github.io/helm-charts                             6.16.4
$ kubectl -n monitoring describe pod promtail-p4j6t
Events:
  Type     Reason     Age                   From               Message
  ----     ------     ----                  ----               -------
  Normal   Scheduled  11m                   default-scheduler  Successfully assigned monitoring/promtail-p4j6t to mindwm-dev1
  Warning  Failed     8m53s (x12 over 10m)  kubelet            Error: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /run/promtail
  Normal   Pulled     52s (x50 over 10m)    kubelet            Container image "docker.io/grafana/promtail:3.0.0" already present on machine
@metacoma metacoma added the bug Something isn't working label Aug 8, 2024
@metacoma metacoma self-assigned this Aug 8, 2024
@metacoma metacoma added this to Mindwm Aug 8, 2024
@metacoma
Copy link
Contributor Author

metacoma commented Aug 8, 2024

the root cause of issue is Mirantis/cri-dockerd#345 and solution is here Mirantis/cri-dockerd#345 (comment)

bad docker api version

$ docker version
Client:                                                                                                                                                                                 
 API version:       1.43                   
  API version:      1.43 (minimum version 1.12)

good docker api version

$ docker version | grep API
 API version:       1.43
  API version:      1.43 (minimum version 1.12)

We should check that the docker api version is >= 1.46 regarding to https://github.com/Mirantis/cri-dockerd/pull/346/files#diff-2df816c74f0b99ee8e90e22c0241ffdc88baa339a213755a500089fe43f4ccf0R36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
1 participant