|
|
403b09 |
From 0f655b619eae8320757cd6d18f9f1dda6ab2c6ed Mon Sep 17 00:00:00 2001
|
|
|
403b09 |
From: Martin Basti <mbasti@redhat.com>
|
|
|
403b09 |
Date: Fri, 22 Jul 2016 13:32:31 +0200
|
|
|
403b09 |
Subject: [PATCH] DNS Locations: fix update-system-records unpacking error
|
|
|
403b09 |
|
|
|
403b09 |
Method IPASystemRecords.records_list_from_node returns only list
|
|
|
403b09 |
consists only from record names not tuple, which caused unpacking error
|
|
|
403b09 |
|
|
|
403b09 |
https://fedorahosted.org/freeipa/ticket/6117
|
|
|
403b09 |
|
|
|
403b09 |
Reviewed-By: Nikhil Dehadrai <ndehadra@redhat.com>
|
|
|
403b09 |
---
|
|
|
403b09 |
ipaserver/install/bindinstance.py | 4 ++--
|
|
|
403b09 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
403b09 |
|
|
|
403b09 |
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py
|
|
|
403b09 |
index 844fb04a9d9feca936211964b75a0b3468ba663b..7538e145cbe37dfc21963d97dea0e835e3bd5072 100644
|
|
|
403b09 |
--- a/ipaserver/install/bindinstance.py
|
|
|
403b09 |
+++ b/ipaserver/install/bindinstance.py
|
|
|
403b09 |
@@ -1139,10 +1139,10 @@ class BindInstance(service.Service):
|
|
|
403b09 |
root_logger.error("Update of following records failed:")
|
|
|
403b09 |
for attr in (failed_ipa_rec, failed_loc_rec):
|
|
|
403b09 |
for rname, node, error in attr:
|
|
|
403b09 |
- for record, e in IPASystemRecords.records_list_from_node(
|
|
|
403b09 |
+ for record in IPASystemRecords.records_list_from_node(
|
|
|
403b09 |
rname, node
|
|
|
403b09 |
):
|
|
|
403b09 |
- root_logger.error("%s (%s)", record, e)
|
|
|
403b09 |
+ root_logger.error("%s (%s)", record, error)
|
|
|
403b09 |
|
|
|
403b09 |
def check_global_configuration(self):
|
|
|
403b09 |
"""
|
|
|
403b09 |
--
|
|
|
403b09 |
2.7.4
|
|
|
403b09 |
|