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

Manila relies on device name from Nova (which is not reliable) #1065

Open
mnaser opened this issue Apr 4, 2024 · 1 comment · May be fixed by #2182
Open

Manila relies on device name from Nova (which is not reliable) #1065

mnaser opened this issue Apr 4, 2024 · 1 comment · May be fixed by #2182
Assignees

Comments

@mnaser
Copy link
Member

mnaser commented Apr 4, 2024

For some reason, if there are volumes that fail to attach properly, you will end up in a scenario where the volumes will fail to attach properly because the expected /dev/vdX does not match the correct one.

We should make Manila try and detect /dev/disk/by-id and rely on the virtio first, at least initially, then fallback to the Nova path:

manila@ubuntu:~$ ls -al /dev/disk/by-id
total 0
drwxr-xr-x 2 root root  60 Apr  2 20:58 .
drwxr-xr-x 7 root root 140 Apr  2 20:57 ..
lrwxrwxrwx 1 root root   9 Apr  2 20:58 virtio-a9f53ad5-f359-46b9-8 -> ../../vdc
@okozachenko1203 okozachenko1203 self-assigned this Apr 10, 2024
@thywyn
Copy link
Contributor

thywyn commented Sep 11, 2024

A few weeks ago we ran into this issue where the mounts got mixed up between the linux OS on the share serveer and nova's config for the drives. Any idea of when this will be addressed?

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

Successfully merging a pull request may close this issue.

3 participants