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

Failed to unshare or destroy Nexus, subsystem is busy #1722

Closed
tiagolobocastro opened this issue Aug 16, 2024 · 1 comment
Closed

Failed to unshare or destroy Nexus, subsystem is busy #1722

tiagolobocastro opened this issue Aug 16, 2024 · 1 comment
Assignees
Labels
BUG Something isn't working

Comments

@tiagolobocastro
Copy link
Contributor

Describe the bug
When we are pausing the nexus, all IO must get flushed before pausing completes.
If we can't flush the IO then pausing is stuck forever...

Messages like this one may be seen:

ERROR io_engine::subsys::nvmf::subsystem:subsystem.rs:891] Subsystem stop failed: Failed to stop subsystem 'nqn.2019-05.io.openebs:a9faaa48-5b9a-408c-b1f3-5dbc909ecb7f': subsystem is busy self=NvmfSubsystem { id: 52, subtype: "NVMe", subnqn: "nqn.2019-05.io.openebs:a9faaa48-5b9a-408c-b1f3-5dbc909ecb7f", sn: "DCSC4F3434BD943EAB28", mn: "Mayastor NVMe controller", allow_any_host: 0, ana_reporting: 1, listeners: Some([Transport ID { trtype: 3, trstring: "TCP", traddr: "10.71.84.174", trsvcid: "8420" }]) }

Expected behavior
It may take some time, but pausing should succeed!

Additional context
When this happens we basically have a stuck Nexus which we can't delete.

@tiagolobocastro tiagolobocastro added the BUG Something isn't working label Aug 16, 2024
@tiagolobocastro tiagolobocastro self-assigned this Sep 25, 2024
@tiagolobocastro
Copy link
Contributor Author

#1721 fixes this on 2.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant