-
Notifications
You must be signed in to change notification settings - Fork 40
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
disk create called too soon after disk delete will fail #1972
Comments
An even simpler disk can be used to reproduce this, no global image required:
In the crucible agent log, I see these messages (on pretty much all disk deletions):
Then, right afterward, this message:
If I try to create another volume and I wait till I see that "Tombstoned -> Destroyed", things work. |
Even easier reproduction.
then, run the delete then the create all in one line:
|
What's the user-visible error being propagated back during the creation failure? |
Oh, you're saying nexus is crashing, not returning an error? |
I'm pretty sure this problem is down in the storage agent (crucible side). |
The crucible side issue oxidecomputer/crucible#531 I suspect that will solve what we see from Omicron, but I'll leave this issue open until the fix is verified. |
This is fixed with crucible rev: 04ba0cb56f93396e115ea04591caaa1de8167a18 |
Is there a separate issue of Nexus crashing here when Crucible does something unexpected? |
I don't think specifically for this, no. |
If I try to create a disk too soon after deleting one, the creation will fail.
I have this script to create a disk (assuming images have been populated):
I run the above, Then:
Then, run the create above a 2nd time (right away), the creation will eventually fail, the disk create saga will
fail, and nexus will dump core.
The disk delete only needs like four or five seconds to wrap up its work before a create
coming along afterwards will work.
The disks having the same name (as they do above) is not required for the failure.
The text was updated successfully, but these errors were encountered: