#983 production backend uses /usr/bin/ansible-timeout for spawning VMs
Closed: Fixed 3 years ago by praiskup. Opened 4 years ago by praiskup.

This is hack around the infinite dangling ansible-playbook processes which happen against the obsolescent fedorainfracloud.org now (copr vm manager thinks that the stucked processes do something, and respects the max_spawn_processes -- so in other words, nothing is spawned).

We should either implement some timeout in code, and drop the hack - or make the hack reproducible after re-deploy, so either:
- implement some configurable timeout in code
- provide /usr/bin/copr-ansible-playbook-timeout script, and use that by our code, or
- provide config option for the ansible-playbook script, and configure the rest by ansible


I'm filling this bug because we were bit by this yesterday, after fresh copr update. Because I entirely forgot we have this hack in, we updated backend - and later the day I had to restore the hack manually again.

Metadata Update from @praiskup:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata