Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The master does not make sure that resources given as part of operations are not empty. While we fixed the case of frameworks sending non-empty resources which would internally be rounded to zero as part of MESOS-8945, we still do not validate that e.g., frameworks do not attempt to RESERVE cpus:0 or an empty port range.
We still want to allow specifying some resources as explicitly zero to distinguish absent or empty resources (currently e.g., used to trigger autodetection of gpus or in the future to set zero quota guarantees), so it seems that we could update the validation in validateAndUpgradeResources to require non-empty resources where needed.
Attachments
Issue Links
- is related to
-
MESOS-8945 Master check failure due to CHECK_SOME(providerId).
- Resolved