Cleanup tool needs some improvements
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-mesos |
New
|
Undecided
|
Unassigned |
Bug Description
Sometimes cleanup catch some strange container, or it's a race or something:
INFO - Removing container /mesos-
INFO - Removing container /mesos-
INFO - Removing container /mesos-
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
task = get()
TypeError: ('__init__() takes at least 3 arguments (2 given)', <class 'docker.
And hangs.
At this point only mesos stack containers is running:
# docker ps -a | awk '{print $NF}'
NAMES
mesos_slave
chronos
marathon
mesos_master
zookeeper
If you try to push Ctrl+C you will get this:
^CProcess PoolWorker-2:
Process PoolWorker-3:
Process PoolWorker-1:
Process PoolWorker-5:
Process PoolWorker-4:
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
self.run()
self.run()
File "/usr/lib/
self.run()
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
self.run()
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
self.
File "/usr/lib/
task = get()
task = get()
task = get()
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
task = get()
File "/usr/lib/
task = get()
File "/usr/lib/
racquire()
racquire()
return recv()
KeyboardInterrupt
racquire()
KeyboardInterrupt
KeyboardInterrupt
KeyboardInterrupt
racquire()
KeyboardInterrupt
And it still will be hanged.