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

Example code given for custom marathon does not work.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: docs
    • Labels:

      Description

      Regarding https://docs.mesosphere.com/1.11/deploying-services/marathon-on-marathon/basic/

      The keys used in the json shown as an example on the page are incorrect:

      {
        "marathon": {
          "mesos_role": "<myrole>",
          "role": "<myrole>"
        }
      }
      

      Seems like it should: 

      {
        "marathon": {
          "mesos-role": "<myrole>",
          "default-accepted-resource-roles": "<myrole>"
        }
      }
      

       
      I’m making an assumption on the `default-accepted-resource-roles`, but `mesos_role` vs `mesos-role` seems pretty obvious

      So instead of setting the values, it added 2 more keys that are not used at all.
       
      This caused some confusion as to why the custom marathon deployment was not picking up the static reservations I had set.

        Attachments

          Activity

            People

            • Assignee:
              sarahstegall Sarah Stegall
              Reporter:
              nicladas Nic Ladas
              Team:
              Doc Team
              Watchers:
              Elizabeth K. Joseph, Josh Earlenbaugh, Nic Ladas, Sarah Stegall
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: