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

Unable to create a schedule with concurrencyPolicy = FORBID on DC/OS 1.8.4

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Metronome
    • Labels:

      Description

      I'm unable to create a schedule which doesn't start a new job before the old one has finished.

      I'm using the REST API of DC/OS 1.8.4 as follows:
      POST /service/metronome/v1/jobs/<my-job>/schedules

      {
          "id": "default",
          "enabled": true,
          "cron": "*/5 * * * *",
          "concurrencyPolicy": "FORBID"
      }
      

      But I'm getting the following error:
      {{

      {"message":"No enum constant dcos.metronome.Protos.JobSpec.ScheduleSpec.ConcurrencyPolicy.FORBID"}

      }}

      What am I missing?

        Attachments

          Activity

            People

            • Assignee:
              matthias Matthias Veit (Inactive)
              Reporter:
              GitHub_lubomir-haralampiev Lubomir Haralampiev (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support