Summary: | Error when using `oc run` with attach against a deployment config | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Clayton Coleman <ccoleman> |
Component: | oc | Assignee: | Maciej Szulik <maszulik> |
Status: | CLOSED ERRATA | QA Contact: | Xingxing Xia <xxia> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.11.0 | CC: | aos-bugs, jokerman, mmccomas, mwhittin |
Target Milestone: | --- | ||
Target Release: | 4.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
DeploymentConfig was not properly recognized type when attaching to an object.
Consequence:
Attaching to a deployment config was not possible.
Fix:
Implement deploymentconfig support.
Result:
oc run works when trying to attach to a deployment config.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-04 10:40:52 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: |
Description
Clayton Coleman
2018-10-25 01:48:11 UTC
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 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 |