@DwightHat said in Stuck in maintenance mode after joining pool.:

When I try to look at the host in Xen Orchestra it just says "An error has occurred".

Check to browser's Dev Tools console when this happens. It will likely contain some additional details.

You likely need to check the logs to find out why you are encountering this issue. Many times the "stuck in maintenance mode" issue is related to an unmountable storage repository.

https://docs.xcp-ng.org/troubleshooting/log-files/