Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.6.0
-
None
-
None
Description
Resource providers on an agent are configured via the --resource_provider_config_dir flag. The agent reads these configurations which each currently contain a ResourceProviderInfo and uses them start a matching resource provider.
As previous state is read from an agent path under resource_providers derived from both type and name, see src/slave/paths.hpp, incompatible edits to at least these fields can lead to no recoverable state to be found which would trigger creating of a new resource provider. This resource provider would then e.g., not recover any persisted operations on the managed resources. This can be problematic, e.g., when data volumes reserved for a certain role (possibly containing sensitive data) would be offered without that reservation.
We should investigate what can be done to prevent such misconfigurations.
Attachments
Issue Links
- relates to
-
MESOS-7558 Add resource provider validation
- Resolved