After you’re done freaking out that you can’t upgrade your ESXi host (from 6.5 to 6.7 in this particular case – but likely similar across the board with 5.5 and 5.1) you need to remove it from the cluster.
- Enter Maintenance mode and Flush VMs.
- Remove from Cluster
- Upgrade