Bug 1870064 - NodePort stuck open within SDN after unidling
Summary: NodePort stuck open within SDN after unidling
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 3.11.0
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: 3.11.z
Assignee: Surya Seetharaman
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On: 1857743
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-19 09:53 UTC by Surya Seetharaman
Modified: 2020-09-16 07:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1857743
Environment:
Last Closed: 2020-09-16 07:46:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin pull 25422 0 None closed [release-3.11] Bug 1870064: Port stuck open when ep deleted before svc in unidling mode 2020-10-12 09:09:08 UTC
Red Hat Product Errata RHBA-2020:3695 0 None None None 2020-09-16 07:46:59 UTC

Comment 4 zhaozhanqi 2020-09-14 06:17:21 UTC
Verified this bug on v3.11.286

1. oc new-project random
2. oc new-app centos/ruby-25-centos7~https://github.com/sclorg/ruby-ex.git
3. <wait the pod running>
4. oc create -f ruby-nodeport.yaml
apiVersion: v1
kind: Service
metadata:
  name: np-ruby-ex
spec:
  externalTrafficPolicy: Cluster
  ports:
  - name: 8080-tcp
    nodePort: 30035
    port: 8080
    protocol: TCP
    targetPort: 8080
  selector:
    app: ruby-ex
    deploymentconfig: ruby-ex
  sessionAffinity: None
  type: NodePort

5. oc idle -n random --all
6. oc delete ep --all
7. oc delete svc --all
8. oc delete project random
9. oc new-project random
10. oc new-app centos/ruby-25-centos7~https://github.com/sclorg/ruby-ex.git
11.  oc create -f ruby-nodeport.yaml

ip="172.18.10.14 172.18.1.78 172.18.2.151"
[root@ip-172-18-10-14 ~]# for i in $ip; do curl -I $i:30035; done
HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 39559

HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 39559

HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 39559

.

Comment 6 errata-xmlrpc 2020-09-16 07:46:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 3.11.286 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3695


Note You need to log in before you can comment on or make changes to this bug.