metal3-io / ironic-image

Container image to run OpenStack Ironic as part of Metal³
Apache License 2.0
56 stars 116 forks source link

ironic-httpd config does not work on systems with ipv6 disabled #531

Closed owenthomas17 closed 1 month ago

owenthomas17 commented 1 month ago

The current Listen directive for all interfaces does not work on systems that have ipv6 disabled. Here is an example log extracted from a deployment I've tried to get working:

+ exec /usr/sbin/httpd -DFOREGROUND
[Tue Jul 23 08:29:14.110334 2024] [core:crit] [pid 1:tid 1] (97)Address family not supported by protocol: AH00078: alloc_listener: failed to get a socket for ::
AH00526: Syntax error on line 2 of /etc/httpd/conf/httpd.conf:
Listen setup failed
metal3-io-bot commented 1 month ago

This issue is currently awaiting triage. If Metal3.io contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance. The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
owenthomas17 commented 1 month ago

I've raised a PR addressing this issue and linked above. I've tested this on an ipv6 disabled Kubernetes cluster and it works.