Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt upgrade can fail if unattended upgrades are in process #14

Open
Apreche opened this issue Jul 29, 2021 · 0 comments
Open

apt upgrade can fail if unattended upgrades are in process #14

Apreche opened this issue Jul 29, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Apreche
Copy link
Owner

Apreche commented Jul 29, 2021

If the deployment playbook unluckily fires at the same time that the system's unattended upgrades are in process, the entire playbook will fail on that task because of contention for the dpkg lock.

Find some sort of solution for this so the playbook never errors. We can probably just skip the apt upgrade step if this is happening.

However, for other tasks, like installing PostgreSQL, we can't just skip if it is not already installed. We'll need some sort of clever wait/retry? At the very least we can tell the user to wait a bit, then press the retry button on their Github Action.

@Apreche Apreche added the bug Something isn't working label Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant