Uploaded image for project: 'Metronome'
  1. Metronome
  2. METRONOME-53

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: None
    • 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:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support