kuryr-daemon default port can be used as local port by another process
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr-kubernetes |
Fix Released
|
Medium
|
Alexey Perevalov |
Bug Description
Now-days most linux based OSes have following local port range
net.ipv4.
The default port for CNI Daemon is 50036 and it's in local port range.
If default port was used during deployment we have non-zero probability what that
port port (50036) already was used as local port.
For example:
[root@ccm ~]# netstat -ltapn |grep 50036
tcp 0 0 127.0.0.1:50036 127.0.0.1:2379 ESTABLISHED 7924/kube-apiserver
tcp 0 0 127.0.0.1:2379 127.0.0.1:50036 ESTABLISHED 7783/etcd
In this case daemon won't start, due to address already in use error.
It's not always issue and bug can be worked around just by adding bind_address option into daemon section.
Changed in kuryr-kubernetes: | |
assignee: | nobody → Alexey Perevalov (alexeyperevalov) |
Changed in kuryr-kubernetes: | |
importance: | Undecided → Medium |
Changed in kuryr-kubernetes: | |
assignee: | Alexey Perevalov (alexeyperevalov) → Michal Dulko (michal-dulko-f) |
Changed in kuryr-kubernetes: | |
assignee: | Michal Dulko (michal-dulko-f) → Alexey Perevalov (alexeyperevalov) |
Fix proposed to branch: master /review. opendev. org/660152
Review: https:/