Bug 1579441
| Summary: | Healthcheck port collision between kuryr controller and cni | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Luis Tomas Bolivar <ltomasbo> |
| Component: | Installer | Assignee: | Luis Tomas Bolivar <ltomasbo> |
| Status: | CLOSED ERRATA | QA Contact: | Jon Uriarte <juriarte> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.11.0 | CC: | aos-bugs, jokerman, mmccomas, tsedovic |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 3.10.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
Both kuryr-controller and kuryr-cni are running with host-networking
Consequence:
They cannot listen on the same port for the healthcheck probes
Fix:
Add a different port for kuryr-controller and cni probes to
avoid this collision
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-01-30 15:13:18 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
Luis Tomas Bolivar
2018-05-17 16:22:33 UTC
The linked PR merged quite some time ago and is in openshift-ansible-3.10.27-1 Verified in openshift-ansible-3.10.90-1.git.0.5a504fb.el7.noarch on top of
OSP 13 2018-12-13.4 puddle.
Verification steps:
- Deploy OCP 3.10 on OSP 13, enable kuryr controller and cni healthchecks
(kuryr-cni healthchecks do not work on OSP 13 but they are enabled in
order to verify there is no port collision between both healthchecks)
- Check Kuryr config (oc -n openshift-infra get cm kuryr-config -o yaml):
kuryr-cni.conf:
...
[cni_health_server]
port = 8090
kuryr.conf:
...
[health_server]
port = 8082
- Check cni probes port in kuryr cni daemonset (oc -n openshift-infra get ds kuryr-cni-ds -o yaml):
livenessProbe:
failureThreshold: 3
httpGet:
path: /alive
port: 8090
scheme: HTTP
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
name: kuryr-cni
readinessProbe:
failureThreshold: 3
httpGet:
path: /ready
port: 8090
scheme: HTTP
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
- Check controller probes port in kuryr controller deployment (oc -n openshift-infra get deployment kuryr-controller -o yaml):
livenessProbe:
failureThreshold: 3
httpGet:
path: /alive
port: 8082
scheme: HTTP
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
name: controller
readinessProbe:
failureThreshold: 3
httpGet:
path: /ready
port: 8082
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
- Check no port collision error is shown in Kuryr logs (controller and cni pods
logs in same openshift node, in master node).
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, 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-2019:0206 |