Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninstalling OKD Virtualization by using the CLI refers to wrong subscription name #74928

Open
scrool opened this issue Apr 21, 2024 · 0 comments

Comments

@scrool
Copy link

scrool commented Apr 21, 2024

Which section(s) is the issue in?

Uninstalling OKD Virtualization by using the CLI
or
Subscribing to the OKD Virtualization catalog by using the CLI

What needs fixing?

Following the second point of the procedure:

$ oc delete subscription kubevirt-hyperconverged -n kubevirt-hyperconverged

fails with an error:

Error from server (NotFound): hyperconvergeds.hco.kubevirt.io "kubevirt-hyperconverged" not found

Because the subscription created during the installation is called "hco-operatorhub":

$ oc get subscription -n kubevirt-hyperconverged
NAMESPACE                 NAME              PACKAGE                             SOURCE                CHANNEL
kubevirt-hyperconverged   hco-operatorhub   community-kubevirt-hyperconverged   community-operators   stable

While the obvious way would be to replace "kubevirt-hyperconverged" with "hco-operatorhub" in the uninstall section, because of the commit 6f7483a Change hco to hyperconverged, the installation section might need to be updated instead to hyperconverged-operatorhub.

I'm not sure what is the more preferred way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant