Bug 2004451

Summary: The backup filename displayed in the RecentBackup message is incorrect
Product: OpenShift Container Platform Reporter: Yang Yang <yanyang>
Component: EtcdAssignee: Haseeb Tariq <htariq>
Status: CLOSED ERRATA QA Contact: ge liu <geliu>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.9CC: alray
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:10:42 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: 2009890    

Description Yang Yang 2021-09-15 10:54:23 UTC
Description of problem:

The filename displayed in the RecentBackup message is incorrect. The RecentBackup condition is telling "message": "UpgradeBackup pre 4.9 located at path /etc/kubernetes/cluster-backup/upgrade-backup-2021-09-15_100541 on node \"yangyang0915-2-88b9l-master-0.c.openshift-qe.internal\"", but the file does not exist. 

# oc debug node/yangyang0915-2-88b9l-master-0.c.openshift-qe.internal
Starting pod/yangyang0915-2-88b9l-master-0copenshift-qeinternal-debug ...
To use host binaries, run `chroot /host`
Pod IP: 10.0.0.2
If you don't see a command prompt, try pressing enter.

sh-4.4# chroot /host
sh-4.4# ls /etc/kubernetes/cluster-backup/upgrade-backup-2021-09-15_100541
ls: cannot access '/etc/kubernetes/cluster-backup/upgrade-backup-2021-09-15_100541': No such file or directory
sh-4.4# ls /etc/kubernetes/cluster-backup/
upgrade-backup-2021-09-15_100535

The exact file name is upgrade-backup-2021-09-15_100535 rather than upgrade-backup-2021-09-15_100541.

Version-Release number of selected component (if applicable):


How reproducible:
2/2

Steps to Reproduce:
1. Install a 4.8 cluster
2. Upgrade to 4.9 signed release
3. Check RecentBackup condition

Actual results:
The bakcup filename displayed in the RecentBackup condition does not exist

Expected results:
Display the exact backup filename in the condition message

Additional info:

Comment 7 errata-xmlrpc 2022-03-10 16:10:42 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 (Moderate: OpenShift Container Platform 4.10.3 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-2022:0056