Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ShlomiBalalis opened this issue Nov 8, 2020 · 4 comments
Assignees

Comments

@ShlomiBalalis
Copy link

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: scylladb/scylla-cluster-tests#2839 which we will remove once this issue is fixed

@yaronkaikov
Copy link
Collaborator

@fruch ^

@fruch
Copy link
Collaborator

fruch commented Nov 20, 2022

@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

@yaronkaikov
Copy link
Collaborator

@fruch almost 5 years :-), is this still relevant? i guess not really

@fruch
Copy link
Collaborator

fruch commented Jan 19, 2025

the patch is still in SCT code, and I don't think anyone tried running this flow without that patch.

So I guess it's still relevant for the procedure mentioned about: https://docs.scylladb.com/operating-scylla/procedures/cluster-management/rebuild-node/

scylla_create_devices should be able to recreate /etc/systemd/system/var-lib-scylla.mount, as part of the procedure.
or the docs should mention that you first need to clear the mount file, and then call it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants