mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lax (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-7908) Mesos UI Keeps refreshing
Date Wed, 23 Aug 2017 00:30:00 GMT

    [ https://issues.apache.org/jira/browse/MESOS-7908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16137672#comment-16137672
] 

Lax commented on MESOS-7908:
----------------------------

Note: Issue goes away if I comment out the https://github.com/apache/mesos/blob/master/src/webui/master/static/js/controllers.js#L362-L365.


Will submit in a PR with this fix.



> Mesos UI Keeps refreshing
> -------------------------
>
>                 Key: MESOS-7908
>                 URL: https://issues.apache.org/jira/browse/MESOS-7908
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 1.2.0, 1.3.0, 1.3.1
>            Reporter: Lax
>            Priority: Critical
>
> I tried to upgrade mesos from 1.0.1 to latest and suddenly I see Mesos UI keeps refreshing
every few seconds. I can say the issue remains at least from version 1.1.x onwards.
> The UI refresh will be seen only when you access Mesos thru proxy ports (other than 5050)
or custom DNS. 
> Root cause for this appears to be to be how mesos ui is constructing the end point in
here: https://github.com/apache/mesos/blob/master/src/webui/master/static/js/controllers.js#L362-L365.
It basically learning mesos host and port from mesos state API response and using that to
load in the UI. But what you learn will be the internal host name(pretty much node name) 
and port (5050) and it wont work in cases where user proxy's the mesos port eg: 9443 in my
case and also have custom DNS format eg: *mesos-laxmesos4.dev.io*
> So basically when I load mesos ui with URI:  https://mesos-laxmesos4.dev.io:9443, above
pointed API is returning https://[my node name]:5050/metrics/... while expected path is https://mesos-laxmesos4.dev.io:9443/metrics/...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message