You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any job that tries to use it will fail placement with a constraint violation.
==> 2024-03-07T13:17:59-05:00: Monitoring evaluation "ea69ca5b"
2024-03-07T13:17:59-05:00: Evaluation triggered by job "mysql"
2024-03-07T13:18:00-05:00: Evaluation within deployment: "2e1cd256"
2024-03-07T13:18:00-05:00: Evaluation status changed: "pending" -> "complete"
==> 2024-03-07T13:18:00-05:00: Evaluation "ea69ca5b" finished with status "complete" but failed to place all allocations:
2024-03-07T13:18:00-05:00: Task Group "mysql" (failed to place 1 allocation):
* Constraint "did not meet topology requirement": 1 nodes excluded by filter
2024-03-07T13:18:00-05:00: Evaluation "c59054f1" waiting for additional capacity to place remainder
I've skimmed the spec a few times, but it's not clear to me how to handle this scenario.
Wondering timeline on this - is a fix as simple as doing an intersection of the two maps? Not crucial, but is blocking our team from upgrading our csi driver.
Starting in v1.28.0, the AWS EBS CSI plugin introduced a new segment key to the repose of
NodeGetInfo
.When this version of the plugin is used, the Nomad client receives the following accessible topology segments.
But dynamic volume creation does not add the
topology.kubernetes.io/zone
key, even if requested.This causes the volume to fail scheduling because the topology segments are compared with strict equality.
nomad/nomad/structs/node.go
Lines 63 to 68 in 3193ac2
Any job that tries to use it will fail placement with a constraint violation.
I've skimmed the spec a few times, but it's not clear to me how to handle this scenario.
As pointed out in kubernetes-sigs/aws-ebs-csi-driver#729 (comment), Kubernetes ignores additional node segments, so the additional segments in the node may be safe to ignore.
Reproduction steps
git clone https://gist.github.com/b707d56ace871602cb4955df2a1afad0.git
mysql.nomad.hcl
job.NOMAD_ADDR=$(terraform output -raw nomad_addr) nomad run mysql.nomad.hcl
Expected Result
Job starts successfully.
Actual Result
Job fails placement with constraint error:
The text was updated successfully, but these errors were encountered: