Prevent clovisor from unable to create qdisc / filter from previous 93/66693/1
authorStephen Wong <stephen.kf.wong@gmail.com>
Mon, 28 Jan 2019 08:19:11 +0000 (08:19 +0000)
committerStephen Wong <stephen.kf.wong@gmail.com>
Mon, 28 Jan 2019 08:22:28 +0000 (08:22 +0000)
commita0a9f9e8bc71615899a76caa2eda85aef9930a4f
tree0e40bfbced28710d5ee7286cec99e8e774b11652
parent6aa27547b71bff174e3017f637a002546033bf39
Prevent clovisor from unable to create qdisc / filter from previous
instance dying abnormally (qdisc deletion is part of exit callback for
pod under monitoring, but if clovisor exits abnormally, qdisc would not
be deleted, which cause the restarted new clovisor pod unable to load
BPF code to the pods under monitoring)

Change-Id: I5620f34e7f05805e203d1cfda9a8f7a1d42fd4f5
Signed-off-by: Stephen Wong <stephen.kf.wong@gmail.com>
clover/clovisor/bin/clovisor
clover/clovisor/build-docker
clover/clovisor/libclovisor/clovisor_bcc.go