Bug 1877363
Summary: | [oc] oc logs -f dc/hello does not work | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | RamaKasturi <knarra> |
Component: | openshift-apiserver | Assignee: | Maciej Szulik <maszulik> |
Status: | CLOSED ERRATA | QA Contact: | RamaKasturi <knarra> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.6 | CC: | aos-bugs, jokerman, maszulik, mfojtik, sttts |
Target Milestone: | --- | Keywords: | Reopened, UpcomingSprint |
Target Release: | 4.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 16:38:53 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: | |
Embargoed: |
Description
RamaKasturi
2020-09-09 13:10:53 UTC
I verified this with both oc 4.5 and 4.6 and I'm not seeing this happening. I'm going to close this, feel free to re-open and attach -v=9 with it as well. Also tried the same on a 4.5 cluster with 4.5 client and i see that it works and does not throw error as above [ramakasturinarra@dhcp35-60 openshift-client-linux-4.5.0-0.nightly-2020-09-08-123650]$ ./oc logs -f dc/my-nginx --> Scaling my-nginx-1 to 1 error: update acceptor rejected my-nginx-1: pods for rc 'test1/my-nginx-1' took longer than 600 seconds to become available It's a bug in openshift-apiserver, PR on the way. Verified with the payload below and i see that it works fine. Ran through auto script. 4.6.0-0.nightly-2020-09-12-230035 [06:24:38] INFO> Shell Commands: oc version -o yaml --client --kubeconfig=/tmp/kubeconfig20200914-373-en4qk0 clientVersion: buildDate: "2020-09-12T02:49:22Z" compiler: gc gitCommit: a4a051198b64f2e8bbfe9fc08c9a2728c7628e0e gitTreeState: clean gitVersion: 4.6.0-202009120210.p0-a4a0511 goVersion: go1.14.7 major: "" minor: "" platform: linux/amd64 [09:48:16] INFO> Shell Commands: oc logs dc/custom-deployment -f --kubeconfig=/home/jenkins/workspace/Runner-v3/workdir/ocp4_testuser-2.kubeconfig --> pre: Running hook pod ... test pre hook executed --> pre: Success --> Scaling custom-deployment-1 to 2 --> Reached 50% Halfway --> pre: Hook pod already succeeded --> Success Finished [09:48:38] INFO> Exit Status: 0 | f | true | | resource_name | dc/custom-deployment | Then the output should contain: # features/step_definitions/common.rb:33 | Reached 50% | | Halfway | | Success | | Finished | Based on the above moving the bug to verified state. 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 |