Hi Marc.

Agent draining is a Mesos 1.9 feature and is only available on the current
Mesos master branch.
Please see https://issues.apache.org/jira/browse/MESOS-9814.

Best,
Chun-Hung

On Wed, Aug 7, 2019 at 1:35 PM Marc Roos <[email protected]> wrote:

>
> Should this be working in mesos 1.8?
>
> [@m01 ~]# curl --user test:xxxxxxxxx -X POST \
> >   https://m01.local:5050/api/v1 \
> >   --cacert /etc/pki/ca-trust/source/ca.crt \
> >   -H 'Accept: application/json' \
> >   -H 'content-type: application/json' -d '{
> >   "type": "DRAIN_AGENT",
> >   "drain_agent": {"agent_id": {
> >     "value":"53336fcb-7756-4673-b9c7-177e04f34c3b-S1"
> >   }}}'
>
> Failed to validate master::Call: Expecting 'type' to be present
>
>

Reply via email to