You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use falcon-linux-install.sh inside a userdata/cloudinit script that also installs other things using apt/dpkg, there is a race condition that will occasionally occur because other processes still have the dpkg lock. The end result of this is that the instance (occasionally) won't start unless you insert some polling for the dpkg lock prior to using this script.
A more elegant fix may be to to insert -o DPkg::Lock::Timeout=30 into the apt command on line 408:
If you use falcon-linux-install.sh inside a userdata/cloudinit script that also installs other things using apt/dpkg, there is a race condition that will occasionally occur because other processes still have the dpkg lock. The end result of this is that the instance (occasionally) won't start unless you insert some polling for the dpkg lock prior to using this script.
A more elegant fix may be to to insert
-o DPkg::Lock::Timeout=30
into the apt command on line 408:falcon-scripts/bash/install/falcon-linux-install.sh
Line 408 in 5075ab3
This will mean that apt now waits up to 30 seconds for other processes to release the DPKG lock, rather than failing immediately.
The text was updated successfully, but these errors were encountered: