fence-agents/RHEL-56138-fence_mpath-support-hex-key-format.patch
Oyvind Albrigtsen 8c35d22f8b - fence_mpath: add support for hex-key format (used in multipath.conf)
Resolves: RHEL-56138
- fence_scsi/fence_mpath: add support for SPC-4 disks
  Resolves: RHEL-76298
2024-10-09 15:30:52 +02:00

11 lines
452 B
Diff

--- a/agents/mpath/fence_mpath.py 2024-10-09 14:56:07.688665678 +0200
+++ b/agents/mpath/fence_mpath.py 2024-10-09 14:56:12.639780798 +0200
@@ -323,6 +323,7 @@
fail_usage("Failed: No devices found")
options["devices"] = [d for d in re.split("\s*,\s*|\s+", options["--devices"].strip()) if d]
+ options["--plug"] = re.sub(r"^0x0*|^0+", "", options["--plug"])
# Input control END
result = fence_action(None, options, set_status, get_status)