Skip to content

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

@scrool

Description

@scrool

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions