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

Infinite loop on kernel when acquiring lock for mkfs during volume creation #51

Open
flaviostutz opened this issue Aug 5, 2018 · 1 comment

Comments

@flaviostutz
Copy link

I am using the exclusive-lock feature on the Ceph images. During volume creation, the kernel enters an infinite loop with a message "Locked by external element" in "dmesg -w". I have to reboot the machine then. No success trying to kill the container.

Tested on kernel 4.15 and 4.17 with Mimic.

@flaviostutz
Copy link
Author

During my tests, during mkfs and mount, the kernel acquires a lock automatically on the image resource if running the creation and mkfs procedures outside the plugin (raw commands on rbd cli).

Maybe we could remove the custom locking capabilities from the plugin. I commented out the custom locking from the plugin and the error is not raising anymore. If my tests are successful I will provide a PR here.

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

1 participant