-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
Hello,
I recently updated NetBox to latest version 4.5.0 (Ubuntu 24.04.03 LTS and Python 3.12.3).
When I run netbox-sync I'm encountering this error:
2026-01-08 11:32:51,630 - INFO: Platform 'Ubuntu ...' attribute 'tags' changed from '['NetBox-synced', 'Source: MySource']' to '['NetBox-synced']'
Traceback (most recent call last):
File "/opt/netbox-sync/netbox-sync.py", line 146, in <module>
main()
File "/opt/netbox-sync/netbox-sync.py", line 117, in main
inventory.query_ptr_records_for_all_ips()
File "/opt/netbox-sync/module/netbox/inventory.py", line 431, in query_ptr_records_for_all_ips
records = perform_ptr_lookups(data.get("ips"), data.get("servers"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-sync/module/common/support.py", line 75, in perform_ptr_lookups
results = loop.run_until_complete(queue)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/opt/netbox-sync/module/common/support.py", line 105, in reverse_lookup
response = await resolver.gethostbyaddr(ip)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-sync/.venv/lib/python3.12/site-packages/aiodns/__init__.py", line 102, in gethostbyaddr
self._channel.gethostbyaddr(name, cb)
TypeError: Channel.gethostbyaddr() takes 2 positional arguments but 3 were given
Metadata
Metadata
Assignees
Labels
No labels