Bug 1321093
Summary: | After stopping one or two api-server service out of 3 api-server services running on three masters in HA, services by hostname with kuberenetes service cluster ip are resolved sometimes and sometimes not resolved.. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Miheer Salunke <misalunk> |
Component: | Node | Assignee: | Andy Goldstein <agoldste> |
Status: | CLOSED DUPLICATE | QA Contact: | DeShuai Ma <dma> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.1.0 | CC: | aos-bugs, jokerman, mmccomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-03-24 16:12:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Miheer Salunke
2016-03-24 16:09:14 UTC
#### REPRODUCER #### master1.example.com 172.17.28.10 atomic-openshift-maseter-api.service OFF master2.example.com 172.17.28.12 atomic-openshift-maseter-api.service OFF master3.example.com 172.17.28.18 TCP DUMP FROM NODE 172.17.28.3 # tcpdump udp port 53 -n -n -i any RAN 3 times from node: # dig @172.30.0.1 kubernetes.default.svc.cluster.local FAILED 11:21:07.449719 IP 172.17.28.30.55177 > 172.17.28.10.53: 64+ [1au] A? kubernetes.default.svc.cluster.local. (65) 11:21:21.133499 IP 172.17.28.30.41090 > 172.17.28.12.53: 18420+ [1au] A? kubernetes.default.svc.cluster.local. (65) SUCCESS 11:21:48.549492 IP 172.17.28.30.54937 > 172.17.28.18.53: 55387+ [1au] A? kubernetes.default.svc.cluster.local. (65) 11:21:48.556604 IP 172.17.28.18.53 > 172.17.28.30.54937: 55387* 1/0/0 A 172.30.0.1 (70) SUCCESS COMMAND # dig @172.30.0.1 kubernetes.default.svc.cluster.local ; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.3 <<>> @172.30.0.1 kubernetes.default.svc.cluster.local ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55387 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;kubernetes.default.svc.cluster.local. IN A ;; ANSWER SECTION: kubernetes.default.svc.cluster.local. 30 IN A 172.30.0.1 ;; Query time: 7 msec ;; SERVER: 172.30.0.1#53(172.30.0.1) ;; WHEN: Thu Mar 24 11:21:48 EDT 2016 ;; MSG SIZE rcvd: 70 FAILED COMMAND # dig @172.30.0.1 kubernetes.default.svc.cluster.local ; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.3 <<>> @172.30.0.1 kubernetes.default.svc.cluster.local ; (1 server found) ;; global options: +cmd ;; connection timed out; no servers could be reached # oc get service kubernetes -o yaml apiVersion: v1 kind: Service metadata: creationTimestamp: 2016-02-23T22:36:58Z labels: component: apiserver provider: kubernetes name: kubernetes namespace: default resourceVersion: "11" selfLink: /api/v1/namespaces/default/services/kubernetes uid: f2c22c58-da7d-11e5-8e68-fa163e2dcef7 spec: clusterIP: 172.30.0.1 portalIP: 172.30.0.1 ports: - name: https port: 443 protocol: TCP targetPort: 443 - name: dns port: 53 protocol: UDP targetPort: 53 - name: dns-tcp port: 53 protocol: TCP targetPort: 53 sessionAffinity: None type: ClusterIP status: loadBalancer: {} # oc get endpoints kubernetes -o yaml apiVersion: v1 kind: Endpoints metadata: creationTimestamp: 2016-02-23T22:36:58Z name: kubernetes namespace: default resourceVersion: "2151105" selfLink: /api/v1/namespaces/default/endpoints/kubernetes uid: f2c49969-da7d-11e5-8e68-fa163e2dcef7 subsets: - addresses: - ip: 172.17.28.10 - ip: 172.17.28.12 - ip: 172.17.28.18 ports: - name: dns-tcp port: 53 protocol: TCP - name: https port: 443 protocol: TCP - name: dns port: 53 protocol: UDP *** This bug has been marked as a duplicate of bug 1300028 *** |