tgt should support Persistent Reserve Out (5Fh) PREEMPT AND ABORT (05h) service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fence-agents (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned | ||
tgt (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
When using TGT to serve iSCSI targets/luns to a corosync/pacemaker cluster, if one wants to use "fence_scsi" to fence the shared disk for a particular node it won't be able to as tgt does not implement the PREEMPT AND ABORT (05h) service.
A error like this will occur:
$ sudo fence_scsi --verbose -n clufocal03 --action=off -d /dev/disk/
...
2020-02-17 20:08:40,470 DEBUG: 5 PR out (Preempt and abort): bad field in cdb or parameter list (perhaps unsupported service action)
sg_persist failed: Illegal request
...
This is particularly bad as pacemaker configured with fence_scsi will fail to fence the other node with abstract error message.
I'm also setting this bug to affect fence-agents as it could provide some workaround for Persistent Reserve Out (5Fh) without the preempt and abort support (also as a whishlist, and for documentation purposes).