Hide Forgot
Description of problem: oc get node -w with -o custom-columns, -o yaml, -o name does not "watch". Version-Release number of selected component (if applicable): oc v3.11.43 kubernetes v1.11.0+d4cacc0 features: Basic-Auth GSSAPI Kerberos SPNEGO How reproducible: 100% Steps to Reproduce: 1. Run one of following commands: # oc get nodes -o=custom-columns=NAME:.metadata.name,Adress:.status.addresses -w # oc get nodes -o name -w # oc get nodes -o yaml -w Actual results: - Got one result, but not it does not "watch". Expected results: - output the results some times as "watch". Additional info: - kubectl v1.11 (included in OCP 3.11 package reproduces same issue) - kubectl v1.12 does not produce the issue.
This is fixed upstream in https://github.com/kubernetes/kubernetes/pull/66554. It will be fixed in Origin once the 1.12 rebase lands.
Link to rebase PR: https://github.com/openshift/origin/pull/21450
Confirmed with the kubect v1.12.2 , the issue has fixed, since the PR has not merged, will change status to "POST"
This was fixed along with the 1.12 rebase, moving to qa.
The issue has fixed: [root@preserve-master-yinzhou ~]# oc version oc v4.0.0-0.176.0 kubernetes v1.12.4+1d3f7e4c76 features: Basic-Auth GSSAPI Kerberos SPNEGO [root@preserve-master-yinzhou ~]# oc get nodes -o=custom-columns=NAME:.metadata.name,Adress:.status.addresses -w NAME Adress ip-10-0-137-108.us-east-2.compute.internal [map[address:10.0.137.108 type:InternalIP] map[type:InternalDNS address:ip-10-0-137-108.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-137-108.us-east-2.compute.internal]] ip-10-0-138-34.us-east-2.compute.internal [map[address:10.0.138.34 type:InternalIP] map[address:ip-10-0-138-34.us-east-2.compute.internal type:InternalDNS] map[address:ip-10-0-138-34.us-east-2.compute.internal type:Hostname]] ip-10-0-154-174.us-east-2.compute.internal [map[type:InternalIP address:10.0.154.174] map[type:InternalDNS address:ip-10-0-154-174.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-154-174.us-east-2.compute.internal]] ip-10-0-158-15.us-east-2.compute.internal [map[type:InternalIP address:10.0.158.15] map[type:InternalDNS address:ip-10-0-158-15.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-158-15.us-east-2.compute.internal]] ip-10-0-161-63.us-east-2.compute.internal [map[type:InternalIP address:10.0.161.63] map[type:InternalDNS address:ip-10-0-161-63.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-161-63.us-east-2.compute.internal]] ip-10-0-173-192.us-east-2.compute.internal [map[type:InternalIP address:10.0.173.192] map[type:InternalDNS address:ip-10-0-173-192.us-east-2.compute.internal] map[address:ip-10-0-173-192.us-east-2.compute.internal type:Hostname]] ip-10-0-137-108.us-east-2.compute.internal [map[type:InternalIP address:10.0.137.108] map[type:InternalDNS address:ip-10-0-137-108.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-137-108.us-east-2.compute.internal]] ip-10-0-154-174.us-east-2.compute.internal [map[type:InternalIP address:10.0.154.174] map[type:InternalDNS address:ip-10-0-154-174.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-154-174.us-east-2.compute.internal]] ip-10-0-173-192.us-east-2.compute.internal [map[type:InternalIP address:10.0.173.192] map[type:InternalDNS address:ip-10-0-173-192.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-173-192.us-east-2.compute.internal]] ip-10-0-158-15.us-east-2.compute.internal [map[type:InternalIP address:10.0.158.15] map[type:InternalDNS address:ip-10-0-158-15.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-158-15.us-east-2.compute.internal]] ip-10-0-161-63.us-east-2.compute.internal [map[type:InternalIP address:10.0.161.63] map[type:InternalDNS address:ip-10-0-161-63.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-161-63.us-east-2.compute.internal]] ip-10-0-138-34.us-east-2.compute.internal [map[type:InternalIP address:10.0.138.34] map[type:InternalDNS address:ip-10-0-138-34.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-138-34.us-east-2.compute.internal]] ip-10-0-137-108.us-east-2.compute.internal [map[type:InternalIP address:10.0.137.108] map[type:InternalDNS address:ip-10-0-137-108.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-137-108.us-east-2.compute.internal]] ip-10-0-154-174.us-east-2.compute.internal [map[type:InternalIP address:10.0.154.174] map[type:InternalDNS address:ip-10-0-154-174.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-154-174.us-east-2.compute.internal]] ip-10-0-173-192.us-east-2.compute.internal [map[type:InternalIP address:10.0.173.192] map[type:InternalDNS address:ip-10-0-173-192.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-173-192.us-east-2.compute.internal]] ip-10-0-158-15.us-east-2.compute.internal [map[type:InternalIP address:10.0.158.15] map[type:InternalDNS address:ip-10-0-158-15.us-east-2.compute.internal] map[type:Hostname address:ip-10-0-158-15.us-east-2.compute.internal]] ^C
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:0758