Bug 2040132
Summary: | Flag --port has been deprecated, This flag has no effect now and will be removed in v1.24. You can use --secure-port instead | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Junqi Zhao <juzhao> |
Component: | kube-scheduler | Assignee: | Maciej Szulik <maszulik> |
Status: | CLOSED ERRATA | QA Contact: | RamaKasturi <knarra> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 4.10 | CC: | aos-bugs, mfojtik |
Target Milestone: | --- | ||
Target Release: | 4.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-10 16:39:13 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
Junqi Zhao
2022-01-13 03:36:24 UTC
Verified bug in the build below and i do not see any warning in the openshift-kube-scheduler logs. 4.10.fc.1: ================= [knarra@knarra ~]$ oc get pod openshift-kube-scheduler-ip-10-0-147-163.us-east-2.compute.internal -n openshift-kube-scheduler -o yaml | grep "\--port" [knarra@knarra ~]$ oc get pod openshift-kube-scheduler-ip-10-0-147-163.us-east-2.compute.internal -n openshift-kube-scheduler -o yaml | grep "\--secure-port" [knarra@knarra ~]$ oc get pod openshift-kube-scheduler-ip-10-0-147-163.us-east-2.compute.internal -n openshift-kube-scheduler -o yaml | grep "port" - --feature-gates=APIPriorityAndFairness=true,CSIMigrationAWS=false,CSIMigrationAzureDisk=false,CSIMigrationAzureFile=false,CSIMigrationGCE=false,CSIMigrationOpenStack=false,CSIMigrationvSphere=false,DownwardAPIHugePages=true,LegacyNodeRoleBehavior=false,NodeDisruptionExclusion=true,PodSecurity=true,RotateKubeletServerCertificate=true,ServiceNodeExclusion=true,SupportPodPidsLimit=true port: 10259 ports: port: 10259 timeout 3m /bin/bash -exuo pipefail -c 'while [ -n "$(ss -Htanop \( sport = 11443 \))" ]; do sleep 1; done' echo -n "Waiting for port :10259 and :10251 to be released." while [ -n "$(ss -Htan '( sport = 10251 or sport = 10259 )')" ]; do name: wait-for-host-port name: wait-for-host-port [knarra@knarra ~]$ oc -n openshift-kube-scheduler logs openshift-kube-scheduler-ip-10-0-147-163.us-east-2.compute.internal | head Using deprecated annotation `kubectl.kubernetes.io/default-logs-container` in pod/openshift-kube-scheduler-ip-10-0-147-163.us-east-2.compute.internal. Please use `kubectl.kubernetes.io/default-container` instead W0117 08:16:38.390378 1 feature_gate.go:223] unrecognized feature gate: ServiceNodeExclusion W0117 08:16:38.390433 1 feature_gate.go:223] unrecognized feature gate: LegacyNodeRoleBehavior W0117 08:16:38.390438 1 feature_gate.go:223] unrecognized feature gate: NodeDisruptionExclusion W0117 08:16:38.390442 1 feature_gate.go:223] unrecognized feature gate: SupportPodPidsLimit I0117 08:16:38.390486 1 flags.go:64] FLAG: --add-dir-header="false" I0117 08:16:38.390495 1 flags.go:64] FLAG: --address="127.0.0.1" I0117 08:16:38.390500 1 flags.go:64] FLAG: --allow-metric-labels="[]" I0117 08:16:38.390505 1 flags.go:64] FLAG: --alsologtostderr="false" I0117 08:16:38.390508 1 flags.go:64] FLAG: --authentication-kubeconfig="/etc/kubernetes/static-pod-resources/configmaps/scheduler-kubeconfig/kubeconfig" I0117 08:16:38.390517 1 flags.go:64] FLAG: --authentication-skip-lookup="false" 4.10.fc.0: =========== [knarra@knarra ~]$ oc get pod openshift-kube-scheduler-ip-10-0-132-157.us-east-2.compute.internal -n openshift-kube-scheduler -o yaml | grep "\--port" - --port=0 [knarra@knarra ~]$ oc -n openshift-kube-scheduler logs openshift-kube-scheduler-ip-10-0-132-157.us-east-2.compute.internal | head Using deprecated annotation `kubectl.kubernetes.io/default-logs-container` in pod/openshift-kube-scheduler-ip-10-0-132-157.us-east-2.compute.internal. Please use `kubectl.kubernetes.io/default-container` instead W0117 12:28:59.895657 1 feature_gate.go:223] unrecognized feature gate: LegacyNodeRoleBehavior W0117 12:28:59.895732 1 feature_gate.go:223] unrecognized feature gate: NodeDisruptionExclusion W0117 12:28:59.895737 1 feature_gate.go:223] unrecognized feature gate: ServiceNodeExclusion W0117 12:28:59.895741 1 feature_gate.go:223] unrecognized feature gate: SupportPodPidsLimit Flag --port has been deprecated, This flag has no effect now and will be removed in v1.24. You can use --secure-port instead. I0117 12:28:59.895792 1 flags.go:64] FLAG: --add-dir-header="false" I0117 12:28:59.895803 1 flags.go:64] FLAG: --address="127.0.0.1" I0117 12:28:59.895809 1 flags.go:64] FLAG: --allow-metric-labels="[]" I0117 12:28:59.895815 1 flags.go:64] FLAG: --alsologtostderr="false" I0117 12:28:59.895818 1 flags.go:64] FLAG: --authentication-kubeconfig="/etc/kubernetes/static-pod-resources/configmaps/scheduler-kubeconfig/kubeconfig" [knarra@knarra ~]$ oc get pod openshift-kube-scheduler-ip-10-0-132-157.us-east-2.compute.internal -n openshift-kube-scheduler -o yaml | grep "port" - --port=0 - --feature-gates=APIPriorityAndFairness=true,DownwardAPIHugePages=true,LegacyNodeRoleBehavior=false,NodeDisruptionExclusion=true,PodSecurity=true,RotateKubeletServerCertificate=true,ServiceNodeExclusion=true,SupportPodPidsLimit=true port: 10259 ports: port: 10259 timeout 3m /bin/bash -exuo pipefail -c 'while [ -n "$(ss -Htanop \( sport = 11443 \))" ]; do sleep 1; done' echo -n "Waiting for port :10259 and :10251 to be released." while [ -n "$(ss -Htan '( sport = 10251 or sport = 10259 )')" ]; do name: wait-for-host-port name: wait-for-host-port Based on the above moving bug to verified state. 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 (Moderate: OpenShift Container Platform 4.10.3 security 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/RHSA-2022:0056 |