Rebuild Or Destroy
Destroy and clean rebuild are intended for local create-host deployments that
the plugin provisioned. They are not a broad remote-host cleanup mechanism.
Destroy From Inventory
- Open
https://<cockpit-host>:9090. - Navigate to
MicroShift. - Find the
create-hostdeployment. - Use the destroy action.
- Wait for the destroy job to complete.
- Refresh the inventory and confirm the stale entry is gone.
The backend removes the local libvirt guest and plugin-owned runtime artifacts it can identify for that deployment.
Clean Rebuild From Installer
Use clean rebuild when you are on the final installer step and want to remove the prior local deployment before reprovisioning.
- Return to the installer flow for the same deployment ID.
- Use
Clean rebuild. - Wait for destroy to finish.
- Let the UI continue into provisioning and installation.
Cleanup Scope
Expected local cleanup candidates:
- libvirt domain
- guest root disk
- generated seed or install media owned by this plugin
- deployment work directory
- stale inventory entry
- local credential file for the deployment
The shared image cache is not removed by default because one downloaded qcow2 can be reused by multiple deployments.
Existing Host Boundary
An existing remote host is not disposable by default. Package removal, system configuration cleanup, and broader host reset behavior require explicit ownership decisions before they should be automated.