Bug 1779563
Summary: | Failed to parse timestamp for `oc adm node-logs` with --since argument | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | zhou ying <yinzhou> |
Component: | oc | Assignee: | Maciej Szulik <maszulik> |
Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.3.0 | CC: | aos-bugs, jokerman, mfojtik |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | 4.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
Typo in timestamp format.
Consequence:
oc adm node-logs was having issues parsing correct format.
Fix:
Fix typo in timestamp format.
Result:
oc adm node-logs works fine with --since argument.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-13 21:53:56 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1763807 |
Description
zhou ying
2019-12-04 09:29:58 UTC
*** This bug has been marked as a duplicate of bug 1763807 *** Confirmed with latest oc client, the issue has fixed: [root@dhcp-140-138 ~]# oc adm node-logs node/ip-10-0-172-171.us-east-2.compute.internal --since "2019-12-18 03:22:00.9999" -- Logs begin at Wed 2019-12-18 01:03:06 UTC, end at Wed 2019-12-18 03:26:00 UTC. -- -- No entries -- -- Logs begin at Wed 2019-12-18 01:03:06 UTC, end at Wed 2019-12-18 03:26:00 UTC. -- Dec 18 03:22:01 ip-10-0-172-171 hyperkube[2053]: I1218 03:22:01.170984 2053 kubelet_pods.go:1328] Generating status for "apiserver-jg8sw_openshift-apiserver(9318f0cf-e4a7-4333-a942-a1370cfb3cc5)" Dec 18 03:22:01 ip-10-0-172-171 hyperkube[2053]: I1218 03:22:01.171060 2053 kubelet_pods.go:1328] Generating status for "downloads-5fb976fdbc-2klrd_openshift-console(965803d9-f943-4e3d-87db-c1d3b9d375de)" ... [root@dhcp-140-138 ~]# oc adm node-logs node/ip-10-0-172-171.us-east-2.compute.internal --since=-2m --until=-1m -- Logs begin at Wed 2019-12-18 01:03:06 UTC, end at Wed 2019-12-18 03:25:17 UTC. -- -- No entries -- -- Logs begin at Wed 2019-12-18 01:03:06 UTC, end at Wed 2019-12-18 03:25:17 UTC. -- Dec 18 03:23:17 ip-10-0-172-171 hyperkube[2053]: I1218 03:23:17.938543 2053 prober.go:129] Readiness probe for "thanos-querier-55d4f9968c-jcfsg_openshift-monitoring(2366dd7d-af6b-4fce-9d7c-c8afad20dcbb):thanos-querier" succeeded Dec 18 03:23:18 ip-10-0-172-171 hyperkube[2053]: I1218 03:23:18.065973 2053 prober.go:129] Readiness probe for "etcd-member-ip-10-0-172-171.us-east-2.compute.internal_openshift-etcd(e564ce30c033f447ff234c779602b125):etcd-member" succeeded ... [root@dhcp-140-138 ~]# oc version -o yaml clientVersion: buildDate: "2019-12-16T10:31:48Z" compiler: gc gitCommit: ff590d4496deedc069232984c20b4e5159c43b28 gitTreeState: clean gitVersion: v4.4.0 goVersion: go1.12.12 major: "" minor: "" platform: linux/amd64 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-2020:0581 |