Hide Forgot
Description of problem: part of port-forward output is still using glog, which should use fmt now Version-Release number of selected component (if applicable): openshift v3.4.0.11 kubernetes v1.4.0+776c994 etcd 3.1.0-alpha.1 How reproducible: Always Steps to Reproduce: 1. oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/pods/double_containers.json 2. oc port-forward doublecontainers 5000:58087 3. open another terminal, curl http://127.0.0.1:5000 4. on oc client terminal, the output is Forwarding from 127.0.0.1:5000 -> 58087 Forwarding from [::1]:5000 -> 58087 Handling connection for 5000 E1018 16:26:12.467018 17866 portforward.go:327] an error occurred forwarding 5000 -> 58087: error forwarding port 58087 to pod doublecontainers_wmeng, uid : exit status 1: 2016/10/18 04:26:12 socat[73274] E connect(3, AF=2 127.0.0.1:58087, 16): Connection refused 5. oc port-forward -p doublecontainers 5001:8080 W1018 16:35:57.589265 18421 cmd.go:269] -p POD is DEPRECATED and will be removed in a future version. Use port-forward POD instead. Forwarding from 127.0.0.1:5001 -> 8080 Forwarding from [::1]:5001 -> 8080 Actual results: Expected results: 4. line 4 should not contain "E1018 16:26:12.467018 17866 portforward.go:327]" 5. output should not contain "W1018 16:35:57.589265 18421 cmd.go:269]" Additional info:
any update?
json file updated. for step 1 # oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/pods/double_containers.json
Sorry for incorrect link. should be this one: # oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/pods/pod_with_two_containers.json
Error output in the actual result is invoked by global runtime error handler. Changing glog to simple output would affect more commands.
This request is from Trello card [infrastructure_public_216] I cannot find the card now since 1 year passed. It is likely in "ClusterInfra" board at bug reported time, which is called "Pod" board now. We had better double confirm that we surely do not want to do it. Thanks.