- Fix CI gating tests

Resolves: RHEL-76495
This commit is contained in:
Oyvind Albrigtsen 2025-02-03 12:57:30 +01:00
parent 1f65a1ca2d
commit 381fe2bf11
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
Name: fence-agents
Summary: Set of unified programs capable of host isolation ("fencing")
Version: 4.16.0
Release: 3%{?alphatag:.%{alphatag}}%{?dist}
Release: 4%{?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
@ -1182,7 +1182,7 @@ are located on corosync cluster nodes.
%endif
%changelog
* Fri Jan 31 2025 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.16.0-3
* Mon Feb 3 2025 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.16.0-4
- fence_azure_arm: use azure-identity instead of msrestazure, which has
been deprecated
Resolves: RHEL-76495

View File

@ -1,6 +1,6 @@
#!/bin/sh
PYTHON_VERSION=$(python3 --version | awk '{print $NF}')
PYTHON_VERSION=$(python3 -Esc "import sys; sys.stdout.write('{0.major}.{0.minor}'.format(sys.version_info))")
err=0
if [ "$(pcs stonith list 2> /dev/null | wc -l)" -eq 0 ]; then