Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1920676

Summary: Must-gather and inspect should put a timestamp when it started and finished into the tar
Product: OpenShift Container Platform Reporter: Maciej Szulik <maszulik>
Component: ocAssignee: Maciej Szulik <maszulik>
Status: CLOSED ERRATA QA Contact: zhou ying <yinzhou>
Severity: high Docs Contact:
Priority: high    
Version: 4.5CC: aos-bugs, bleanhar, jokerman, knarra, maszulik, mfojtik
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1798138 Environment:
Last Closed: 2021-03-03 04:40:35 UTC Type: ---
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: 1798138    
Bug Blocks:    

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