Every poll logs a TypeError from get_device_warnings #6

Closed
opened 2026-10-14 08:58:53 +00:00 by christianmanivong · 0 comments
Owner

The driver sets get_available_updates = None (qnap_qts.py ~78) and inherits napalm-linux's get_device_warnings, which calls self.get_available_updates(). The TypeError is caught and logged as a warning on every poll. Fix: override get_device_warnings, or (with the agnostic structure) drop it.

Prio P4: log noise only.

The driver sets `get_available_updates = None` (`qnap_qts.py` ~78) and inherits napalm-linux's `get_device_warnings`, which calls `self.get_available_updates()`. The `TypeError` is caught and logged as a warning on every poll. Fix: override `get_device_warnings`, or (with the agnostic structure) drop it. Prio P4: log noise only.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-qnap-qts#6