Snapins blocked and remain in "Checked in"
-
@Seydoo From the sounds of things, you have FOG Client set to be started even though the main image is a sysprepped image?
I say this because:
There’s only a few ways for MAC’s as you’ve described to associate to a single host in the manner you’re referring to.
- The mac’s that are registering have a common mac address that’s already “approved” with that particular host. This can happen because of Tunnel MAC’s or Virtual Host Mac addresses that would be the same on ALL hosts when imaging occurs.
- The hostname for other hosts are identical at the time the FOG Client goes to check in. If the mac’s are not sharing a common mac, and the hostname is not different for every host, as might happen when imaging occurs, when the host goes to check in it’s passing the hostname option and associating all mac’s with that registered hostname.
As you keep saying the “Private key is not found” can you please repost a new fog.log since you’ve already “Reinstalled the client” and have “copied the original fog server’s /opt/fog/snapins folder entirely”?
Since all of this happened, have you reinstalled the FOG Server using the
--recreate-Keys
as @Joe-Schmitt suggested? -
For the multipe pending MAC, no more since midday (I approve this host and then delete it)
here is a new fog.log, I reinstall fog with --recreate-keys and put all my hosts in a group to reset encryption data, then start fog Service on my computer
26/04/2017 17:24 Main Overriding exception handling 26/04/2017 17:24 Main Bootstrapping Zazzles 26/04/2017 17:24 Controller Initialize 26/04/2017 17:24 Zazzles Creating main thread 26/04/2017 17:24 Zazzles Service construction complete 26/04/2017 17:24 Controller Start 26/04/2017 17:24 Service Starting service 26/04/2017 17:24 Bus Became bus server 26/04/2017 17:24 Bus { "self": true, "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 26/04/2017 17:24 Bus Emmiting message on channel: Status 26/04/2017 17:24 Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 26/04/2017 17:24 Client-Info Version: 0.11.11 26/04/2017 17:24 Client-Info OS: Windows 26/04/2017 17:24 Middleware::Authentication Waiting for authentication timeout to pass 26/04/2017 17:24 Middleware::Communication Download: http://172.27.1.1/fog/management/other/ssl/srvpublic.crt 26/04/2017 17:24 Data::RSA FOG Server CA cert found 26/04/2017 17:24 Middleware::Authentication Cert OK 26/04/2017 17:24 Middleware::Communication POST URL: http://172.27.1.1/fog/management/index.php?sub=requestClientInfo&authorize&newService 26/04/2017 17:24 Middleware::Response Private key not found ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 26/04/2017 17:24 Client-Info Version: 0.11.11 26/04/2017 17:24 Client-Info OS: Windows 26/04/2017 17:24 Middleware::Authentication Waiting for authentication timeout to pass
-
@Seydoo Okay can you run:
sudo chmod -R 755 /opt/fog/snapins sudo chown -R fog:root /opt/fog/snapins
Then look on the logs?
-
nothing change
-
@Seydoo Can you get output of:
ls -lharRt /opt/fog/snapins
-
@Tom-Elliott said in Snapins blocked and remain in "Checked in":
ls -lharRt /opt/fog/snapin
/opt/fog/snapins: total 12K drwxr-xr-x 3 fog root 4,0K 25 avril 17:53 . drwxr-xr-x 3 fog root 4,0K 25 avril 17:53 ssl drwxr-xr-x 5 fog root 4,0K 26 avril 17:42 .. /opt/fog/snapins/ssl: total 20K drwxr-xr-x 3 fog root 4,0K 25 avril 17:53 .. drwxr-xr-x 2 fog root 4,0K 25 avril 17:53 CA drwxr-xr-x 3 fog root 4,0K 25 avril 17:53 . -rwxr-xr-x 1 fog root 3,2K 26 avril 17:22 .srvprivate.key -rwxr-xr-x 1 fog root 1,6K 26 avril 17:22 fog.csr /opt/fog/snapins/ssl/CA: total 20K -rwxr-xr-x 1 fog root 1,8K 23 sept. 2016 .fogCA.pem -rwxr-xr-x 1 fog root 3,2K 23 sept. 2016 .fogCA.key drwxr-xr-x 2 fog root 4,0K 25 avril 17:53 . drwxr-xr-x 3 fog root 4,0K 25 avril 17:53 .. -rwxr-xr-x 1 fog root 17 26 avril 17:22 .srl
.srvprivate.key and fog.scr change with --recreate-keys ? because the date is not the same (today instead of 09/2016)
-
@Seydoo What’s defined for the SSL path in the storage node?
-
@Tom-Elliott
…
O.M.G !!!
In french I’ll say “I’m a milstone”
I completely forgot check this value (which I changed when configure my storage node)
I’m so sorry for the lost time…
Of course the path wasn’t correct, i change it with /opt/fog/snapins/ssl -
@Seydoo so updating the SSL path in the storage node made things work?
-
This post is deleted! -
Yes hostname is correct
I just have to test my snapin deploymentOk so I have the same problem than my old server, some snapins failed to deploy due to “hash does not match”
This is a known issue for me, some snapins, I don’t know why simply doesn’t download correctly (my .exe is 1KB instead of 75203KB in server)It seems something wrong in the settings, 3 snapins download at 1KB
BTW thanks Joe and Tom for you help, I’ll try to find out why my snapins doesn’t download correctly (all are 1ko in C:\Program Files (x86)\FOG\tmp with hash does not match in fog.log)