Description of problem: When run "oc run" command with option "--generator", it prompts the info twice: Flag --generator has been deprecated, has no effect and will be removed in the future. Version-Release number of selected component (if applicable): Client Version: 4.5.0-202005252037-e21eeff Server Version: 4.5.0-0.nightly-2020-05-26-193830 Kubernetes Version: v1.18.2+9835af5 How reproducible: Always Steps to Reproduce: 1. Run "oc run" with "--generator" option: # oc run mypod --image=quay.io/openshifttest/hello-openshift@sha256:aaea76ff622d2f8bcb32e538e7b3cd0ef6d291953f3e7c9f556c1ba5baf47e2e --requests=cpu=50m,memory=100Mi --limits=cpu=50m,memory=100Mi --generator=run-pod/v1 Flag --generator has been deprecated, has no effect and will be removed in the future. Flag --generator has been deprecated, has no effect and will be removed in the future. 2. 3. Actual results: 1. Expected results: 1. No need to show the info twice. Additional info:
[root@dhcp-140-138 ~]# oc run mypod --image=quay.io/openshifttest/hello-openshift@sha256:aaea76ff622d2f8bcb32e538e7b3cd0ef6d291953f3e7c9f556c1ba5baf47e2e --requests=cpu=50m,memory=100Mi --limits=cpu=50m,memory=100Mi --generator=run-pod/v1 Flag --generator has been deprecated, has no effect and will be removed in the future. pod/mypod created [root@dhcp-140-138 ~]# oc version Client Version: 4.6.0-202006181224-4f753f8
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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196