AliyunContainerService / log-pilot

Collect logs for docker containers
https://yq.aliyun.com/articles/674327
Apache License 2.0
1.43k stars 402 forks source link

start log-pilot error #346

Open qiankunli opened 2 years ago

qiankunli commented 2 years ago

I upgrade os, restart os, and start log-pilot error

start log-pilot: filebeat
umount: can't unmount /host/var/lib/docker/containers/f35cc935116b9d5b128f594122e08dee54c3870538f0a27a4d3adea1b816dc56/mounts/shm: No such file or directory
Traceback (most recent call last):
  File "/pilot/entrypoint", line 60, in <module>
    cleanup()
  File "/pilot/entrypoint", line 33, in cleanup
    umount(volume)
  File "/pilot/entrypoint", line 15, in umount
    subprocess.check_call('umount -l %s' % volume, shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'umount -l /host/var/lib/docker/containers/f35cc935116b9d5b128f594122e08dee54c3870538f0a27a4d3adea1b816dc56/mounts/shm' returned non-zero exit status 1