Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote cluster configured with proxy mode breaks the remote clusters UI in 7.6 #66398

Closed
sebgl opened this issue May 13, 2020 · 4 comments
Closed
Labels
bug Fixes for quality problems that affect the customer experience Feature:CCR and Remote Clusters good first issue low hanging fruit Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more triage_needed

Comments

@sebgl
Copy link

sebgl commented May 13, 2020

Kibana version: 7.6.2

Elasticsearch version: 7.6.2

Describe the bug:

I setup a remote cluster using Elasticsearch API, with proxy mode enabled. This is what we suggest (starting 7.6) in ECK documentation.

The remote clusters management UI page stays blank, with some exceptions in the console:

kbn-ui-shared-deps.js:400 TypeError: Cannot read property 'join' of undefined
    at render (kibana.bundle.js:3)
    at t.value (kbn-ui-shared-deps.js:433)
    at kbn-ui-shared-deps.js:433
    at Array.forEach (<anonymous>)
    at t.value (kbn-ui-shared-deps.js:433)
    at kbn-ui-shared-deps.js:433
    at Array.map (<anonymous>)
    at t.value (kbn-ui-shared-deps.js:433)
    at t.value (kbn-ui-shared-deps.js:433)
    at t.value (kbn-ui-shared-deps.js:433)
dl @ kbn-ui-shared-deps.js:400
n.callback @ kbn-ui-shared-deps.js:400
_i @ kbn-ui-shared-deps.js:400
yi @ kbn-ui-shared-deps.js:400
ys @ kbn-ui-shared-deps.js:400
t.unstable_runWithPriority @ kbn-ui-shared-deps.js:408
Ur @ kbn-ui-shared-deps.js:400
bs @ kbn-ui-shared-deps.js:400
is @ kbn-ui-shared-deps.js:400
(anonymous) @ kbn-ui-shared-deps.js:400
t.unstable_runWithPriority @ kbn-ui-shared-deps.js:408
Ur @ kbn-ui-shared-deps.js:400
Xr @ kbn-ui-shared-deps.js:400
Yr @ kbn-ui-shared-deps.js:400
es @ kbn-ui-shared-deps.js:400
enqueueSetState @ kbn-ui-shared-deps.js:400
_.setState @ kbn-ui-shared-deps.js:376
onStateChange @ vendors_0.bundle.dll.js:48
dispatch @ vendors_0.bundle.dll.js:15
(anonymous) @ kibana.bundle.js:3
(anonymous) @ vendors_2.bundle.dll.js:99
dispatch @ vendors_0.bundle.dll.js:15
_callee$ @ kibana.bundle.js:3
s @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
forEach.e.<computed> @ kbn-ui-shared-deps.js:338
s @ kbn-ui-shared-deps.js:338
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
Promise.then (async)
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
i @ kbn-ui-shared-deps.js:338
_invoke @ kbn-ui-shared-deps.js:338
forEach.e.<computed> @ kbn-ui-shared-deps.js:338
e.async @ kbn-ui-shared-deps.js:338
_callee @ kibana.bundle.js:3
(anonymous) @ vendors_2.bundle.dll.js:99
loadClusters @ kibana.bundle.js:3
componentDidMount @ kibana.bundle.js:3
ys @ kbn-ui-shared-deps.js:400
t.unstable_runWithPriority @ kbn-ui-shared-deps.js:408
Ur @ kbn-ui-shared-deps.js:400
bs @ kbn-ui-shared-deps.js:400
is @ kbn-ui-shared-deps.js:400
es @ kbn-ui-shared-deps.js:400
Ws @ kbn-ui-shared-deps.js:400
(anonymous) @ kbn-ui-shared-deps.js:400
ls @ kbn-ui-shared-deps.js:400
Ys @ kbn-ui-shared-deps.js:400
render @ kbn-ui-shared-deps.js:400
renderReact$ @ kibana.bundle.js:3
s @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
forEach.e.<computed> @ kbn-ui-shared-deps.js:338
s @ kbn-ui-shared-deps.js:338
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
i @ kbn-ui-shared-deps.js:338
_invoke @ kbn-ui-shared-deps.js:338
forEach.e.<computed> @ kbn-ui-shared-deps.js:338
e.async @ kbn-ui-shared-deps.js:338
renderReact @ kibana.bundle.js:3
(anonymous) @ kibana.bundle.js:3
$digest @ kbn-ui-shared-deps.js:368
(anonymous) @ kbn-ui-shared-deps.js:368
Yo.completeTask @ kbn-ui-shared-deps.js:368
(anonymous) @ kbn-ui-shared-deps.js:368
setTimeout (async)
i.defer @ kbn-ui-shared-deps.js:368
$evalAsync @ kbn-ui-shared-deps.js:368
(anonymous) @ kbn-ui-shared-deps.js:368
d @ kbn-ui-shared-deps.js:368
e @ kbn-ui-shared-deps.js:368
(anonymous) @ kbn-ui-shared-deps.js:368
Promise.then (async)
e @ kbn-ui-shared-deps.js:368
p @ kbn-ui-shared-deps.js:368
(anonymous) @ kbn-ui-shared-deps.js:368
(anonymous) @ kbn-ui-shared-deps.js:368
$digest @ kbn-ui-shared-deps.js:368
$apply @ kbn-ui-shared-deps.js:368
(anonymous) @ kbn-ui-shared-deps.js:368
invoke @ kbn-ui-shared-deps.js:368
r @ kbn-ui-shared-deps.js:368
Oe @ kbn-ui-shared-deps.js:368
chrome.bootstrap @ commons.bundle.js:3
start @ commons.bundle.js:3
start$ @ commons.bundle.js:3
s @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
forEach.e.<computed> @ kbn-ui-shared-deps.js:338
s @ kbn-ui-shared-deps.js:338
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
Promise.then (async)
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
Promise.then (async)
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
Promise.then (async)
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
Promise.then (async)
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
Promise.then (async)
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
Promise.then (async)
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
Promise.then (async)
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
Promise.then (async)
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
Promise.then (async)
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
Promise.then (async)
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
Promise.then (async)
t @ kbn-ui-shared-deps.js:338
(anonymous) @ kbn-ui-shared-deps.js:338
i @ kbn-ui-shared-deps.js:338
_invoke @ kbn-ui-shared-deps.js:338
forEach.e.<computed> @ kbn-ui-shared-deps.js:338
e.async @ kbn-ui-shared-deps.js:338
start @ commons.bundle.js:3
(anonymous) @ kibana.bundle.js:3
Promise.then (async)
(anonymous) @ kibana.bundle.js:3
Promise.then (async)
__kbnBundles__.kibana @ kibana.bundle.js:3
__webpack_require__ @ kibana.bundle.js:3
checkDeferredModules @ kibana.bundle.js:3
__kbnBundles__.kibana @ kibana.bundle.js:3
(anonymous) @ kibana.bundle.js:3
Show 37 more frames
commons.bundle.js:3 Detected an unhandled Promise rejection.
TypeError: Cannot read property 'join' of undefined
kibana.bundle.js:3 Uncaught (in promise) TypeError: Cannot read property 'join' of undefined
    at render (kibana.bundle.js:3)
    at t.value (kbn-ui-shared-deps.js:433)
    at kbn-ui-shared-deps.js:433
    at Array.forEach (<anonymous>)
    at t.value (kbn-ui-shared-deps.js:433)
    at kbn-ui-shared-deps.js:433
    at Array.map (<anonymous>)
    at t.value (kbn-ui-shared-deps.js:433)
    at t.value (kbn-ui-shared-deps.js:433)
    at t.value (kbn-ui-shared-deps.js:433)

