Host Convergence Failure Due to Inability to Acquire DPKG Frontend Lock

Problem

When a command or an application is updating the system, it locks the dpkg file (Debian package manager) to ensure that two processes don’t change the content at the same time thereby resulting into an unwarranted situation. When such a condition occurs, the service script in this case for pf9-kube fails to execute followed by a host convergence failure.

Copy

Environment

  • Platform9 Managed OpenStack - All Versions
  • Hostagent

Cause

We can see that an apt-get purge docker-ce process runs limiting the pf9-kube to acquire a lock on the docker installation procedure as a part of the pf9-kube script service execution.

Copy

Resolution

  1. Force kill the process with SIGKILL signal.
Copy
  1. On removal of the process, the pf9-kube service completes its execution and the host converges successfully.
Copy

Additional Information

Lock Error Fix

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard