elasticsearch does not work in an ipv6 environment

Bug #1866727 reported by Jeffrey Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Jeffrey Zhang
Train
Fix Released
Medium
Mark Goddard
Ussuri
Fix Released
Medium
Jeffrey Zhang

Bug Description

Get following error when run elasticsearch in ipv6 environment

Exception in thread "main" java.lang.IllegalArgumentException: Failed to resolve address for [fd00:2020:122::1]
Likely root cause: java.lang.IllegalArgumentException: IPv6 addresses must be bracketed: fd00:2020:122::1
 at org.elasticsearch.transport.netty.NettyTransport.parse(NettyTransport.java:733)
 at org.elasticsearch.transport.netty.NettyTransport.addressesFromString(NettyTransport.java:696)
 at org.elasticsearch.transport.TransportService.addressesFromString(TransportService.java:426)
 at org.elasticsearch.discovery.zen.ping.unicast.UnicastZenPing.<init>(UnicastZenPing.java:160)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
 at <<<guice>>>
 at org.elasticsearch.node.Node.<init>(Node.java:213)
 at org.elasticsearch.node.Node.<init>(Node.java:140)
 at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
 at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:194)
 at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286)
 at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:45)

Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

bot is broken?

patch is push to https://review.opendev.org/711176

Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

Wrong project, Jeffrey. I'll fix it manually.

affects: kolla → kolla-ansible
Changed in kolla-ansible:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Jeffrey Zhang (jeffrey4l)
milestone: none → 10.0.0
summary: - elasticsearch do not work in ipv6 environment
+ elasticsearch does not work in an ipv6 environment
Changed in kolla-ansible:
assignee: Jeffrey Zhang (jeffrey4l) → Radosław Piliszek (yoctozepto)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/711176
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=3a8f53383928b12935ea7265ff5e0696d7d01ae4
Submitter: Zuul
Branch: master

commit 3a8f53383928b12935ea7265ff5e0696d7d01ae4
Author: Jeffrey Zhang <email address hidden>
Date: Wed Mar 4 16:02:00 2020 +0800

    Fix elasticsearch configuration in ipv6 environments

    Closes-Bug: #1866727
    Change-Id: I455ef6026b39110791cd38dac053205550af1ce2

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/712065

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/train)

Reviewed: https://review.opendev.org/712065
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=95c165635bf306e444313be5659a0ad51cf67fe8
Submitter: Zuul
Branch: stable/train

commit 95c165635bf306e444313be5659a0ad51cf67fe8
Author: Jeffrey Zhang <email address hidden>
Date: Wed Mar 4 16:02:00 2020 +0800

    Fix elasticsearch configuration in ipv6 environments

    Closes-Bug: #1866727
    Change-Id: I455ef6026b39110791cd38dac053205550af1ce2
    (cherry picked from commit 3a8f53383928b12935ea7265ff5e0696d7d01ae4)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.