diff --git a/RHEL-191488-2-fence_vmware_rest-remove-static-token-option.patch b/RHEL-191488-2-fence_vmware_rest-remove-static-token-option.patch index e6a2afc..bd6f63e 100644 --- a/RHEL-191488-2-fence_vmware_rest-remove-static-token-option.patch +++ b/RHEL-191488-2-fence_vmware_rest-remove-static-token-option.patch @@ -1,4 +1,4 @@ -From 9d63480532597b4a0508d049a8d4f933c468552e Mon Sep 17 00:00:00 2001 +From 52fecd207e28386283c8389c2dd43bda59c8becf Mon Sep 17 00:00:00 2001 From: Arslan Ahmad Date: Wed, 29 Jul 2026 19:18:10 +0530 Subject: [PATCH] fence_vmware_rest: remove static --token option @@ -12,12 +12,12 @@ fetch a fresh session token dynamically on every invocation. Signed-off-by: Arslan Ahmad --- - agents/vmware_rest/fence_vmware_rest.py | 25 ++++++++--------------- + agents/vmware_rest/fence_vmware_rest.py | 23 ++++++++--------------- tests/data/metadata/fence_vmware_rest.xml | 5 ----- - 2 files changed, 9 insertions(+), 21 deletions(-) + 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/agents/vmware_rest/fence_vmware_rest.py b/agents/vmware_rest/fence_vmware_rest.py -index fb9d42861..7e790c306 100644 +index fb9d42861..c14e5559d 100644 --- a/agents/vmware_rest/fence_vmware_rest.py +++ b/agents/vmware_rest/fence_vmware_rest.py @@ -68,9 +68,9 @@ def get_list(conn, options): @@ -73,12 +73,10 @@ index fb9d42861..7e790c306 100644 "token_script", ] -@@ -226,10 +218,11 @@ def main(): - all_opt["shell_timeout"]["default"] = "5" +@@ -227,9 +219,10 @@ def main(): all_opt["power_wait"]["default"] = "1" -- options = check_input(device_opt, process_input(device_opt)) -+ options = check_input(device_opt, process_input(device_opt)) + options = check_input(device_opt, process_input(device_opt)) + token = None if "--token-script" in options: try: diff --git a/fence-agents.spec b/fence-agents.spec index 68e0930..2e373c0 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -13,7 +13,7 @@ Name: fence-agents Summary: Set of unified programs capable of host isolation ("fencing") Version: 4.16.0 -Release: 32%{?alphatag:.%{alphatag}}%{?dist} +Release: 33%{?alphatag:.%{alphatag}}%{?dist} License: GPL-2.0-or-later AND LGPL-2.0-or-later URL: https://github.com/ClusterLabs/fence-agents Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.gz @@ -1234,7 +1234,7 @@ are located on corosync cluster nodes. %endif %changelog -* Thu Jul 30 2026 Arslan Ahmad - 4.16.0-32 +* Fri Jul 31 2026 Arslan Ahmad - 4.16.0-33 - fence_vmware_rest: add token-based authentication Resolves: RHEL-191488