distributed-system-analysis / pbench

A benchmarking and performance analysis framework
http://distributed-system-analysis.github.io/pbench/
GNU General Public License v3.0
188 stars 108 forks source link

[BUG] redis-server refuses to start on Fedora 38 #3403

Closed ndokos closed 1 year ago

ndokos commented 1 year ago

Is there an existing issue for this?

Description

On Fedora 38, redis-server does not start:

[warn][2023-04-26T17:26:44.476406] Unable to connect to redis server, Redis server

Redis is running in protected mode because protected mode is enabled and no password is set for the default user. In this mode connections are only accepted from the loopback interface. If you want to connect from external computers to Redis you may adopt one of the following solutions:

1) Just disable protected mode sending the command 'CONFIG SET protected-mode no' from the loopback interface by connecting to Redis from the same host the server is running, however MAKE SURE Redis is not publicly accessible from internet if you do so. Use CONFIG REWRITE to make this change permanent.

2) Alternatively you can just disable the protected mode by editing the Redis configuration file, and setting the protected mode option to 'no', and then restarting the server.

3) If you started the server manually just for testing, restart it with the '--protected-mode no' option.

4) Setup a an authentication password for the default user. NOTE: You only need to do one of the above things in order for the server to start accepting connections from the outside.

Version info:

[root@dhcp31-112 ~]# uname -a Linux dhcp31-112.perf.lab.eng.bos.redhat.com 6.2.9-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 30 22:32:58 UTC 2023 x86_64 GNU/Linux

[root@dhcp31-112 ~]# redis-server --version Redis server v=7.0.10 sha=00000000:0 malloc=jemalloc-5.2.1 bits=64 build=3ac3e681393b08b3

To Reproduce

Run pbench-user-benchmark -- sleep 20 on a Fedora 38 system with a v0.72 agent.

Actual Results

redis-server issues a warning and does not start.

Expected Results

redis-server should start.

Additional information

No response

webbnh commented 1 year ago

However we choose to address this, the fix needs to apply to the Fedora-38-based containerized Agent as well.

(We might want to contemplate whether fixing the container should be the fix for this issue...although, perhaps it's too soon to suggest that we ship only a containerized Agent instead of a native installation.)

ndokos commented 1 year ago

Ditto on Fedora 37.