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

Alertmanager failed to start on pod with IPv6 address #1895

Closed
NeverBehave opened this issue Dec 24, 2020 · 3 comments
Closed

Alertmanager failed to start on pod with IPv6 address #1895

NeverBehave opened this issue Dec 24, 2020 · 3 comments

Comments

@NeverBehave
Copy link

Fission/Kubernetes version

$ fission version
client:
  fission/core:
    BuildDate: "2020-10-20T14:43:45Z"
    GitCommit: 52508e19343ef93da4ce8960908c5569f44da225
    Version: 1.11.2
server:
  fission/core:
    BuildDate: "2020-10-20T14:43:45Z"
    GitCommit: 52508e19343ef93da4ce8960908c5569f44da225
    Version: 1.11.2

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.1", GitCommit:"c4d752765b3bbac2237bf87cf0b1c2e307844666", GitTreeState:"clean", BuildDate:"2020-12-19T08:38:20Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0", GitCommit:"e19964183377d0ec2052d1f1fa930c4d7575bd50", GitTreeState:"clean", BuildDate:"2020-08-26T14:23:04Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes platform (e.g. Google Kubernetes Engine)

Manual

Describe the bug

When alertmanager pod was assigned with IPv6 Address, it complains the address has too many colons.

To Reproduce

Set up Calico with IPv6 Pool for pods and install fission following the guide

Expected result

The alertmanager should start with no issue

Actual result

k logs -n fission fission-prometheus-alertmanager-c5ff7cc96-ghs8z prometheus-alertmanager
level=info ts=2020-12-24T02:27:44.538Z caller=main.go:197 msg="Starting Alertmanager" version="(version=0.18.0, branch=HEAD, revision=1ace0f76b7101cccc149d7298022df36039858ca)"
level=info ts=2020-12-24T02:27:44.538Z caller=main.go:198 build_context="(go=go1.12.6, user=root@868685ed3ed0, date=20190708-14:31:49)"
level=error ts=2020-12-24T02:27:44.539Z caller=main.go:222 msg="unable to initialize gossip mesh" err="invalid advertise address: address 2a0e:xxxx:xxxx:xxxx:7e48:cff1:8353:e1a8:6783: too many colons in address"

Screenshots/Dump file

$ fission support dump

Additional context

IPv6 Only Cluster

@vishal-biyani
Copy link
Member

Hi @NeverBehave I think this issue is better filed in Prometheus repo if it just about alert manager. There are a bunch of issues related to IPV6 in Prometheus project. If this is something of a problem with Fission pods, please reopen. I will close this for now.

@NeverBehave
Copy link
Author

NeverBehave commented Dec 24, 2020

gotcha, I think it's also a good idea to let people know the metrics, due to this reason, is not working properly right now. The core seems to be fine.

@NeverBehave
Copy link
Author

NeverBehave commented Dec 25, 2020

I don't know if this worth another issue but I would like to keep a record here.
Due to npm/cli#348 , the builder (fission/node-env) in the example won't work under IPv6 only network. Switch to a debian based image will solve this problem.

Crafted an env here: https://github.com/NeverBehave/fission-node-env-debian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants