Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-7687

UnreachableStrategy not saving/deploying

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: Marathon 1.4.5
    • Fix Version/s: None
    • Component/s: API
    • Labels:

      Description

      I am attempting to change the UnreachableStrategy settings for an application on Marathon 1.4.5
      as documented at http://mesosphere.github.io/marathon/docs/configure-task-handling.html. I am using Mesos 1.2.0 if that matters.

      Using `curl`, I retrieve and locally save the configuration using a GET against the API endpoint '/v2/apps/

      {app_id}

      '. I modify this locally saved json to reflect new values for the UnreachableStrategy and perform a PUT against the same URL. The API responds with a deployment ID.

      I find that the deployment never took place and performing another GET for the json configuration of the application shows that the values for the UnreachableStrategy are still the default ones. For simplicity I only changed the 'inactiveAfterSeconds' value from the default of 300 to 30 and it does not work.

      Are there any other requirements I am not meeting to set the UnreachableStrategy successfully? Any guidance would be appreciated. Thank you.

      This isssue has been created automatically from Marathon GitHub Issue 5458.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mentalblock mentalblock
              Team:
              Orchestration Team
              Watchers:
              Marathon Bot, Matthias Eichstedt, mentalblock
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: