Commit b938523
[9.1] [Remote Clusters] Add IPv6 support (elastic#233415) (elastic#233682)
# Backport
This will backport the following commits from `main` to `9.1`:
- [[Remote Clusters] Add IPv6 support
(elastic#233415)](elastic#233415)
<!--- Backport version: 10.0.1 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Karen
Grigoryan","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-09-01T13:26:07Z","message":"[Remote
Clusters] Add IPv6 support (elastic#233415)\n\nfixes elastic#228298\n\n- Add IPv6
address support for remote cluster seed nodes and proxy\naddresses using
bracket notation ( [::1]:9300 )\n- Move address validation from
client-side to shared common library\nusing ipaddr.js for robust
IPv4/IPv6 validation\n- Update cluster serialization and cloud URL
parsing to handle IPv6\naddresses correctly\n\n## How to test\n\n1. Spin
up local kibana and es on default ports (`yarn es snapshot` and\n`yarn
start --no-base-path`)\n2. Go to
`/app/management/data/remote_clusters`\n3. Click \"add new cluster\"\n4.
Click \"certificates celect\"\n5. Add loopback ipv6 address to seed
pointing to cluster communication\nport `[::1]:9300`\n6. Observe no
client side error for `seed` field, proving that ipv6\nsyntax is now
valid\n7. Add `test` name\n8. `Uncheck skip_unavailable`\n10. Click
`next`\n11. Click `create remote cluster`\n12. Observe live cluster
connection in the list of remote clusters\n\n## Release Note\nAdded IPv6
support to address fields in Remote Clusters
UI\n\n---------\n\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"82f7f9d83a21db96ddb8cc6957f138a8e7729da9","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Feature:CCR
and Remote Clusters","Team:Kibana
Management","backport:version","v9.2.0","v9.1.4","v8.19.4"],"title":"[Remote
Clusters] Add IPv6
support","number":233415,"url":"https://github.com/elastic/kibana/pull/233415","mergeCommit":{"message":"[Remote
Clusters] Add IPv6 support (elastic#233415)\n\nfixes elastic#228298\n\n- Add IPv6
address support for remote cluster seed nodes and proxy\naddresses using
bracket notation ( [::1]:9300 )\n- Move address validation from
client-side to shared common library\nusing ipaddr.js for robust
IPv4/IPv6 validation\n- Update cluster serialization and cloud URL
parsing to handle IPv6\naddresses correctly\n\n## How to test\n\n1. Spin
up local kibana and es on default ports (`yarn es snapshot` and\n`yarn
start --no-base-path`)\n2. Go to
`/app/management/data/remote_clusters`\n3. Click \"add new cluster\"\n4.
Click \"certificates celect\"\n5. Add loopback ipv6 address to seed
pointing to cluster communication\nport `[::1]:9300`\n6. Observe no
client side error for `seed` field, proving that ipv6\nsyntax is now
valid\n7. Add `test` name\n8. `Uncheck skip_unavailable`\n10. Click
`next`\n11. Click `create remote cluster`\n12. Observe live cluster
connection in the list of remote clusters\n\n## Release Note\nAdded IPv6
support to address fields in Remote Clusters
UI\n\n---------\n\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"82f7f9d83a21db96ddb8cc6957f138a8e7729da9"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/233415","number":233415,"mergeCommit":{"message":"[Remote
Clusters] Add IPv6 support (elastic#233415)\n\nfixes elastic#228298\n\n- Add IPv6
address support for remote cluster seed nodes and proxy\naddresses using
bracket notation ( [::1]:9300 )\n- Move address validation from
client-side to shared common library\nusing ipaddr.js for robust
IPv4/IPv6 validation\n- Update cluster serialization and cloud URL
parsing to handle IPv6\naddresses correctly\n\n## How to test\n\n1. Spin
up local kibana and es on default ports (`yarn es snapshot` and\n`yarn
start --no-base-path`)\n2. Go to
`/app/management/data/remote_clusters`\n3. Click \"add new cluster\"\n4.
Click \"certificates celect\"\n5. Add loopback ipv6 address to seed
pointing to cluster communication\nport `[::1]:9300`\n6. Observe no
client side error for `seed` field, proving that ipv6\nsyntax is now
valid\n7. Add `test` name\n8. `Uncheck skip_unavailable`\n10. Click
`next`\n11. Click `create remote cluster`\n12. Observe live cluster
connection in the list of remote clusters\n\n## Release Note\nAdded IPv6
support to address fields in Remote Clusters
UI\n\n---------\n\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"82f7f9d83a21db96ddb8cc6957f138a8e7729da9"}},{"branch":"9.1","label":"v9.1.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Elastic Machine <[email protected]>1 parent 136f446 commit b938523
File tree
16 files changed
+685
-192
lines changed- x-pack/platform/plugins/private/remote_clusters
- __jest__/client_integration/add
- common/lib
- public/application/sections/components/remote_cluster_config_steps/remote_cluster_form
- validators
- __snapshots__
16 files changed
+685
-192
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| |||
Lines changed: 45 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
152 | 163 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
173 | 184 | | |
174 | 185 | | |
175 | 186 | | |
| |||
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
146 | 151 | | |
147 | 152 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
158 | | - | |
| 160 | + | |
| 161 | + | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
0 commit comments