[
https://issues.apache.org/jira/browse/MESOS-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Spektor closed MESOS-1852.
-------------------------------
Resolution: Invalid
Fix Version/s: 0.20.1
Target Version/s: 0.20.1
Will move to Marathon
> Health validation do not accept port index other that 0 or multiple
> validations for several ports
> -------------------------------------------------------------------------------------------------
>
> Key: MESOS-1852
> URL: https://issues.apache.org/jira/browse/MESOS-1852
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 0.20.1
> Environment: Mesos 0.20.1 Marathon 0.7.1
> Reporter: Adam Spektor
> Priority: Critical
> Fix For: 0.20.1
>
>
> Example :
> "healthChecks": [
> {
> "protocol": "HTTP",
> "path": "/action=GetLicenseInfo",
> "gracePeriodSeconds": 3,
> "intervalSeconds": 10,
> "portIndex": 0,
> "timeoutSeconds": 10,
> "maxConsecutiveFailures": 3
> },
> {
> "protocol": "HTTP",
> "path": "/action=GetStatus",
> "gracePeriodSeconds": 3,
> "intervalSeconds": 10,
> "portIndex": 1,
> "timeoutSeconds": 10,
> "maxConsecutiveFailures": 3
> },
> {
> "protocol": "HTTP",
> "path": "/action=GetStatus",
> "gracePeriodSeconds": 3,
> "intervalSeconds": 10,
> "portIndex": 2,
> "timeoutSeconds": 10,
> "maxConsecutiveFailures": 3
> }
> I got following error :
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
> <title>Error 500 Server Error</title>
> </head>
> <body>
> <h2>HTTP ERROR: 500</h2>
> <p>Problem accessing /v2/apps. Reason:
> <pre> Server Error</pre></p>
> <hr /><i><small>Powered by Jetty://</small></i>
> </body>
> </html>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)