{"action":"closed","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/17459","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/17459/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/17459/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/17459/events","html_url":"https://github.com/openshift/origin/issues/17459","id":276850924,"number":17459,"title":"Internal DNS resolving .svc to public .svc domain instead of .svc.cluster.local when member of RH IDM Domain","user":{"login":"mlbiam","id":8249283,"avatar_url":"https://avatars0.githubusercontent.com/u/8249283?v=4","gravatar_id":"","url":"https://api.github.com/users/mlbiam","html_url":"https://github.com/mlbiam","followers_url":"https://api.github.com/users/mlbiam/followers","following_url":"https://api.github.com/users/mlbiam/following{/other_user}","gists_url":"https://api.github.com/users/mlbiam/gists{/gist_id}","starred_url":"https://api.github.com/users/mlbiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlbiam/subscriptions","organizations_url":"https://api.github.com/users/mlbiam/orgs","repos_url":"https://api.github.com/users/mlbiam/repos","events_url":"https://api.github.com/users/mlbiam/events{/privacy}","received_events_url":"https://api.github.com/users/mlbiam/received_events","type":"User","site_admin":false},"labels":[{"id":210156114,"url":"https://api.github.com/repos/openshift/origin/labels/component/networking","name":"component/networking","color":"0052cc","default":false},{"id":858447969,"url":"https://api.github.com/repos/openshift/origin/labels/lifecycle/rotten","name":"lifecycle/rotten","color":"604460","default":false},{"id":210151912,"url":"https://api.github.com/repos/openshift/origin/labels/priority/P2","name":"priority/P2","color":"fbca04","default":false},{"id":657292400,"url":"https://api.github.com/repos/openshift/origin/labels/sig/networking","name":"sig/networking","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":{"login":"knobunc","id":10033853,"avatar_url":"https://avatars1.githubusercontent.com/u/10033853?v=4","gravatar_id":"","url":"https://api.github.com/users/knobunc","html_url":"https://github.com/knobunc","followers_url":"https://api.github.com/users/knobunc/followers","following_url":"https://api.github.com/users/knobunc/following{/other_user}","gists_url":"https://api.github.com/users/knobunc/gists{/gist_id}","starred_url":"https://api.github.com/users/knobunc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knobunc/subscriptions","organizations_url":"https://api.github.com/users/knobunc/orgs","repos_url":"https://api.github.com/users/knobunc/repos","events_url":"https://api.github.com/users/knobunc/events{/privacy}","received_events_url":"https://api.github.com/users/knobunc/received_events","type":"User","site_admin":false},"assignees":[{"login":"knobunc","id":10033853,"avatar_url":"https://avatars1.githubusercontent.com/u/10033853?v=4","gravatar_id":"","url":"https://api.github.com/users/knobunc","html_url":"https://github.com/knobunc","followers_url":"https://api.github.com/users/knobunc/followers","following_url":"https://api.github.com/users/knobunc/following{/other_user}","gists_url":"https://api.github.com/users/knobunc/gists{/gist_id}","starred_url":"https://api.github.com/users/knobunc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knobunc/subscriptions","organizations_url":"https://api.github.com/users/knobunc/orgs","repos_url":"https://api.github.com/users/knobunc/repos","events_url":"https://api.github.com/users/knobunc/events{/privacy}","received_events_url":"https://api.github.com/users/knobunc/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2017-11-26T19:50:24Z","updated_at":"2018-05-08T18:12:57Z","closed_at":"2018-05-08T18:12:57Z","author_association":"NONE","body":"[provide a description of the issue]\r\nRunning openshift-enterprise installed with ansible (generated from hosts from quick install) on RHEL 7.4 thats joined to RHIDM domain (RHIDM domain is NOT cross forrest trusted with an AD domain but is forwarding DNS requests).  When I attempt a build, the build completes but fails to push into the internal registry with the error `https://docker-registry.default.svc:5000/v1/ ping: dial tcp 92.242.140.21:5000: i/o timeout`.  Doing a quick DNS check shows that  `docker-registry.default.svc.` resolves to `92.242.140.21` BUT `docker-registry.default.svc.cluster.local' resolves to `172.30.18.163` which is the IP of the registry.  i found #16097 but the fixes don't fix my resolution issue.\r\n\r\n##### Version\r\n\r\n[root@osmaster2 ~]# oc version\r\noc v3.6.173.0.49\r\nkubernetes v1.6.1+5115d708d7\r\nfeatures: Basic-Auth GSSAPI Kerberos SPNEGO\r\n\r\nServer https://console.openshift.lan:8443\r\nopenshift v3.6.173.0.49\r\nkubernetes v1.6.1+5115d708d7\r\n[root@osmaster2 ~]# openshift version\r\n\r\n##### Steps To Reproduce\r\n1.  Install RHIDM on RHEL 7.4 (domain name is  rhelent.lan)\r\n2.  Setup 3 servers on RHEL 7.4, join to RHIDM domain\r\n3.  Install openshift enterprise 3.6 with 1 master, 2 nodes\r\n4.  Run an s2i build (I am using https://github.com/TremoloSecurity/openunison-qs-openshift)\r\n\r\n\r\n##### Current Result\r\n\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESS\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 04:31 min\r\n[INFO] Finished at: 2017-11-26T18:51:46+00:00\r\n[INFO] Final Memory: 49M/199M\r\n[INFO] ------------------------------------------------------------------------\r\nDeleting build artifacts\r\nCopying war file...\r\nCreating /usr/local/openunison/work\r\nRemoving source...\r\nRemoving maven repo...\r\nRemoving maven...\r\nDone.\r\nPushing image docker-registry.default.svc:5000/openunison/openunison:latest ...\r\nWarning: Push failed, retrying in 5s ...\r\nWarning: Push failed, retrying in 5s ...\r\nWarning: Push failed, retrying in 5s ...\r\nWarning: Push failed, retrying in 5s ...\r\nWarning: Push failed, retrying in 5s ...\r\nWarning: Push failed, retrying in 5s ...\r\nWarning: Push failed, retrying in 5s ...\r\nRegistry server Address: \r\nRegistry server User Name: serviceaccount\r\nRegistry server Email: serviceaccount@example.org\r\nRegistry server Password: <<non-empty>>\r\nerror: build error: Failed to push image: After retrying 6 times, Push image still failed due to error: Get https://docker-registry.default.svc:5000/v1/_ping: dial tcp 92.242.140.21:5000: i/o timeout\r\n\r\n\r\n\r\n##### Expected Result\r\n\r\nimage from s2i pushed to internal registry\r\n\r\n##### Additional Information\r\n[root@osmaster2 ~]# dig docker-registry.default.svc\r\n\r\n; <<>> DiG 9.9.4-RedHat-9.9.4-51.el7 <<>> docker-registry.default.svc\r\n;; global options: +cmd\r\n;; Got answer:\r\n;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4488\r\n;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1\r\n\r\n;; OPT PSEUDOSECTION:\r\n; EDNS: version: 0, flags:; udp: 4096\r\n;; QUESTION SECTION:\r\n;docker-registry.default.svc.\tIN\tA\r\n\r\n;; ANSWER SECTION:\r\ndocker-registry.default.svc. 0\tIN\tA\t92.242.140.21\r\n\r\n;; Query time: 31 msec\r\n;; SERVER: 192.168.3.215#53(192.168.3.215)\r\n;; WHEN: Sun Nov 26 14:46:55 EST 2017\r\n;; MSG SIZE  rcvd: 72\r\n\r\n[root@osmaster2 ~]# dig docker-registry.default.svc.cluster.local \r\n\r\n; <<>> DiG 9.9.4-RedHat-9.9.4-51.el7 <<>> docker-registry.default.svc.cluster.local\r\n;; global options: +cmd\r\n;; Got answer:\r\n;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22877\r\n;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0\r\n\r\n;; QUESTION SECTION:\r\n;docker-registry.default.svc.cluster.local. IN A\r\n\r\n;; ANSWER SECTION:\r\ndocker-registry.default.svc.cluster.local. 30 IN A 172.30.18.163\r\n\r\n;; Query time: 1 msec\r\n;; SERVER: 192.168.3.215#53(192.168.3.215)\r\n;; WHEN: Sun Nov 26 14:47:01 EST 2017\r\n;; MSG SIZE  rcvd: 75\r\n\r\n\r\n[root@osmaster2 ~]# cat /etc/resolv.conf \r\n# nameserver updated by /etc/NetworkManager/dispatcher.d/99-origin-dns.sh\r\n# Generated by NetworkManager\r\n#search rhelent.lan\r\ndomain cluster.local\r\nsearch default.svc.cluster.local cluster.local\r\nnameserver 192.168.3.215\r\n"}}
{"actor":{"display_login":"openshift-ci-robot"}}