Hide Forgot
$ oc run -it debug --image centos:7 error: cannot attach to *v1.DeploymentConfig: selector for *v1.DeploymentConfig not implemented This should have a selector implemented, or return a better error (probably the former). Happened in master but we need to check against 3.11.
Can reproduce with # oc version oc v3.11.31 kubernetes v1.11.0+d4cacc0 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://xxx:8443 openshift v3.11.31 kubernetes v1.11.0+d4cacc0 oc run -it debug --image centos:7 error: cannot attach to *v1.DeploymentConfig: selector for *v1.DeploymentConfig not implemented oc run -i debug1 --image centos:7 error: cannot attach to *v1.DeploymentConfig: selector for *v1.DeploymentConfig not implemented Pods are running, though: oc get po NAME READY STATUS RESTARTS AGE debug-1-d7zk4 1/1 Running 0 5m debug1-1-z25l8 1/1 Running 0 4m
Origin PR: https://github.com/openshift/origin/pull/21367
Origin PR has merged.
Verified in v4.0.0-0.80.0. Now `oc run -i` works. [root@ip-172-18-0-211 ~]# oc run -it debug --image centos:7 If you don't see a command prompt, try pressing enter. bash-4.2$ exit Session ended, resume using 'oc attach debug-1-gbw6b -c debug -i -t' command when the pod is running [root@ip-172-18-0-211 ~]# oc run -i debug1 --image centos:7 If you don't see a command prompt, try pressing enter. ^C
Is this something that could get backported to 3.11?
PR backporting this to 3.11: https://github.com/openshift/origin/pull/21634
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