Skip to content

Commit

Permalink
docs/Troubleshooting: document machine deletion deadlocks
Browse files Browse the repository at this point in the history
  • Loading branch information
65278 authored and wikkyk committed Apr 16, 2024
1 parent 956cf27 commit d6641f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,15 @@ e1000 0000:00:12.0 ens18: renamed from eth0
```

If you absolutely must mix interface types, make sure that the default network interface is the one that comes up first.

## Machine deletion deadlock
Sometimes machines do not delete because some resource needs to be reconciled before
deletion can happen, but these resources can not reconcile (for example nodes may not drain).
To fix deletion deadlocks in such cases:
- Remove `ipaddresses` and `ipaddressclaims` for the relevant machines
- Remove the `proxmoxmachine` finalizer by editing `proxmoxmachines <machine>`
- Delete the `proxmoxmachine`
- Remove the `machine` finalizer by editing `machines <machine>`
- Delete the `machine`

After these steps, VMs may linger in proxmox. Carefully remove those.

0 comments on commit d6641f2

Please sign in to comment.