#251 Kill zombie VMs from ImageFactory
Closed by kparal. Opened by frantisekz.
frantisekz/taskotron infra-ansible  into  infra-ansible

Download 251.patch

Fixes https://pagure.io/taskotron/issue/233 .

Script will iterate through all QEMU processes by imagefactory till there is no one running longer than three hours. It iterates from oldest to newest processes (if there is more than one). The script exits if the oldest QEMU processes by imagefactory is younger than 3 hours.

TODO:
- Argument to specify maximum factory run time in minutes - DONE
- Use a variable instead of duplicating the same very long argument three times - DONE

rebased onto a1b2e1801071c5d105ff347e18e4b33c9f21880a

rebased onto 50afb7f43c974fae3344ddd3cc22ff9130b8fa16

I tried to improve this in #255. Please review.

Closed in favor or #255.

Pull-Request has been closed by kparal

Metadata