Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Failing to install python package on DigitalOcean #457
Streisand is frequently failing installation on DigitalOcean ultimately with:
It appears there may be a race condition with the cloud instance init scripts where the package repositories change between when the instance becomes available via SSH and the file system stabilizes / init completes.
For example, this is the repo list that's enumerated when streisand fails to apt update and install python:
But after the file system settles and python is installed manually with apt:
This is the cloud init script showing the apt-configure command where the ubuntu package source list is updated.
Similar issue: neillturner/kitchen-ansible#192
Issue was resolved by adding the following:
Waiting for this task adds just a few seconds to the process. AFAIK Amazon, Rackspace, and Google use the same boot-finished file.