Blame SOURCES/0003-Fix-logging-issue-related-to-dtype.patch
|
|
717a87 |
From 0f485a0921a39c08e7259f9b38f0b10e425384a5 Mon Sep 17 00:00:00 2001
|
|
|
717a87 |
From: root <root@ipa.example.test>
|
|
|
717a87 |
Date: Mon, 5 Dec 2022 16:17:17 -0500
|
|
|
717a87 |
Subject: [PATCH] Fix logging issue related to dtype
|
|
|
717a87 |
|
|
|
717a87 |
It is an integer in earlier versions of python3-dns and a class
|
|
|
717a87 |
in later versions. Log the integer value.
|
|
|
717a87 |
|
|
|
717a87 |
Related: #2099484
|
|
|
717a87 |
---
|
|
|
717a87 |
src/ipahealthcheck/ipa/idns.py | 2 +-
|
|
|
717a87 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
717a87 |
|
|
|
717a87 |
diff --git a/ipa/idns.py b/ipa/idns.py
|
|
|
717a87 |
index e294db2..1adb69d 100644
|
|
|
717a87 |
--- a/src/ipahealthcheck/ipa/idns.py
|
|
|
717a87 |
+++ b/src/ipahealthcheck/ipa/idns.py
|
|
|
717a87 |
@@ -176,7 +176,7 @@ class IPADNSSystemRecordsCheck(IPAPlugin):
|
|
|
717a87 |
qname = "ipa-ca." + api.env.domain + "."
|
|
|
717a87 |
ipa_ca_records = []
|
|
|
717a87 |
for dtype in (rdatatype.A, rdatatype.AAAA):
|
|
|
717a87 |
- logger.debug("Search DNS for %s records of %s", dtype.name, qname)
|
|
|
717a87 |
+ logger.debug("Search DNS for %s records of %s", dtype, qname)
|
|
|
717a87 |
try:
|
|
|
717a87 |
answers = resolve(qname, dtype)
|
|
|
717a87 |
except DNSException as e:
|
|
|
717a87 |
--
|
|
|
717a87 |
2.31.1
|
|
|
717a87 |
|