-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Nomad version
Nomad v1.8.11+ent
BuildDate 2025-03-11T09:23:02Z
Revision f1d10f7f43b943002a505307ae896f8176c038e4+CHANGES
Issue
I run into an issue while upgrading some nodes from 1.8.5 to 1.8.11.
We use a CNI plugin for macvlan, named discovery and when restarting the agent as part of the upgrade, all existing allocations on the node are terminated with a fatal "Setup Failure" from the pre-run hook:
2025-03-24T19:04:22.722Z [WARN] client.alloc_runner.runner_hook: failed to configure network: alloc_id=97055031-6928-3826-34c2-b5c955130551 error="plugin type=\"macvlan\" failed (add): failed to rename macvlan to \"eth0\": file exists" attempt=3
2025-03-24T19:04:22.722Z [ERROR] client.alloc_runner: prerun failed: alloc_id=97055031-6928-3826-34c2-b5c955130551 error="pre-run hook \"network\" failed: failed to configure networking for alloc: failed to configure network: plugin type=\"discovery\" failed (add): invalid CIDR address: null/32"
I haven't looked into the details yet but it's something added between 1.8.9 and 1.8.11 as I can upgrade to 1.8.9 without issues (min #25093) and consistently reproduce the issue by upgrading then to 1.8.11.
Reproduction steps
I can share the CNI plugin if that helps.
Metadata
Metadata
Assignees
Type
Projects
Status
Done