Resolving log flooding on PMC 4 2 1 when deployed on Hyper-V due to missing Hyper-V scripts

Resolving log flooding on PMC 4 2 1 when deployed on Hyper-V due to missing Hyper-V scripts


Resolving log flooding on PMC 4.2.1 when deployed on Hyper-V due to missing Hyper-V scripts


Some customers running PMC 4.2.1 on Microsoft Hyper-V have reported the overlay volume becoming full. Log analysis shows a continuous flood of entries in /var/log/messages and /var/log/syslog similar to:

/usr/libexec/hypervkvpd/hv_get_dhcp_info: not found

/usr/libexec/hypervkvpd/hv_get_dns_info: not found

The scripts hv_get_dhcp_info and hv_get_dns_info are missing from the hyperv-daemons package included with PMC 4.2.1. Their absence causes repeated error messages, which can eventually fill the overlay volume. This issue is scheduled to be resolved in the upcoming PMC 4.3 release.
In the meantime, resolving this issue on PMC 4.2.1 deployed on Hyper-V requires manually installing the two missing scripts. Please follow the steps below:


1. Extract the scripts

Download and extract the attached file hv-scripts.zip here, which contains:

  • hv_get_dhcp_info
  • hv_get_dns_info

2. Copy the scripts to the PMC appliance

Use SCP (e.g., WinSCP) to upload both files to:

/usr/libexec/hypervkvpd

on the PMC 4.2.1 appliance running on Hyper-V.

3. Connect via SSH

SSH into PMC as the root user.
Please refer to the PMC Release Notes for the default password if you have not changed it.

4. Set executable permissions

Run the following commands:

chmod 755 /usr/libexec/hypervkvpd/hv_get_dhcp_info

chmod 755 /usr/libexec/hypervkvpd/hv_get_dns_info

5. Optional: Clear existing log file

To truncate the existing /var/log/messages file and reclaim space, run:

truncate -s 0 /var/log/messages