Troubleshooting replicas in SynetoOS 5

Written By Christian Castagna (Administrator)

Updated at April 11th, 2025

→ Applies to: SynetoOS 5.x

All commands in this article are intended to be executed via SynetoOS CLI.


Identify queued replicas

List all queues (excluding those with a count of 0):

kubectl exec -it pods/rabbitmq-0 -- rabbitmqctl list_queues | grep -v -P ".*\t0" | sort

 

Kill queued replicas

Delete an entire queue (replace <queue_name> with your queue name):

kubectl exec -it pods/rabbitmq-0 -- rabbitmqctl delete_queue <queue_name>

Examples of queues are volume_start_replication, etc.

 

Restart the SynetoOS 5 service (syneto-giove) to ensure the changes take effect

systemctl restart syneto-giove

 

Identify running replicas

List all running replicas:

syneto-giove-cli.sh show | grep repl

List details of all running replicas (database query):

echo "select * from jobs where status in ('RUNNING');" | kubectl exec -i pods/postgres-postgresql-0 -- bash -c 'PGPASSWORD=$POSTGRES_PASSWORD psql -d chronos --user postgres'

 

Stop running replicas

Stop a specific replica (replace <job_id> with your replica job ID identified through the detailed lists):

syneto-giove-cli.sh stop <job_id>

EXAMPLE

syneto-giove-cli.sh stop 8256b248-1f90-4462-98f3-ca51bdb8b143