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

Bug 2094426

Summary: Backup-Enabled OCP Upgrade Fails due to "unknown flag: --BackupPath" error
Product: OpenShift Container Platform Reporter: Joshua Clark <josclark>
Component: Telco EdgeAssignee: sahasan
Telco Edge sub component: TALO QA Contact: Joshua Clark <josclark>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: unspecified CC: ijolliff, jun, keyoung, sahasan, yliu1
Version: 4.11   
Target Milestone: ---   
Target Release: 4.11.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: 2022-08-18 04:08:08 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 Joshua Clark 2022-06-07 14:54:19 UTC
Description of problem:

When attempting to start an upgrade with backup function enabled an error occurs in the backup-agent pod on the spoke cluster:

$ oc logs -n openshift-talo-backup backup-agent-xjkr4
Error: unknown flag: --BackupPath
Usage:
  upgrade-recovery launchBackup [flags]

Flags:
  -p, --backupPath string   Path where to store the backup
  -h, --help                help for launchBackup

unknown flag: --BackupPath


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

4.11

How reproducible:

Always.

Steps to Reproduce:
1. Deploy hub cluster with ZTP and TALO
2. Create cluster version policy via PGT
3. Create GGU using the cluster version policy with backup enabled

Actual results:

Backup-age pod fails with above error. 

Expected results:

Backup succeeds. Upgrade succeeds. 

Additional info:

Comment 1 Joshua Clark 2022-07-07 01:16:07 UTC
QE verified in 4.11 testing.

Comment 4 errata-xmlrpc 2022-08-18 04:08:08 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 (OpenShift Container Platform 4.11 CNF vRAN extras 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/RHEA-2022:6110