-
Notifications
You must be signed in to change notification settings - Fork 0
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
What happens when a key is revoked while one device in an encrypted pool is open and others are not? #636
Comments
Note that
but
Here we might be more willing to believe stratis. Perhaps that Things on the test system are doing really poorly now; I can not even set a new key. stratis is reporting all keys revoked even if not previously set. This is a volatile problem. Now the keys are visible and are not being reported as revoked by stratis. This may have been caused by my using keyctl to get the persistent keyring and to read its contents. Now, I can start the pool and it is fully up. What is very weird, is that, e.g., stratis key list will also get the persistent keyring, via stratisd. Why was that not enough? Since every stratis key command that I ran returned the same error, 128, "Key has been revoked", a solid hypothesis is that that was the error message returned by the |
New possible test scenario:
Still unable to reproduce the error with this approach. |
Note that in the original instance of this failure the failed assertion was preceded by the following odd log entry:
|
One suggestion to get at the error faster is that in liminal.rs:setup_pool() we should assert that len bdas == len infos after |
One possibility of a bda going missing is if it somehow has the same UUID as that of a bda already in the BDAs hash map. |
We may have encountered this problem, and this may be a reproducer.
and see messages like the following in the logs:
The text was updated successfully, but these errors were encountered: