openshift / openshift/hypershift-oadp-plugin

No HostedControlPlane found: unexpected behavior during HostedControlPlane backup

Open
#258 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

lifecycle/rotten
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.

https://redhat-internal.slack.com/archives/C089VJ638AY/p1779309228158869?thread_ts=1779118227.637509&cid=C089VJ638AY

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.