Public bug reported:

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/by-
path/ip-10.250.1.199\:3260-iscsi-
iqn.2020-01.cluster.focal\:target01-lun-1

...
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.

** Affects: fence-agents (Ubuntu)
     Importance: Wishlist
         Status: Confirmed

** Affects: tgt (Ubuntu)
     Importance: Wishlist
         Status: Confirmed

** Changed in: tgt (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: tgt (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to tgt in Ubuntu.
https://bugs.launchpad.net/bugs/1863688

Title:
  tgt should support Persistent Reserve Out (5Fh) PREEMPT AND ABORT
  (05h) service

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fence-agents/+bug/1863688/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to