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

Try to get Btrfs volume UUID using libblockdev if UDev lookup fails #936

Conversation

vojtechtrefny
Copy link
Member

@vojtechtrefny vojtechtrefny commented Mar 1, 2021

Resolves: rhbz#1860602


This isn't really a fix, just a workaround. @dwlehman mentioned similar issue happening in the store role too, we should consider reading the UUID and similar properties we gather in _post_create from other sources than UDev. We run udev.settle() but it doesn't help.

@vojtechtrefny vojtechtrefny force-pushed the 3.4-devel_btrfs-uuid-libblockdev branch from 6d371ae to ba7abff Compare March 2, 2021 09:49
Copy link
Contributor

@dwlehman dwlehman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea.

@vojtechtrefny vojtechtrefny merged commit 6847696 into storaged-project:3.4-devel May 5, 2021
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 this pull request may close these issues.

None yet

2 participants