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

Rafael David Tinoco rafaeldtinoco at ubuntu.com
Mon Feb 24 03:48:06 UTC 2020


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 at clubionic01:~$ sudo ls /var/run/cluster
fence_scsi.dev  fence_scsi.key

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

rafaeldtinoco at 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



More information about the Ubuntu-server-bugs mailing list