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

UI won't start if IPv6 is disabled in kernel #33

Open
Raboo opened this issue Aug 30, 2024 · 0 comments
Open

UI won't start if IPv6 is disabled in kernel #33

Raboo opened this issue Aug 30, 2024 · 0 comments

Comments

@Raboo
Copy link

Raboo commented Aug 30, 2024

Describe the bug
The OpenCost UI won't start if you have disabled ipv6 in the kernel boot cmdline.

$ cat /proc/cmdline
BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.14.0-427.31.1.el9_4.x86_64 root=UUID=25f86933-0567-4e26-ac6b-9676112eaf45 ro ipv6.disable=1

To Reproduce

  1. Disable IPv6. Add "ipv6.disable=1" to your grub kernel parameters.
  2. Reboot your k8s cluster
  3. Run OpenCost with UI enabled.

Expected behavior
An option to disable the IPv6 listen line in nginx.conf.

Screenshots

relevant logs from opencost-ui container:

10-listen-on-ipv6-by-default.sh: info: ipv6 not available
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2024/08/30 09:55:39 [emerg] 1#1: socket() [::]:9090 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:9090 failed (97: Address family not supported by protocol)

Which version of OpenCost are you using?
OpenCost UI version 1.111.0 (7afa352)

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

No branches or pull requests

1 participant