fix(time-sync): switch off the POSIX time sync on QTS
driver / standard (pull_request) Successful in 17s
driver / lint (pull_request) Successful in 16s
driver / types (pull_request) Successful in 1m9s
driver / test (3.12) (pull_request) Successful in 1m6s
driver / test (3.13) (pull_request) Successful in 1m1s
driver / lowest (pull_request) Successful in 34s
driver / build (pull_request) Successful in 28s
driver / security (pull_request) Successful in 1m12s
CI / driver (pull_request) Successful in 2m51s
driver / publish (pull_request) Skipped

napalm-linux now brings napalm-device-types' PosixTimeSyncMixin (4.35.0). QTS has no systemd and no timedatectl, and its NTP client and time zone are QTS settings: the inherited reading finds no client there and every write fails its step, a difference netOrk could report on every poll but never fix (NetOrk/netork#2370). get_time_sync and configure_time_sync are None, so a capability check answers no, until a QTS variant is built against a real box. The floor rises to napalm-device-types 4.35.0.
This commit is contained in:
Christian Manivong committed 2026-11-11 15:18:56 +01:00
1 parent 28eb954eda
commit f1d191c52a
5 files changed
+25 -1

No files matched your search

+5
View File
@@ -103,6 +103,11 @@ class QnapQtsDriver(StorageDriver, HypervisorDriver, QtsScheduledJobsMixin, Linu
lock_local_account = None # type: ignore[assignment]
add_service_account = None # type: ignore[assignment]
remove_local_account_keys = None # type: ignore[assignment]
#: QTS has no systemd and no timedatectl; its NTP client and zone are QTS
#: settings. LinuxDriver's POSIX time sync would read no client and fail every
#: write: off until a QTS variant is built against a real box (NetOrk/netork#2370).
get_time_sync = None # type: ignore[assignment]
configure_time_sync = None # type: ignore[assignment]
SNMP_OBJECT_ID_PREFIX = QNAP_ENTERPRISE_OID
SNMP_FINGERPRINT = [