At this point I cannot manage any remote clusters with Kibana.

Everything is fine if I remove this remote cluster configuration through Elasticsearch API.

Steps to reproduce:

  1. Setup a remote cluster with "mode": "proxy"
  2. Go to the remote clusters UI

Expected behavior:
I am aware proxy mode is handled correctly in 7.7.
I would not expect remote clusters with proxy mode to break Kibana remote clusters UI, however.

Or maybe warn about it in the docs.

@sebgl sebgl added the bug Fixes for quality problems that affect the customer experience label May 13, 2020
@cjcenizal cjcenizal added Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels May 13, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@sebgl sebgl changed the title Remote cluster configured with proxy mode break the remote clusters UI in 7.6 Remote cluster configured with proxy mode breaks the remote clusters UI in 7.6 May 13, 2020
@cjcenizal cjcenizal added the good first issue low hanging fruit label May 13, 2020
@cjcenizal
Copy link
Contributor

We should make a note of this in the docs.

@cjcenizal cjcenizal added Feature:CCR and Remote Clusters and removed Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI labels Sep 23, 2020
@alisonelizabeth alisonelizabeth removed the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label Sep 16, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 16, 2024
@alisonelizabeth alisonelizabeth added triage_needed Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Sep 16, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-management (Team:Kibana Management)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 16, 2024
@alisonelizabeth
Copy link
Contributor

Closing as not planned, as it is working correctly in 7.7+.

@alisonelizabeth alisonelizabeth closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:CCR and Remote Clusters good first issue low hanging fruit Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more triage_needed
Projects
None yet
Development

No branches or pull requests

4 participants