Hide Forgot
Description of problem: Duplicate IP address shown for EXTERNAL-IP when configure ingressIPNetworkCIDR Version-Release number of selected component (if applicable): oc v3.3.0.22 kubernetes v1.3.0+507d3a7 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://dhcp-41-6.bos.redhat.com:8443 openshift v3.3.0.22 kubernetes v1.3.0+507d3a7 How reproducible: Easy to reproduce, see below steps Steps to Reproduce: [root@dhcp-41-6 ~]# oc create -f https://raw.githubusercontent.com/weliang1/Openshift_Networking/master/OSE3.3/ingressIPNetworkCIDR.json [root@dhcp-41-6 ~]# oc get nodes NAME STATUS AGE dhcp-41-133.bos.redhat.com Ready 16d dhcp-41-197.bos.redhat.com Ready 16d dhcp-41-40.bos.redhat.com Ready 16d dhcp-41-6.bos.redhat.com Ready,SchedulingDisabled 16d dhcp-41-62.bos.redhat.com Ready 16d [root@dhcp-41-6 ~]# [root@dhcp-41-6 ~]# oc get svc NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE hello-service1 172.30.221.179 172.31.160.147,172.31.160.147 8080/TCP 23s kubernetes 172.30.0.1 <none> 443/TCP,53/UDP,53/TCP 34s [root@dhcp-41-6 ~]# oc describe svc hello-service1 Name: hello-service1 Namespace: default Labels: <none> Selector: name=hello-openshift Type: LoadBalancer IP: 172.30.221.179 LoadBalancer Ingress: 172.31.160.147 Port: <unset> 8080/TCP NodePort: <unset> 30670/TCP Endpoints: 10.1.0.2:8080,10.1.2.2:8080 Session Affinity: None No events. Actual results: NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE hello-service1 172.30.221.179 172.31.160.147,172.31.160.147 8080/TCP 23s Expected results: NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE hello-service1 172.30.221.179 172.31.160.147 8080/TCP 23s Additional info:
Can't access the URL: https://raw.githubusercontent.com/weliang1/Openshift_Networking/master/OSE3.3/ingressIPNetworkCIDR.json Can you send a new one please?
@ivan, here is the steps to reproduce the issue in latest 3.7.7 code: 1.Edit/etc/origin/master/master-config.yaml to add ingress ip range from ingressIPNetworkCIDR: 172.31.0.0/16 2.systemctl restart atomic-openshift-master-controllers.service 3.systemctl restart atomic-openshift-master-api.service 4. [root@ip-172-18-1-42 ~]#oc create -f https://raw.githubusercontent.com/weliang1/Openshift_Networking/master/OSE3.3/ipfailover-IngressStaticIP.json 5.[root@ip-172-18-1-42 ~]# oc get svc NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE hello-service1 172.30.76.220 172.31.0.1,172.31.0.1 27018:31429/TCP 8s [root@ip-172-18-1-42 ~]# You will see two 172.31.0.1 under EXTERNAL-IP
Added PR to kubernetes: https://github.com/kubernetes/kubernetes/pull/56251
Closing due to age; please re-open if we're actually going to fix this.