Re-try package installation on failure #1219
Labels
🌀 COMMANDO-VM
A package or future to be used by COMMANDO VM
🌀 FLARE-VM
A package or feature to be used by FLARE-VM
💎 enhancement
It is working, but it could be better
❔ discussion
Further discussion is needed
Details
As @vsl-iil mentioned in mandiant/flare-vm#577, at the moment our installer tries to reinstall failed packages when a reboot occurs. This is because how the installer is implemented and it is annoying for packages that are broken. I am not sure if there is a way to avoid packages to get reinstalled, @mandiant/vms any ideas?
It is useful to try to reinstall packages that failed to install for other reasons, such as a punctual server issue (which I have had with IDA Free recently). I would like to add an option to try to reinstall failed packages so that they have more changes to get installed in automated FLARE-VM installations (without manual interaction). An idea would be to try to install every package twice as we do in the test suite. Another idea would be to do it at the end of the installation. This would mean more time happens between tries, giving server failures more time to get fixed. But I am not sure if this could cause an infinite loop if there is a reboot in the middle.
@mandiant/vms any opinions or ideas of how to best implement package re-installation on failure? As this modifies the installer, it affects Commando VM as well. 🤔
@l33th4xor1 you mentioned you install FLARE-VM without manual interaction. Do you have any ideas here? 😄
The text was updated successfully, but these errors were encountered: