Knowledge Base
2025.10
GENERIC
Networking
Storage
Compute
Designate
Orchestration
Self-Hosted
Install
UPGRADE
Monitoring
Add-Ons
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Host Decommission: Incomplete Platform9 Cleanup
Copy Markdown
Open in ChatGPT
Open in Claude
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
$ systemctl list-units --all | grep pf9● pf9-libvirt-exporter.service not-found inactive dead pf9-libvirt-exporter.service● pf9-neutron-ovn-metadata-agent.service not-found active running pf9-neutron-ovn-metadata-agent.service● pf9-node-exporter.service not-found inactive dead pf9-node-exporter.service● pf9-prometheus.service not-found inactive dead pf9-prometheus.service● pf9-remote-write.service not-found inactive dead pf9-remote-write.service● pf9-sidekick.service not-found inactive dead pf9-sidekick.serviceEnvironment
- 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:
- Disable the affected service from the impacted host:
Affected host
xxxxxxxxxxsudo systemctl disable pf9-libvirt-exporter pf9-node-exporter pf9-prometheus pf9-remote-write pf9-sidekick 2>/dev/null- Try to stop if any of the services are stoppable:
Affected Host
xxxxxxxxxxsudo systemctl stop pf9-libvirt-exporter pf9-node-exporter pf9-prometheus pf9-remote-write pf9-sidekick 2>/dev/null- Remove unit files and drop-ins (common locations)
Affected Host
xxxxxxxxxxsudo rm -f /etc/systemd/system/pf9-libvirt-exporter.service sudo rm -f /etc/systemd/system/pf9-node-exporter.service sudo rm -f /etc/systemd/system/pf9-prometheus.service sudo rm -f /etc/systemd/system/pf9-remote-write.service sudo rm -f /etc/systemd/system/pf9-sidekick.service- Drop-in directories if present:
Affected Host
xxxxxxxxxxsudo rm -rf /etc/systemd/system/pf9-libvirt-exporter.service.d sudo rm -rf /etc/systemd/system/pf9-node-exporter.service.d sudo rm -rf /etc/systemd/system/pf9-prometheus.service.d sudo rm -rf /etc/systemd/system/pf9-remote-write.service.d sudo rm -rf /etc/systemd/system/pf9-sidekick.service.d- Reload systemd state
Affected Host
xxxxxxxxxxsudo systemctl daemon-reloadsystemctl list-units --all | grep pf9- Purge leftover packages
Affected Host
xxxxxxxxxxsudo apt-get purge -y pf9-libvirt-exporter pf9-node-exporter pf9-prometheus pf9-remote-write pf9-sidekick || true sudo apt-get autoremove -ysudo apt-get autoclean- Remove residual binaries/configs
Affected Host
xxxxxxxxxxsudo rm -f /etc/systemd/system/pf9-.timer sudo rm -f /etc/systemd/system/pf9-.socketsudo systemctl daemon-reload sudo systemctl reset-failed- Verify if the stale packages are cleaned up using:
Affected Host
xxxxxxxxxxsystemctl list-units --all | grep pf9VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Next to read:
Unable to Generate Support Bundle from Host.null
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message