pulp-operator icon indicating copy to clipboard operation
pulp-operator copied to clipboard

[BUG?] Redis image support IPv6

Open git-hyagi opened this issue 3 years ago • 1 comments

Describe the bug We are setting an IPv4 address for Redis liveness and readiness probes: https://github.com/pulp/pulp-operator/blob/05bc5969c84b9040658acfcc4159a79602116488/controllers/repo_manager/redis.go#L286 https://github.com/pulp/pulp-operator/blob/05bc5969c84b9040658acfcc4159a79602116488/controllers/repo_manager/redis.go#L307

We should validate if this could have issues in environments with only IPv6 enabled. We would also need to check if the image supports IPv6.

To Reproduce I didn't reproduce this error, this issue needs more investigation.

git-hyagi avatar Nov 18 '22 15:11 git-hyagi

it seems redis-cli -h 127.0.0.1 does some magic and works even for IPv6, but the redis itself doesn't seem to be good with IPv6 https://github.com/redis/redis/issues/3076 https://github.com/redis/redis/issues/2511#issuecomment-119666092

fao89 avatar Nov 18 '22 18:11 fao89