-
Bug
-
Resolution: Unresolved
-
Major
-
None
Greetings, in the DC/OS 1.9.1 version of Marathon, calling PUT `/v2/apps/group/appname` with an intent to restart the app fails silently when the app is already deployed. In the past, this API would successfully restart an app that was already deployed. It no longer seems to do this.
Instead, POST `/v2/apps/group/appname/restart` must be called. See discussion at https://dcos-community.slack.com/archives/C052AG7RQ/p1500894363012384.
Apologies if the severity of this is incorrect, there is no workaround for this issue. Please adjust it according to community standards if it is set incorrectly. Thanks!
If I read the discussion correctly, the [marathon] application definition being sent to marathon is the same as what marathon already has deployed. In this case, marathon does not see a change and does not trigger a new deployment.
The use case in this ticket is a new version of the docker container being made available on an existing version/tag and needs to be force pulled by the marathon application. ("dockerimage:latest") If this is incorrect, please let me know.
A work around, for now, would be to version docker images and have that version updated by the plugin ("Docker Image" field in the config UI). This field is able to handle Jenkins parameters and variables.