Make sure to also create the "fence_scsi.dev" file doing the same:

# node01

create a file /etc/fence_scsi.dev containing: /dev/disk/by-path/acpi-
VMBUS:01-scsi-0:0:0:0

# node02

create a file /etc/fence_scsi.dev containing: /dev/disk/by-path/acpi-
VMBUS:01-scsi-0:0:0:0

# node03

create a file /etc/fence_scsi.dev containing: /dev/disk/by-path/acpi-
VMBUS:01-scsi-0:0:0:0

Note: of course do change contents of the file to your shared disk
device "by-path" path.

Then, in all 3 nodes, add a 2nd line to /etc/tmpfiles.d/fence_scsi.conf
file:

L /var/run/cluster/fence_scsi.key - - - - /etc/fence_scsi.key
L /var/run/cluster/fence_scsi.dev - - - - /etc/fence_scsi.dev

And reboot the node to check if the file gets created after boot:

rafaeldtinoco@clubionic01:~$ sudo ls /var/run/cluster
fence_scsi.dev  fence_scsi.key

rafaeldtinoco@clubionic02:~$ sudo ls /var/run/cluster
fence_scsi.dev  fence_scsi.key

rafaeldtinoco@clubionic03:~$ sudo ls /var/run/cluster
fence_scsi.dev  fence_scsi.key

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

Title:
  [bionic] fence_scsi cannot open /var/run/cluster/fence_scsi.key (does
  not exist)

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

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

Reply via email to