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

Marathon task JSON no longer available

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: DC/OS 1.11
    • Fix Version/s: None
    • Component/s: dcos-ui
    • Labels:
      None

      Description

      In DCOS 1.11 the JSON editor no longer shows the actual Marathon config but only the abstracted away Catalog JSON. This is problematic when you need to add custom configuration to a service (for example to add a new Docker volume mount). Now, in order to do this you have to use the Marathon UI to make these sorts of changes.

       

      For instance for a Jenkins package, there's no easy documented way to add another docker volume mount at a specific location:

      {
       "service": {
       "name": "jenkins",
       "cpus": 1,
       "mem": 2048,
       "user": "root"
       },
       "storage": {
       "host-volume": "/tmp"
       },
       "networking": {
       "known-hosts": "github.com",
       "https-redirect": false,
       "agent-port": 50000
       },
       "roles": {
       "jenkins-master-role": "*",
       "jenkins-agent-role": "*"
       },
       "security": {
       "strict-mode": false,
       "secret-name": ""
       },
       "advanced": {
       "mesos-master": "zk://leader.mesos:2181/mesos",
       "jvm-opts": "-Xms1024m -Xmx1024m"
       }
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amr Amr Abdelrazik
                Reporter:
                sdyrotronc sdyrotronc
                Team:
                Frontend Team
                Watchers:
                Amr Abdelrazik, Automation Bot, Dima Rozhkov, Elizabeth K. Joseph, Orlando Hohmeier, sdyrotronc
              • Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: