-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nexus: Assertion failure when unpublishing a faulted nexus
The assertion occurs due to the nvmf subsystem transitioning from a paused to an inactive state, which is forbidden. Resume the nexus first, so that it is in an active state, before unpublishing it, which also covers destroying a nexus. A nexus in a faulted state already has no usable replicas so is itself already unusable. Repurpose the existing cargo test for a replica that is stopped, then continued, to test the above case with a single remote replica.
- Loading branch information
1 parent
b530b11
commit 190818c
Showing
2 changed files
with
55 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters