fix: no fixed uid for netOrk's own account on OMV yet (NetOrk/netork#1817) #14

Merged
christianmanivong merged 1 commits from feature/system-user-uid-1817 into main 2026-11-01 12:44:21 +00:00
Owner

_account_create_with_uid raises NotImplementedError. OMV keeps account keys in its own UserMgmt, which knows only the users it made. Whether setUser takes a uid has not been tried on a real box. A plain useradd would leave the keys step failing, so netOrk's switch fails at once and says why.

Needs NAPALM/napalm-device-types#67, which adds the _account_create_with_uid hook.

Tests: suite 37 green, ratchet green.

`_account_create_with_uid` raises `NotImplementedError`. OMV keeps account keys in its own `UserMgmt`, which knows only the users it made. Whether `setUser` takes a uid has not been tried on a real box. A plain `useradd` would leave the keys step failing, so netOrk's switch fails at once and says why. Needs NAPALM/napalm-device-types#67, which adds the `_account_create_with_uid` hook. Tests: suite 37 green, ratchet green.
christianmanivong added 1 commit 2026-11-01 11:42:47 +00:00
fix: no fixed uid for netOrk's own account on OMV yet (NetOrk/netork#1817)
driver / standard (pull_request) Successful in 15s
driver / lint (pull_request) Successful in 15s
driver / types (pull_request) Successful in 1m26s
driver / test (3.12) (pull_request) Successful in 1m20s
driver / test (3.13) (pull_request) Successful in 1m12s
driver / lowest (pull_request) Successful in 29s
driver / build (pull_request) Successful in 28s
driver / security (pull_request) Successful in 1m11s
CI / driver (pull_request) Successful in 3m1s
driver / publish (pull_request) Skipped
61ee8c8db8
Its keys go through UserMgmt, which knows only the users it made, and whether
setUser takes a uid is untested: _account_create_with_uid raises
NotImplementedError, so the switch fails and says why.
christianmanivong merged commit 27ccfb3786 into main 2026-11-01 12:44:21 +00:00
christianmanivong deleted branch feature/system-user-uid-1817 2026-11-01 12:44:21 +00:00
Sign in to join this conversation.