[yugabyted] Cannot start yugabyted in GitLab CI with ipv6 advertise address #25741
Labels
area/ecosystem
Label for all ecosystem related projects
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
status/awaiting-triage
Issue awaiting triage
Jira Link: DB-15023
Description
We use GitLab CI and use GitLab Services to run a yugabyte container alongside our application tests. This was working fine with 2.20.x but when we recently upgraded to 2024.1.3.1 it started breaking with the following traceback:
The container was run as such:
Specifically in this case
$(hostname -i | awk '{ print $1; exit }')
ended up beingfd76:5338:4685:1:0:242:ac11:3
. The socket is being created withAF_INET
instead ofAF_INET6
which is causing the issue. I believe GitLab runners only support IPv6 now so we are required to use IPv6. We also must useadvertise_address
because we have a smart driver and it the addresses inyb_servers()
must be connectable from our unit tests.This appears to have been changed in 89e314b.
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: