install new server fog uptodate and export import database from old install (Problem on snapins deployment)
-
Hi,
i have a Fog server in production for my laboratory. my team mate have installed this server with an ISCSI disk for images and snapins.unfortunely the NAS who hang the ISCSI is too old and diying. So i have reinstall a fresh one with NFS share instead ISCSI.
i have backuped and resored the DATABASE ans now after some problem to redefine properly the /image (with a link to my /mnt/share) the image deployment works like a charm. For the snapis is not. i have tried some rsolutions:
- redefine the certificate because the name has changed.
- verify the .srv private key and the public (now it’s the same):
isi@Fog-130:~$ openssl rsa -noout -modulus -in /images/snapins/ssl/.srvprivate.key | openssl md5
MD5(stdin)= d00fe1adfc81bf0c006c8f6f9272d764
isi@Fog-130:~$ openssl rsa -noout -modulus -in /images/snapins/ssl/.srvprivate.key | openssl md5
MD5(stdin)= d00fe1adfc81bf0c006c8f6f9272d764The location of my SSL is not in /opt… i put it in /image/snapins/ssl (on the NFS share )
and i have change it in GUI storage location ssl pathMy problem is still present when i deploy a snapins, the log client return:
Authentication--------------------------------19/06/2024 12:59:54 Client-Info Version: 0.13.0
19/06/2024 12:59:54 Client-Info OS: Windows
19/06/2024 12:59:54 Middleware::Authentication Waiting for authentication timeout to pass
19/06/2024 13:01:54 Middleware::Communication Download: http://1xx.xxx.xxx.xxx//fog/management/other/ssl/srvpublic.crt
19/06/2024 13:01:54 Middleware::Authentication Cert OK
19/06/2024 13:01:54 Middleware::Communication POST URL: http://1xx.xxx.xxx.xxx/fog/management/index.php?sub=requestClientInfo&authorize&newService
19/06/2024 13:01:54 Middleware::Response Failed to decrypt data on server--------------------------------Authentication--------------------------------
19/06/2024 13:01:54 Client-Info Version: 0.13.0
19/06/2024 13:01:54 Client-Info OS: Windows
19/06/2024 13:01:54 Middleware::Authentication Waiting for authentication timeout to pass
19/06/2024 13:03:54 Middleware::Communication Download: http://11xx.xxx.xxx.xxx//fog/management/other/ssl/srvpublic.crt
19/06/2024 13:03:54 Middleware::Authentication Cert OK
19/06/2024 13:03:54 Middleware::Communication POST URL: http://11xx.xxx.xxx.xxx//fog/management/index.php?sub=requestClientInfo&authorize&newService
19/06/2024 13:03:54 Middleware::Response Failed to decrypt data on server19/06/2024 13:03:54 Client-Info ERROR: Failed to authenticate, will not run Module Looper.
i miss something that sure but what ? because i have restored the database from a server installed from someone left, i dont know if some standard locations have changed… im lost.
-
Finaly i have reinstalled my server again and just take exports from all sections (snapins, images etc…)
only gruops not working. nevermind ill setup again.
the problem was about the whole configuration with ISCSI disk attach, now i use an NFS and directly mount my image storage on /image.
works like a charm.
see yann
yann
-