Refresh TPGs after deleting a backstore#161
Conversation
|
@pkalever When using the daemon, 'This LUN does not exist in configFS' appears much more frequently if multiple targets are being modified with individual |
|
@iammattcoleman certainly yes! I remember we take blocking locks on each request. BTW how did you reproduce this issue? Thanks! |
|
@pkalever The simplest way to reproduce it is to create a file (e.g. ...and then run... |
|
Hello Matt, I see that the code you added to ui_command_delete() contains references to iscsi, but what happens if we try to reproduce the bug with a different type of target? |
|
@maurizio-lombardi That's my main concern with this pull request. I only have experience with iSCSI. |
|
I wasn't aware of any other protocol that has target portal groups. |
|
@gonzoleeman I wasn't either, but apparently they all do. Interestingly, they both show target portal groups in ConfigFS: @maurizio-lombardi I'm closing this pull request for now, since it definitely needs fixing. I'll reopen it with a proper fix tomorrow. |
|
@gonzoleeman I opened an updated version of this pull request that handles all fabric types, including ones that don't have target portal groups: #171 |
Resolves Red Hat Bugzilla #1571728