Host Decommission: Incomplete Platform9 Cleanup

Problem

After executing the command pcdctl decommission-node --force on host, the following packages weren't cleanly removed/still present in the host :

Decommissioned Host
Copy

Environment

  • Component - pcdctl

Answer

This is a known issue; the Platform9 team has filed the bug PCD-3504 to address the issue.

The fix for this issue is expected to be available in the v2025.12 December release.

Workaround

The workaround is to manually clean the stale packages using the below steps:

  1. Disable the affected service from the impacted host:
Affected host
Copy
  1. Try to stop if any of the services are stoppable:
Affected Host
Copy
  1. Remove unit files and drop-ins (common locations)
Affected Host
Copy
  1. Drop-in directories if present:
Affected Host
Copy
  1. Reload systemd state
Affected Host
Copy
  1. Purge leftover packages
Affected Host
Copy
  1. Remove residual binaries/configs
Affected Host
Copy
  1. Verify if the stale packages are cleaned up using:
Affected Host
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard