[jira] [Commented] (AMBARI-20391) Ambari Metrics Grafana Datasource plugin does not work when configured with a reverse proxy with subpath
[ https://issues.apache.org/jira/browse/AMBARI-20391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907739#comment-15907739 ] Hudson commented on AMBARI-20391: - FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1244 (See [https://builds.apache.org/job/Ambari-branch-2.5/1244/]) AMBARI-20391. Ambari Metrics Grafana Datasource plugin does not work (yusaku: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c2bc7a4cdb82780ba456453a6e51a7d2d122de1f]) * (edit) ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js > Ambari Metrics Grafana Datasource plugin does not work when configured with a > reverse proxy with subpath > > > Key: AMBARI-20391 > URL: https://issues.apache.org/jira/browse/AMBARI-20391 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics >Affects Versions: 2.2.2 >Reporter: Yusaku Sako >Assignee: Yusaku Sako >Priority: Critical > Fix For: 2.5.0 > > Attachments: AMBARI-20391.patch, duplicate-grafana-grafana.png > > > When Grafana is set up with a reverse proxy with sub path > (http://docs.grafana.org/installation/behind_proxy/), Ambari Metrics > datasource plugin does not work. > With the subpath "/grafana", Grafana is making calls with incorrect URLs to > the Metrics Collector. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (AMBARI-20391) Ambari Metrics Grafana Datasource plugin does not work when configured with a reverse proxy with subpath
[ https://issues.apache.org/jira/browse/AMBARI-20391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907724#comment-15907724 ] Hudson commented on AMBARI-20391: - FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7019 (See [https://builds.apache.org/job/Ambari-trunk-Commit/7019/]) AMBARI-20391. Ambari Metrics Grafana Datasource plugin does not work (yusaku: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0c010b3177fcc2d03688ba035139e0f86d9f581d]) * (edit) ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js > Ambari Metrics Grafana Datasource plugin does not work when configured with a > reverse proxy with subpath > > > Key: AMBARI-20391 > URL: https://issues.apache.org/jira/browse/AMBARI-20391 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics >Affects Versions: 2.2.2 >Reporter: Yusaku Sako >Assignee: Yusaku Sako >Priority: Critical > Fix For: 2.5.0 > > Attachments: AMBARI-20391.patch, duplicate-grafana-grafana.png > > > When Grafana is set up with a reverse proxy with sub path > (http://docs.grafana.org/installation/behind_proxy/), Ambari Metrics > datasource plugin does not work. > With the subpath "/grafana", Grafana is making calls with incorrect URLs to > the Metrics Collector. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (AMBARI-20391) Ambari Metrics Grafana Datasource plugin does not work when configured with a reverse proxy with subpath
[ https://issues.apache.org/jira/browse/AMBARI-20391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907615#comment-15907615 ] Yusaku Sako commented on AMBARI-20391: -- Got +1'd on ReviewBoard. Committed to trunk and branch-2.5. > Ambari Metrics Grafana Datasource plugin does not work when configured with a > reverse proxy with subpath > > > Key: AMBARI-20391 > URL: https://issues.apache.org/jira/browse/AMBARI-20391 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics >Affects Versions: 2.2.2 >Reporter: Yusaku Sako >Assignee: Yusaku Sako >Priority: Critical > Fix For: 2.5.0 > > Attachments: AMBARI-20391.patch, duplicate-grafana-grafana.png > > > When Grafana is set up with a reverse proxy with sub path > (http://docs.grafana.org/installation/behind_proxy/), Ambari Metrics > datasource plugin does not work. > With the subpath "/grafana", Grafana is making calls with incorrect URLs to > the Metrics Collector. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (AMBARI-20391) Ambari Metrics Grafana Datasource plugin does not work when configured with a reverse proxy with subpath
[ https://issues.apache.org/jira/browse/AMBARI-20391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904967#comment-15904967 ] Hadoop QA commented on AMBARI-20391: {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12857166/AMBARI-20391.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in . Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/10962//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/10962//console This message is automatically generated. > Ambari Metrics Grafana Datasource plugin does not work when configured with a > reverse proxy with subpath > > > Key: AMBARI-20391 > URL: https://issues.apache.org/jira/browse/AMBARI-20391 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics >Affects Versions: 2.2.2 >Reporter: Yusaku Sako >Assignee: Yusaku Sako >Priority: Critical > Fix For: 2.5.0 > > Attachments: AMBARI-20391.patch, duplicate-grafana-grafana.png > > > When Grafana is set up with a reverse proxy with sub path > (http://docs.grafana.org/installation/behind_proxy/), Ambari Metrics > datasource plugin does not work. > With the subpath "/grafana", Grafana is making calls with incorrect URLs to > the Metrics Collector. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (AMBARI-20391) Ambari Metrics Grafana Datasource plugin does not work when configured with a reverse proxy with subpath
[ https://issues.apache.org/jira/browse/AMBARI-20391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904306#comment-15904306 ] Yusaku Sako commented on AMBARI-20391: -- https://github.com/grafana/grafana/blob/v2.6.0/public/app/core/services/backend_srv.js#L68-L70 was adding extra subpath even though the URL already contains it. The fix was to use the backendSrv.datasourceRequest, and not use backendSrv.get directly. > Ambari Metrics Grafana Datasource plugin does not work when configured with a > reverse proxy with subpath > > > Key: AMBARI-20391 > URL: https://issues.apache.org/jira/browse/AMBARI-20391 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics >Affects Versions: 2.2.2 >Reporter: Yusaku Sako >Assignee: Yusaku Sako >Priority: Critical > Fix For: 2.5.0 > > Attachments: AMBARI-20391.patch, duplicate-grafana-grafana.png > > > When Grafana is set up with a reverse proxy with sub path > (http://docs.grafana.org/installation/behind_proxy/), Ambari Metrics > datasource plugin does not work. > With the subpath "/grafana", Grafana is making calls with incorrect URLs to > the Metrics Collector. -- This message was sent by Atlassian JIRA (v6.3.15#6346)