Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8776

Prevent destructive modifications to resource provider configurations

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.0
    • None
    • agent
    • 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

          Activity

            People

              Unassigned Unassigned
              bbannier Benjamin Bannier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: