87101b131a
When the scheduler assigns a device instance, it iterates over the feasible devices and then picks the first instance with availability. If the jobspec uses a constraint on device ID, this can lead to buggy/surprising behavior where the node's device matches the constraint but then the individual device instance does not. Add a second filter based on the `${device.ids}` constraint after selecting a node's device to ensure the device instance ID falls within the constraint as well. Fixes: #18112
4 lines
107 B
Plaintext
4 lines
107 B
Plaintext
```release-note:bug
|
|
scheduler: Fixed a bug where device IDs were not correctly filtered in constraints
|
|
```
|