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

[Wipe node playbook] Failure to remove apt packages when a lock is present. #418

Open
vreniers opened this issue Oct 17, 2024 · 0 comments

Comments

@vreniers
Copy link
Collaborator

While running the wipe node playbook, in currently the final step, it removes all scylla-related packages.
In one case, I observed an error in which seemingly another process was holding a dpkg lock, failing the removal of such packages.

TASK [Remove Scylla packages]
...
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process XXX (unattended-upgr)

I omitted the process ID, and did not see such a process running when inspecting the machine.

  • We could set retries on this task, as well as a certain delay, to try a few times.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant