diff --git a/.changelog/14300.txt b/.changelog/14300.txt new file mode 100644 index 000000000..41767d095 --- /dev/null +++ b/.changelog/14300.txt @@ -0,0 +1,3 @@ +```release-note:improvement +scheduler: Allow jobs not requiring network resources even when no network is fingerprinted +``` diff --git a/scheduler/feasible.go b/scheduler/feasible.go index 8da3e6869..ade5ce3c8 100644 --- a/scheduler/feasible.go +++ b/scheduler/feasible.go @@ -382,6 +382,11 @@ func (c *NetworkChecker) SetNetwork(network *structs.NetworkResource) { } func (c *NetworkChecker) Feasible(option *structs.Node) bool { + // Allow jobs not requiring any network resources + if c.networkMode == "none" { + return true + } + if !c.hasNetwork(option) { // special case - if the client is running a version older than 0.12 but