scylla-machine-image icon indicating copy to clipboard operation
scylla-machine-image copied to clipboard

scylla_create_devices fails when var-lib-scylla.mount already exists

Open ShlomiBalalis opened this issue 4 years ago • 2 comments

During a restart_then_repair nemesis in SCT, we've noticed that when we run scylla_create_devices on a restarted scylla instance the script fails when var-lib-scylla.mount already exists, a behavior we've never seen beforehand, and it is not a part of the known procedure.

As for SCT, at the moment we have a temporary fix for the issue: https://github.com/scylladb/scylla-cluster-tests/pull/2839 which we will remove once this issue is fixed

ShlomiBalalis avatar Nov 08 '20 11:11 ShlomiBalalis

@fruch ^

yaronkaikov avatar Nov 20 '22 06:11 yaronkaikov

@fruch ^

We need to handle this inside create_devices scripts. otherwise it would be break any user that would be trying to follow the procedure: https://docs.scylladb.com/operating-scylla/procedures/cluster-management/rebuild-node/

if one would follow this procedure, he would fail can calling scylla_create_devices after restart of a node

fruch avatar Nov 20 '22 06:11 fruch