fence-agents/ha-cloud-support-google.patch
Oyvind Albrigtsen 242f3d9748 - bundled cryptography: replace with dependency to fix CVE-2026-26007
- bundled PyJWT: upgrade to v2.12.1 to fix CVE-2026-32597
  Resolves: RHEL-148437, RHEL-155677
2026-04-16 13:50:38 +02:00

21 lines
661 B
Diff

--- a/agents/gce/fence_gce.py 2026-04-15 10:38:15.742597179 +0200
+++ b/agents/gce/fence_gce.py 2026-04-15 10:40:20.021924656 +0200
@@ -9,7 +9,6 @@
#
import atexit
-import httplib2
import logging
import json
import re
@@ -30,6 +29,9 @@
from fencing import fail_usage, run_delay, all_opt, atexit_handler, check_input, process_input, show_docs, fence_action
try:
+ sys.path.insert(0, '/usr/lib/fence-agents/support/google/lib64/python#PYTHON3_VERSION#/site-packages')
+ sys.path.insert(1, '/usr/lib/fence-agents/support/google/lib/python#PYTHON3_VERSION#/site-packages')
+ import httplib2
import googleapiclient.discovery
import socks
try: