zammad-helm icon indicating copy to clipboard operation
zammad-helm copied to clipboard

Add a way to disable iPv6

Open d3ployment opened this issue 2 years ago • 0 comments

Is this a request for help?: Yes


Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST

Version of Helm and Kubernetes:
Helm: v3.14.3+gf03cc04 Kubernetes: v1.26.9+rke2r1

What happened: After initializing connexion with Redis backend, the railsserver pod crashes with the following error :

$ k logs zammad-railsserver-54f85f9966-r2qbj --follow
Defaulted container "zammad-railsserver" out of: zammad-railsserver, zammad-volume-permissions (init)
Puma starting in single mode...
* Puma version: 6.4.2 (ruby 3.2.4-p170) ("The Eagle of Durango")
*  Min threads: 5
*  Max threads: 30
*  Environment: production
*          PID: 1
I, [2024-07-19T13:21:29.605346 #1]  INFO -- : ActionCable is using the redis instance at redis://:zammad@zammad-redis-master:6379.
I, [2024-07-19T13:21:29.897122#1-6920]  INFO -- : Using memcached as Rails cache store.
I, [2024-07-19T13:21:29.897656#1-6920]  INFO -- : Using the Redis back end for Zammad's web socket session store.
bundler: failed to load command: puma (/usr/local/bundle/bin/puma)
/usr/local/bundle/gems/puma-6.4.2/lib/puma/binder.rb:334:in `initialize': Address family not supported by protocol - socket(2) for "::" port 3000 (Errno::EAFNOSUPPORT)
	from /usr/local/bundle/gems/puma-6.4.2/lib/puma/binder.rb:334:in `new'
	from /usr/local/bundle/gems/puma-6.4.2/lib/puma/binder.rb:334:in `add_tcp_listener'
	from /usr/local/bundle/gems/puma-6.4.2/lib/puma/binder.rb:163:in `block in parse'
	from /usr/local/bundle/gems/puma-6.4.2/lib/puma/binder.rb:146:in `each'
	from /usr/local/bundle/gems/puma-6.4.2/lib/puma/binder.rb:146:in `parse'
	from /usr/local/bundle/gems/puma-6.4.2/lib/puma/runner.rb:168:in `load_and_bind'
	from /usr/local/bundle/gems/puma-6.4.2/lib/puma/single.rb:44:in `run'
	from /usr/local/bundle/gems/puma-6.4.2/lib/puma/launcher.rb:194:in `run'
	from /usr/local/bundle/gems/puma-6.4.2/lib/puma/cli.rb:75:in `run'
	from /usr/local/bundle/gems/puma-6.4.2/bin/puma:10:in `<top (required)>'
	from /usr/local/bundle/bin/puma:25:in `load'
	from /usr/local/bundle/bin/puma:25:in `<top (required)>'
	from /usr/local/bundle/gems/bundler-2.4.1/lib/bundler/cli/exec.rb:58:in `load'
	from /usr/local/bundle/gems/bundler-2.4.1/lib/bundler/cli/exec.rb:58:in `kernel_load'
	from /usr/local/bundle/gems/bundler-2.4.1/lib/bundler/cli/exec.rb:23:in `run'
	from /usr/local/bundle/gems/bundler-2.4.1/lib/bundler/cli.rb:491:in `exec'
	from /usr/local/bundle/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from /usr/local/bundle/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /usr/local/bundle/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
	from /usr/local/bundle/gems/bundler-2.4.1/lib/bundler/cli.rb:34:in `dispatch'
	from /usr/local/bundle/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
	from /usr/local/bundle/gems/bundler-2.4.1/lib/bundler/cli.rb:28:in `start'
	from /usr/local/bundle/gems/bundler-2.4.1/exe/bundle:45:in `block in <top (required)>'
	from /usr/local/bundle/gems/bundler-2.4.1/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
	from /usr/local/bundle/gems/bundler-2.4.1/exe/bundle:33:in `<top (required)>'
	from /usr/local/bundle/bin/bundle:25:in `load'
	from /usr/local/bundle/bin/bundle:25:in `<main>'

I suspect iPv6 to be hardcoded in railsserver because I cannot see a way to disable it in values

What you expected to happen: A way to disable iPv6 in Chart values or at least with config

How to reproduce it (as minimally and precisely as possible): Just install the Helm chart on a cluster without iPv6 support Like in my case cilium with enable-ipv6 set to false

Anything else we need to know: I cannot enable iPv6 so this will not be a solution for me

d3ployment avatar Jul 19 '24 13:07 d3ployment