openshift / openshift/hypershift-oadp-plugin
No HostedControlPlane found: unexpected behavior during HostedControlPlane backup
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 5
- Forks
- 21
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 7
Description
From the logs it looks like OADP runs a custom action on every resource during the daily-full/weekly-full backup that attempts to find a HostedControlPlane. For resources in MC-level namespaces, no HCP exists, so every resource errors with:
error executing custom action: rpc error: code = Unknown desc = error getting HCP namespace: no HostedControlPlane foundThis causes the daily-full to report as PartiallyFailed with ~17K errors, even though all 17,257 items are successfully backed up.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the custom action run during daily-full and weekly-full backups, focusing on the HostedControlPlane namespace lookup for resources in MC-level namespaces. Reproduce the backup behavior and verify that resources without an HCP no longer produce errors while all items remain successfully backed up and the backup is not reported as PartiallyFailed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100