Lax created MESOS-7908:
--------------------------
Summary: Mesos UI Keeps refreshing
Key: MESOS-7908
URL: https://issues.apache.org/jira/browse/MESOS-7908
Project: Mesos
Issue Type: Bug
Affects Versions: 1.3.1, 1.3.0, 1.2.0
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)