
Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
VM Network Port Attachment Failure and High CPU Usage on OVNDB
Problem
PCD environment is experiencing a critical failure in VM network port attachment operations, preventing virtual machines from connecting to the network. The service is consuming 88-95% CPU, causing it to become unavailable for legitimate API requests.
Environment
Private Cloud Director Virtualization - v2025.4 and Higher
Private Cloud Director Kubernetes – v2025.4 and Higher
Self-Hosted Private Cloud Director Virtualization - v2025.4 and Higher
Self-Hosted Private Cloud Director Kubernetes - v2025.4 and Higher
Cause
The OVN Database (OVN-DB) service has entered a non-responsive state characterised by a high-CPU spin loop.
Diagnostics
VM deployment fails with the below exception shown on the
pf9-ostackhostlogs located on the hypervisor at location/var/log/pf9/.
Step 2 -3 only accessible and applicable for the Self-hosted Private Cloud Director. For SaaS environments, please reach out to Platform9 support.
Review the
ovn-ovsdb-sb-0pod logs from the workload region namespace.
Validate the above pod logs and check CPU usage messages like shown in below snippet.
Resolution
These resolution steps are only applicable for the Self-hosted Private Cloud Director. For SAAS environment please reach out to Platform9 support.
Take the backup of OVNDB database.
Once backup is taken, execute compaction command
Enable memory compaction on the below pods
Restart the below pods
Validation
Validation steps 1 & 2 are only applicable for the Self-hosted Private Cloud Director. For SAAS environment please reach out to Platform9 support.
Check the pods' status; it should be running
Review the ovn-ovsdb pod logs from the workload region namespace and confirm if no high CPU usage messages are logged in these pods.
Deploy a new VM and review the
pf9-ostackhostlogs from the hypervisor (host); it no longer logsPort <PORT_UUID> is still in usemessages.