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

Opensearch-dashboard pod not assining ipv6 address inside the pod in kubernates #493

Open
ganilmca opened this issue Oct 27, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ganilmca
Copy link

ganilmca commented Oct 27, 2023

Hi Team,

We were unable to do port-forward in opensearch-dashboard pod in kubernates cluster by using ipv6 address like below command.

kubectl port-forward opensearch-dashboards-57b46c69ff-q25pw 5601:5601 --address [2a00:fbc:3110:1502:b520:22:1:0] -n ns

And also unable to run curl command like below.

curl -gkv -u admin:admin http://[2a00:fbc:3110:1502:c01e:b55:c9f1:5101]:5601

  • About to connect() to 2a00:fbc:3110:1502:c01e:b55:c9f1:5101 port 5601 (#0)
  • Trying 2a00:fbc:3110:1502:c01e:b55:c9f1:5101...
  • Connection refused
  • Failed connect to 2a00:fbc:3110:1502:c01e:b55:c9f1:5101:5601; Connection refused
  • Closing connection 0
    curl: (7) Failed connect to 2a00:fbc:3110:1502:c01e:b55:c9f1:5101:5601; Connection refused

We were getting "Connection refused" here.

When i see inside pod it showing empty in server host
[opensearch-dashboards@kibana-opensearch-dashboards-676b8d69c4-tbn55 ~]$ env | grep SERVER
SERVER_HOST=

We are using in our values.yaml file like below.
serverHost: "eth0:ipv6"
serverHost: "global:ipv6"
serverHost: "[::0]"

service:
type: ClusterIP
ipFamilies:

  • IPv6

Still we were unable to deploy the opensearch-dashboard pod.

Please tell us how to overcome this issue.

Thanks,
Anil

@ganilmca ganilmca added bug Something isn't working untriaged Issues that have not yet been triaged labels Oct 27, 2023
@prudhvigodithi
Copy link
Member

[Untriage]
Hey @ganilmca happy to help but this looks to me more like an error from kubernetes end and not with OpenSearch helm chart? Did you setup work with regular ipv4? Also did you set use server.host to set the ipv6?

Adding @kavilla @AMoo-Miki is there a limitation setting server.host with an ipv6 from OpenSearch Dashboards?

@bbarani @peterzhuamazon @premkirank @TrungBui59

@prudhvigodithi prudhvigodithi removed the untriaged Issues that have not yet been triaged label Nov 3, 2023
@getsaurabh02 getsaurabh02 moved this from 🆕 New to Later (6 months plus) in Engineering Effectiveness Board Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📦 Backlog
Development

No branches or pull requests

2 participants