CESNET / pakiti-server

Pakiti provides a monitoring mechanism to check the patching status of Linux systems.
BSD 2-Clause "Simplified" License
49 stars 35 forks source link

Updating CentOS6/7 creates a duplicate host #158

Open bluikko opened 5 years ago

bluikko commented 5 years ago

Sometimes when CentOS6 or 7 is updated, and pakiti-client is run, a duplicate host is created in "Hosts" list. The report is not added to the existing host but a new one is created.

How to troubleshoot this issue?

synnack commented 2 years ago

I've noticed this too, but it seems to be caused by assuming that one host has exactly one IP-address, which is never the case in the dual stack world. It creates separate entries for IPv4 and IPv6, sadly.

Have not found a fix yet, except maybe removing legacy IPv4 address from the DNS.