fence_scsi doesn't create /var/run/cluster/fence_scsi.key

I am using fence_scsi in my cluster. I have created the stonith device by

pcs stonith create scsi fence_scsi pcmk_host_list="p-clu1 p-clu2" pcmk_reboot_action="off" devices="/dev/sdb,/dev/sdc" logfile=/var/log/cluster/fence.log meta provides=unfencing

However, I am getting the following error message;

Sep 06 08:57:18 p-clu1.hafam.intra /fence_scsi[70832]: Failed: Cannot open file "/var/run/cluster/fence_scsi.key"
Sep 06 08:57:18 p-clu1.hafam.intra /fence_scsi[70832]: Please use '-h' for usage
Sep 06 08:57:18 p-clu1.hafam.intra pacemaker-fenced[1916]: warning: fence_scsi[70832] stderr: [ 2024-09-06 08:57:18,415 ERROR: Failed: Cannot open file "/var/run/cluster/fence_scsi.key" ]
Sep 06 08:57:18 p-clu1.hafam.intra pacemaker-fenced[1916]: warning: fence_scsi[70832] stderr: [ ]
Sep 06 08:57:18 p-clu1.hafam.intra pacemaker-fenced[1916]: warning: fence_scsi[70832] stderr: [ 2024-09-06 08:57:18,415 ERROR: Please use '-h' for usage ]
Sep 06 08:57:18 p-clu1.hafam.intra pacemaker-fenced[1916]: warning: fence_scsi[70832] stderr: [ ]
Sep 06 08:57:19 p-clu1.hafam.intra /fence_scsi[70876]: Failed: Cannot open file "/var/run/cluster/fence_scsi.key"
Sep 06 08:57:19 p-clu1.hafam.intra /fence_scsi[70876]: Please use '-h' for usage
Sep 06 08:57:19 p-clu1.hafam.intra pacemaker-fenced[1916]: warning: fence_scsi[70876] stderr: [ 2024-09-06 08:57:19,492 ERROR: Failed: Cannot open file "/var/run/cluster/fence_scsi.key" ]
Sep 06 08:57:19 p-clu1.hafam.intra pacemaker-fenced[1916]: warning: fence_scsi[70876] stderr: [ ]
Sep 06 08:57:19 p-clu1.hafam.intra pacemaker-fenced[1916]: warning: fence_scsi[70876] stderr: [ 2024-09-06 08:57:19,493 ERROR: Please use '-h' for usage ]
Sep 06 08:57:19 p-clu1.hafam.intra pacemaker-fenced[1916]: warning: fence_scsi[70876] stderr: [ ]
Sep 06 08:57:19 p-clu1.hafam.intra pacemaker-fenced[1916]: notice: Operation 'monitor' [70876] using scsi returned 1
Sep 06 08:57:19 p-clu1.hafam.intra pacemaker-controld[1921]: notice: Result of start operation for scsi on p-amhs-clu1: error
Sep 06 08:57:19 p-clu1.hafam.intra pacemaker-controld[1921]: notice: Transition 9 aborted by operation scsi_start_0 'modify' on p-amhs-clu1: Event failed

When I check, there is really no such file, /var/run/cluster/fence_scsi.key.

I have tried a reboot a restart of cluster but they didn’t help as well.

When I try to power on manually;

fence_scsi -o on -d '/dev/sdb' -n p-clu1

It is working however it is not created after a reboot, in addition to this, it is not being OFF when I poweroff the node.

The installed package is fence-agents-scsi-4.2.1-129