You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Netbox-Sync is removing IPs from interfaces that it does not find in VMware #453
After the last update, the netbox-sync script is removing IPs from interfaces that it does not find in VMware, but there are some IPs that exist and I enter them manually and the script is still removing them.
Is it possible to disable it so that it does not remove IPs that are not synchronized by the script?
yes there were some changes regarding the detection and usage of IP addresses. Is it possible that this issue occurs with VMs that don't have VMware tools installed or running an old version of VMware tools?
Yes. This VMs have old version of Vmtools or are not installed.
It's possible to not remove the IP address inputed manually or it's a bug/normally behavior?
It should leave the addresses if outdated vmware tools are discovered, I think. Can you run the script with -l DEBUG2 and poat the output for the part of one VM where this happens? Thank you
Two updates on development: #525 adds preserve_primary_ips, which keeps a device's or VM's primary IPs even when the source stops reporting them, and #550 keeps existing IPs on interfaces the check_redfish source reports no addresses for. A general option for the VMware source to leave manually added, unreported IPs alone is a policy choice (it also affects pruning), so I'll leave that decision to @bb-Ricardo; the same question came up in #537 and #498.
Activity
bb-Ricardo commentedon May 9, 2025
Hi,
yes there were some changes regarding the detection and usage of IP addresses. Is it possible that this issue occurs with VMs that don't have VMware tools installed or running an old version of VMware tools?
3bruno commentedon May 9, 2025
Hi Ricardo.
Yes. This VMs have old version of Vmtools or are not installed.
It's possible to not remove the IP address inputed manually or it's a bug/normally behavior?
bb-Ricardo commentedon May 9, 2025
It should leave the addresses if outdated vmware tools are discovered, I think. Can you run the script with
-l DEBUG2and poat the output for the part of one VM where this happens? Thank you3bruno commentedon May 11, 2025
Yes. I am out of work and do this ASAP.
semx commentedon Sep 9, 2026
Two updates on
development: #525 addspreserve_primary_ips, which keeps a device's or VM's primary IPs even when the source stops reporting them, and #550 keeps existing IPs on interfaces the check_redfish source reports no addresses for. A general option for the VMware source to leave manually added, unreported IPs alone is a policy choice (it also affects pruning), so I'll leave that decision to @bb-Ricardo; the same question came up in #537 and #498.