Skip to content

OCPBUGS44935: WMCO uninstall should describe procedure of uninstalling the operator and deleteing the namespace #89121

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mburke5678
Copy link
Contributor

https://issues.redhat.com/browse/OCPBUGS-44935

Link to docs preview:

QE review:

  • QE has approved this change.

@openshift-ci openshift-ci bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 25, 2025
@mburke5678
Copy link
Contributor Author

@jrvaldes PTAL

@ocpdocs-previewbot
Copy link

ocpdocs-previewbot commented Feb 25, 2025

🤖 Thu Feb 27 21:18:47 - Prow CI generated the docs preview:

https://89121--ocpdocs-pr.netlify.app/

Comment on lines 20 to 24
. Remove all resources that were created in the `openshift-windows-machine-config-operator` namespace by using the following command:
+
[source,terminal]
----
$ oc delete --all pods --namespace=openshift-windows-machine-config-operator
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the recommendation here, to remove all pods or the namespace with all the resources?

Copy link
Contributor Author

@mburke5678 mburke5678 Feb 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jrvaldes This was your recommendation. We are deleting the WMCO-related pods in that namespace. The following steps delete resources and finally the namespace itself.

+
[source,terminal]
----
$ oc get pods --namespace openshift-windows-machine-config-operator
----

. Delete the `openshift-windows-machine-config-operator` namespace:
. Delete the subscription by using the following command:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

openshift-ci bot commented Feb 27, 2025

@mburke5678: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@mburke5678
Copy link
Contributor Author

@rrasouli Can you please take a look at this PR?

@mburke5678 mburke5678 changed the title OCPBUGS44935: Issue in file windows_containers/disabling-windows-container-workloads.adoc OCPBUGS44935: WMCO uninstall should describe procedure of unistalling the operator and deleteing the namespace Mar 5, 2025
@mburke5678 mburke5678 changed the title OCPBUGS44935: WMCO uninstall should describe procedure of unistalling the operator and deleteing the namespace OCPBUGS44935: WMCO uninstall should describe procedure of uninstalling the operator and deleteing the namespace Mar 17, 2025
@rrasouli
Copy link

This is not the correct procedure, the only method that is working:

  1. creating a new project e.g new-namespace with monitoring enabled
  2. uninstalling from web-console existing WMCO
  3. installing new operator on the new project e.g new-namespace instead of openshift-windows-machine-config-operator namespace
    I do not recommend that users will do all these actions from CLI, they might have hit bug https://issues.redhat.com/browse/OCPBUGS-46473

@mburke5678
Copy link
Contributor Author

@rrasouli I don't think what you stated above is the use case for this PR and the Jira associated with it. I think the idea is to better document the full removal of the WMCO operator and components. No re-install.
@jrvaldes WDYT?

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

Successfully merging this pull request may close these issues.

4 participants