-
Notifications
You must be signed in to change notification settings - Fork 50
Docker should be only started after taupage-init is done #476
Comments
Not sure why you see relation with #441? |
Because we should also not start the application if the init tasks fail. |
Yes, but in this case init didn't fail, it was just done in the incorrect order. And I think if |
The bug report has led me to believe that it'll just proceed to the next script. However you're right, it'll just abort and not do anything, and the issue with container starting isn't related to |
The root cause here is that there 2 sets of init scripts in taupage: the ones shipped in the system packages that live in This issue is exactly the case when normal operation of a system init script (for docker) depends on running a custom init script from taupage ( |
If the instance is rebooted because of AWS instance autorecovery, the application will start before the disks are mounted (fsck takes time, and the image is already cached), which will obviously fail. This should be fixed by making the application only start after all (or at least important for the application) init scripts are done. See also #441.
The text was updated successfully, but these errors were encountered: