Bug 1920676 - Must-gather and inspect should put a timestamp when it started and finished into the tar
Summary: Must-gather and inspect should put a timestamp when it started and finished i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.5.z
Assignee: Maciej Szulik
QA Contact: zhou ying
URL:
Whiteboard:
Depends On: 1798138
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-26 20:42 UTC by Maciej Szulik
Modified: 2021-03-03 04:40 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1798138
Environment:
Last Closed: 2021-03-03 04:40:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift oc pull 718 0 None closed [release-4.5] Bug 1920676: add timestamps marking start and end for must-gather and inspect 2021-02-08 11:46:07 UTC
Red Hat Product Errata RHSA-2021:0428 0 None None None 2021-03-03 04:40:55 UTC

Comment 3 zhou ying 2021-02-07 05:38:59 UTC
checked with latest oc , the function if work well:

[root@dhcp-140-138 ~]# ./oc version --client
Client Version: 4.5.0-0.nightly-2021-02-05-192721

[root@dhcp-140-138 ~]# cd inspect.local.6037323438443540734/

[root@dhcp-140-138 inspect.local.6037323438443540734]# ll
total 12
drwxrwxr-x. 7 root root 4096 Feb  7 13:31 cluster-scoped-resources
drwxrwxr-x. 6 root root 4096 Feb  7 13:21 namespaces
-rw-r--r--. 1 root root  112 Feb  7 13:31 timestamp
[root@dhcp-140-138 inspect.local.6037323438443540734]# cat timestamp 
2021-02-07 13:18:46.025929266 +0800 CST m=+1.149612756
2021-02-07 13:31:52.761351863 +0800 CST m=+787.885035317


[root@dhcp-140-138 ~]# cd must-gather.local.7254006348054606593
[root@dhcp-140-138 must-gather.local.7254006348054606593]# ls
quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-dfa482e51c1e4c7e924888d9a57d4a53930a2dec0a6cad4d2a98536fe6aa2d2a  timestamp
[root@dhcp-140-138 must-gather.local.7254006348054606593]# ll 
total 8
drwxrwxrwx. 7 root root 4096 Feb  7 11:31 quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-dfa482e51c1e4c7e924888d9a57d4a53930a2dec0a6cad4d2a98536fe6aa2d2a
-rw-r--r--. 1 root root  113 Feb  7 11:33 timestamp
[root@dhcp-140-138 must-gather.local.7254006348054606593]# cat timestamp 
2021-02-07 11:16:15.972228846 +0800 CST m=+2.071500732
2021-02-07 11:33:21.323971028 +0800 CST m=+1027.423242971

Comment 5 errata-xmlrpc 2021-03-03 04:40:35 UTC
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 (Important: OpenShift Container Platform 4.5.33 bug fix and security update), 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/RHSA-2021:0428


Note You need to log in before you can comment on or make changes to this bug.