scylladb / scylla-ansible-roles

Ansible roles for deploying and managing Scylla, Scylla-Manager and Scylla-Monitoring
44 stars 38 forks source link

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

Open vreniers opened 1 month ago

vreniers commented 1 month ago

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.