Fixes: https://tracker.ceph.com/issues/65022
Fixes: bb71023ced2d97a2590b98c4b820e7af6f1801b3
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
57022d9b1c24077841c23aa3228494cee35f02e2)
For a process that was returned by one of the _background member functions,
kill it hard.
"""
- procs = [p] if p is not None else self.background_procs
+ procs = [p] if p is not None else list(self.background_procs)
for p in procs:
log.debug(f"terminating {p}")
self._kill_background(p)