You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Script stops instanses, but causes and error though
Expected Behavior
No error should be there
Current Behavior
python3 utils/cluster_manager.py stop --prefix redis-cluster
INFO:root:## Executing cluster_manager.py with the following args:
Namespace(host='127.0.0.1', tls=False, auth=None, log='info', logfile=None, action='stop', folder_path='/mnt/c/GitHub/babushka/utils/clusters', prefix='redis-cluster', cluster_folder=None, keep_folder=False)
INFO:root:2024-01-22 17:47:48.174133+00:00 Stopping script for cluster/s redis-cluster* in /mnt/c/GitHub/babushka/utils/clusters
LOG_FILE=/mnt/c/GitHub/babushka/utils/clusters/redis-cluster-2024-01-22T17:46:17Z-9JlZYa/cluster_manager.log
LOG_FILE=/mnt/c/GitHub/babushka/utils/clusters/redis-cluster-2024-01-22T17:46:46Z-6RPaER/cluster_manager.log
LOG_FILE=/mnt/c/GitHub/babushka/utils/clusters/redis-cluster-2024-01-22T17:47:26Z-zSuIPx/cluster_manager.log
ERROR:root:Failed to shutdown host 127.0.0.1:8000:
Could not connect to Redis at 127.0.0.1:8000: Connection refused
Traceback (most recent call last):
File "/mnt/c/GitHub/babushka/java/../utils/cluster_manager.py", line 1030, in <module>
main()
File "/mnt/c/GitHub/babushka/java/../utils/cluster_manager.py", line 1015, in main
stop_clusters(
File "/mnt/c/GitHub/babushka/java/../utils/cluster_manager.py", line 779, in stop_clusters
stop_cluster(host, folder, use_tls, auth, logfile, keep_folder)
File "/mnt/c/GitHub/babushka/java/../utils/cluster_manager.py", line 796, in stop_cluster
stop_server(RedisServer(host, int(port)), cluster_folder, use_tls, auth)
File "/mnt/c/GitHub/babushka/java/../utils/cluster_manager.py", line 681, in stop_server
raise Exception(
Exception: Failed to execute command: ['redis-cli', '-h', '127.0.0.1', '-p', '8000', 'shutdown', 'nosave']
Return code: 1
Error: Could not connect to Redis at 127.0.0.1:8000: Connection refused
Describe the bug
Script stops instanses, but causes and error though
Expected Behavior
No error should be there
Current Behavior
Reproduction Steps
Start standalone
Start cluster
Try to stop all
Possible Solution
No response
Additional Information/Context
No response
Client version used
N/A
Redis Version
6.0.16
OS
Linux
Language
Python
Language Version
3.10.12
Cluster information
No response
Logs
No response
Other information
No response
The text was updated successfully, but these errors were encountered: