Skip to content

Commit f7bd3a9

Browse files
committed
S3UTILS-222: preserve buckets-with-replication.json for re-running checks
Use cp instead of mv so the bucket list file remains at /root/ on the runner, allowing steps 3-5 to be repeated without re-running the list script.
1 parent 5a9b98f commit f7bd3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

replicationAudit/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ansible -i env/$ENV_DIR/inventory md1-cluster1 -m shell \
4646
LEADER_IP=<leader-ip-from-step-3>
4747

4848
ansible -i env/$ENV_DIR/inventory runners_s3[0] -m shell \
49-
-a "mv /root/buckets-with-replication.json {{ env_host_logs}}/scality-vault{{ container_name_suffix | default("")}}/logs && \
49+
-a "cp /root/buckets-with-replication.json {{ env_host_logs}}/scality-vault{{ container_name_suffix | default("")}}/logs && \
5050
ctrctl exec scality-vault{{ container_name_suffix | default("")}} node /logs/check-replication-permissions.js \
5151
/logs/buckets-with-replication.json $LEADER_IP /logs/missing.json"
5252

0 commit comments

Comments
 (0)