Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-939

UnreachableStrategy not allowing "disabled"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: DC/OS 1.9.0
    • Fix Version/s: DC/OS 1.12.0
    • Component/s: dcos-ui
    • Labels:

      Description

      UnreachableStrategy must be set to "disabled" for resident tasks, and it isn't letting it. Perhaps the json schema is out of date?

      DCOS 1.9.0

      Here's the current relevant json schema:

          "unreachableStrategy": {
            "oneOf": [
              {"type": "string", "enum": ["disabled"]},
              {
      
                "type": "object",
                "description": "Define handling for unreachable instances. Given `inactiveAfter = 60` and `expungeAfter = 120`, an instance will be expunged if it has been unreachable for more than 120 seconds or a second instance is started if it has been unreachable for more than 60 seconds.",
                "additionalProperties": false,
                "properties": {
                  "inactiveAfterSeconds": {
                    "type": "integer",
                    "description": "If an instance is unreachable for longer than inactiveAfter seconds it is marked as inactive. This will trigger a new instance launch. The original task is not expunged yet. Must be less than expungeAfterSeconds.",
                    "minimum": 1
                  },
                  "expungeAfterSeconds": {
                    "type": "number",
                    "description": "If an instance is unreachable for longer than unreachableExpungeAfter seconds it will be expunged.  That means it will be killed if it ever comes back. Instances are usually marked as unreachable before they are expunged but they don't have to. This value is required to be greater than inactiveAfterSeconds.\n\nIf the instance has any persistent volumes associated with it, then they will be destroyed and associated data will be deleted.\n\nDefault is 7 days (604800 seconds).",
                    "minimum": 2
                  }
                }
              }
            ]
          }
      
      

        Attachments

          Activity

            People

            • Assignee:
              drozhkov Dima Rozhkov (Inactive)
              Reporter:
              tharper Tim Harper
              Team:
              DELETE Frontend (Mesosphere) Team
              Watchers:
              Dima Rozhkov (Inactive), Jan-Philip Gehrcke (Inactive), mimmus (Inactive), Orlando Hohmeier (Inactive), Tim Harper
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your JIRA administrators.