aau-network-security / haaukins

A Highly Accessible and Automated Virtualization Platform for Security Education
https://general.haaukins.com
Apache License 2.0
187 stars 39 forks source link

ansible fix issue regarding to deployment #595

Closed mrtrkmn closed 3 years ago

mrtrkmn commented 3 years ago

Describe the bug Ansible deployment takes too longer to execute, fixing or making it more faster would be nice to accomplish.

To Reproduce The workflow exceed timeout on Github CI, it can be checked from master branch,

Expected behavior It should be as much as fast.

mrtrkmn commented 3 years ago

The issue is not directly related to Ansible. When Haaukins platform is running under heavy load such as 3000 containers and 200 VMs, then it takes tremendous amount of time to stop all resources and re-deploy binary file. System service file timeout at some point when it is really heavy. Therefore, it is always suggested to stop Haaukins from server or make sure there is no huge amount of containers running before deploying new version. Since there is no issue regarding to Ansible, and CI itself cancels due to timeout, I am closing the issue.