Yedidyah Bar David has uploaded a new change for review.

Change subject: packaging: setup: Only check IPv4 addresses for FQDN
......................................................................

packaging: setup: Only check IPv4 addresses for FQDN

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1009990
Change-Id: I72d308ad78a7e28de4d8e984691f5dc024667a8a
Signed-off-by: Yedidyah Bar David <[email protected]>
---
M packaging/setup/plugins/ovirt-engine-setup/config/hostname.py
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/15/21715/1

diff --git a/packaging/setup/plugins/ovirt-engine-setup/config/hostname.py 
b/packaging/setup/plugins/ovirt-engine-setup/config/hostname.py
index 9092655..1f8ebe2 100644
--- a/packaging/setup/plugins/ovirt-engine-setup/config/hostname.py
+++ b/packaging/setup/plugins/ovirt-engine-setup/config/hostname.py
@@ -185,7 +185,9 @@
                 address[0] for __, __, __, __, address in
                 socket.getaddrinfo(
                     fqdn,
-                    None
+                    None,
+                    # Currently we need an IPv4 address and ignore the rest.
+                    socket.AF_INET,
                 )
             ])
             self.logger.debug(


-- 
To view, visit http://gerrit.ovirt.org/21715
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I72d308ad78a7e28de4d8e984691f5dc024667a8a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to