Skip to content

Commit

Permalink
docs/libvirt: Add more hints about cleanup and reinstallation
Browse files Browse the repository at this point in the history
The stale `auth` directory was what was breaking my cluster reinstalls.
Let's encourage people to use `--dir`.
  • Loading branch information
cgwalters committed Oct 24, 2018
1 parent f6171bb commit 491ff5a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/dev/libvirt-howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@ openshift-install destroy cluster

If you did not compile with `libvirt_destroy`, you can use [`virsh-cleanup.sh`](../../scripts/maintenance/virsh-cleanup.sh), but note it will currently destroy *all* libvirt resources.

Note that you almost certainly also want to clean up the installer
state files too, including `auth/`, `terraform.tfstate` etc. The
best thing to do is always pass the `--dir` argument to `install`
and `destroy`. And if you want to reinstall from scratch, `rm -rf`
the state directory beforehand.

### Firewall

With the cluster removed, you no longer need to allow libvirt nodes to reach your `libvirtd`. Restart
Expand Down

0 comments on commit 491ff5a

Please sign in to comment.