Details
-
Bug
-
Resolution: Done
-
Medium
-
None
Description
Following tests are failing:
Failed tests: [sig-network] DNS should provide /etc/hosts entries for the cluster [LinuxOnly] [Conformance] [sig-network] DNS should provide DNS for services [Conformance] [sig-network] DNS should provide DNS for ExternalName services [Conformance] [sig-network] DNS should provide DNS for the cluster [Conformance]
Excerpt from run log:
Sep 27 12:17:38.626: INFO: Unable to read wheezy_hosts@dns-querier-1.dns-test-service.dns-4515.svc.cluster.local from pod dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd: the server could not find the requested resource (get pods dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd)
Sep 27 12:17:38.631: INFO: Unable to read wheezy_udp@PodARecord from pod dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd: the server could not find the requested resource (get pods dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd)
Sep 27 12:17:38.634: INFO: Unable to read wheezy_tcp@PodARecord from pod dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd: the server could not find the requested resource (get pods dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd)
Sep 27 12:17:38.637: INFO: Unable to read jessie_hosts@dns-querier-1.dns-test-service.dns-4515.svc.cluster.local from pod dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd: the server could not find the requested resource (get pods dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd)
Sep 27 12:17:38.641: INFO: Unable to read jessie_udp@PodARecord from pod dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd: the server could not find the requested resource (get pods dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd)
Sep 27 12:17:38.643: INFO: Unable to read jessie_tcp@PodARecord from pod dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd: the server could not find the requested resource (get pods dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd)
Sep 27 12:17:38.643: INFO: Lookups using dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd failed for: [wheezy_hosts@dns-querier-1.dns-test-service.dns-4515.svc.cluster.local wheezy_udp@PodARecord wheezy_tcp@PodARecord jessie_hosts@dns-querier-1.dns-test-service.dns-4515.svc.cluster.local jessie_udp@PodARecord jessie_tcp@PodARecord]
Conformance DNS tests assumes cluster's DNS domain to be "cluster.local". In this case the domain is "rec.io"
/ # getent hosts dns-querier-1 10.244.1.20 dns-querier-1.dns-test-service.dns-4515.svc.rec.io dns-querier-1.dns-test-service.dns-4515.svc.rec.io dns-querier-1
The test passes when it is configured to use correct domain name.