mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * microshift_troubleshooting/microshift-cleanup-data.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="microshift-data-cleaning-ovn-data_{context}"]
|
|
= Cleaning the OVN-Kubernetes data
|
|
|
|
You can clean up the OVN-Kubernetes (ONV-K) data by running the `microshift-cleanup-data` script. Use the script to reset OVN-K network configurations.
|
|
|
|
When you run the script with the `--ovn` argument, you perform the following clean up actions:
|
|
|
|
* Stop all {microshift-short} services
|
|
* Delete all {microshift-short} pods
|
|
* Delete OVN-K networking configuration
|
|
|
|
.Prerequisites
|
|
* You are logged into {microshift-short} as an administrator with root-user access.
|
|
* You have filed a support case.
|
|
|
|
.Procedure
|
|
|
|
. Clean up the OVN-K data by running the `microshift-cleanup-data` script with the `--ovn` argument, by entering the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo microshift-cleanup-data --ovn
|
|
----
|
|
+
|
|
.Example output
|
|
[source,terminal]
|
|
----
|
|
Stopping MicroShift services
|
|
Removing MicroShift pods
|
|
Killing conmon, pause and OVN processes
|
|
Removing OVN configuration
|
|
MicroShift service was stopped
|
|
Cleanup succeeded
|
|
----
|
|
+
|
|
[IMPORTANT]
|
|
====
|
|
The {microshift-short} service is stopped after you run the script.
|
|
====
|
|
. Restart the {microshift-short} service by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo systemctl start microshift
|
|
---- |