@Tristis-Oris said in What metadata restore really do?:
My pool died so i decied to restore it from backup.
- fresh xen install, retore metadata, everything looks fine, but i can't join any new hosts into this pool.
https://paste.vates.tech/?ca81f43fd2d10456#Ay6yKRNTS8LDDSHTkin7eLppP33eAMS5grLrevuqf5rL
It looks like the metadata restored has a certificate with name 'sdn-controller-ca', but this certificate does not exist in the filesystem (/etc/stunnel/certs/sdn-controller-ca.pem). I believe this is installed by Xen Orchestra whenever the SDN controller is turned on.
To remove it from the database run xe pool-uninstall-ca-certificate name=sdn-controller-ca --force
The force flag should allow the certificate to be removed from the database even if the file is missing