Snapins deployment problem... SVN 7452
-
Hi,
I’ve just deployed 2 computers, and same issue on both : image deployement is ok, but snapin won’t complete (like this from hours)
If I cancel one snapin, it re-appears some minutes later !
In fog.log, error hash does not match
------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 03/05/2016 16:00 Client-Info Client Version: 0.10.3 03/05/2016 16:00 Client-Info Client OS: Windows 03/05/2016 16:00 Client-Info Server Version: 7452 03/05/2016 16:00 Middleware::Response Success 03/05/2016 16:00 SnapinClient Snapin Found: 03/05/2016 16:00 SnapinClient ID: 559 03/05/2016 16:00 SnapinClient RunWith: msiexec.exe 03/05/2016 16:00 SnapinClient RunWithArgs: /i 03/05/2016 16:00 SnapinClient Name: LanSchool Prof 163 03/05/2016 16:00 SnapinClient File: Teacher.msi 03/05/2016 16:00 SnapinClient Created: 2016-05-03 10:16:23 03/05/2016 16:00 SnapinClient Args: /qn CHANNEL=163 ADVANCED_OPTIONS=1 STEALTH_MODE=1 LCS=192.168.10.57 03/05/2016 16:00 SnapinClient Action: 03/05/2016 16:00 Middleware::Communication Download: http://192.168.10.60/fog/service/snapins.file.php?mac=E8:40:F2:D1:C5:11&taskid=559 03/05/2016 16:00 SnapinClient C:\Program Files (x86)\FOG\tmp\Teacher.msi 03/05/2016 16:00 SnapinClient ERROR: Hash does not match 03/05/2016 16:00 SnapinClient ERROR: --> Ideal: F82239B44586CF54FA794E145EDE3E77900050CB288360540B773E001A1A7742B83A5A9BA601188F230E093B3DBC4E8A07682B348F6FBB7921519202D637B5D8 03/05/2016 16:00 SnapinClient ERROR: --> Actual: 2230F4C87D44C95B58695F9466C5265B219101CB939E6DC6CD490DB18657B404930DC2CCCB5EA380D5F282A7670F6A7565321FF89268DE7F7364C4F9753B40D8
------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 03/05/2016 13:32 Client-Info Client Version: 0.10.3 03/05/2016 13:32 Client-Info Client OS: Windows 03/05/2016 13:32 Client-Info Server Version: 7452 03/05/2016 13:32 Middleware::Response Success 03/05/2016 13:32 SnapinClient Snapin Found: 03/05/2016 13:32 SnapinClient ID: 560 03/05/2016 13:32 SnapinClient RunWith: 03/05/2016 13:32 SnapinClient RunWithArgs: 03/05/2016 13:32 SnapinClient Name: WAPT 03/05/2016 13:32 SnapinClient File: waptagent.exe 03/05/2016 13:32 SnapinClient Created: 2016-05-03 10:16:23 03/05/2016 13:32 SnapinClient Args: /verysilent 03/05/2016 13:32 SnapinClient Action: 03/05/2016 13:32 Middleware::Communication Download: http://192.168.10.60/fog/service/snapins.file.php?mac=E8:40:F2:D1:C5:11&taskid=560 03/05/2016 13:32 SnapinClient C:\Program Files (x86)\FOG\tmp\waptagent.exe 03/05/2016 13:32 SnapinClient ERROR: Hash does not match 03/05/2016 13:32 SnapinClient ERROR: --> Ideal: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>403 FORBIDDEN</TITLE> </HEAD><BODY> <H1>FORBIDDEN</H1> <P>YOU DON'T HAVE PERMISSION TO ACCESS /FOG/STATUS/GETSNAPINHASH.PHP ON THIS SERVER.<BR /> </P> <HR> <ADDRESS>APACHE/2.4.10 (DEBIAN) SERVER AT 192.168.10.60 PORT 80</ADDRESS> </BODY></HTML> 03/05/2016 13:32 SnapinClient ERROR: --> Actual: 62D87A27EFD18CFC95CBC8BA0B0B5802B297B0D9E1E834716B3261233461D9F0F8D4FE8320F441521B437DA4E26E0249EE1C84AA88ED4DB3EE33DAFA492C1792 ------------------------------------------------------------------------------
Thanks
Matthieu -
What’s the actual hash of the file as it exists on the server? We use sha512sum I believe.
-
@Tom-Elliott
root@FOG:/opt/fog/snapins$ md5sum Teacher.msi
0b57a13d37ed49ae20c52c82dbee4f28 Teacher.msi
I just don’t understand because I deployed computer last week and every snapin was fine… -
@Matthieu-Jacquart What I mean, you cannot use
md5sum
. We usesha512sum
what’s the sha512sum of the snapin? -
@Tom-Elliott I don’t know how to get this ^^
-
@Matthieu-Jacquart The same way you did md5sum.
sha512sum /opt/fog/snapins/Teacher.msi
-
@Tom-Elliott oh…
root@FOG:/opt/fog/snapins$ sha512sum Teacher.msi
8f33bafa3b5ddbc113ad1d99c64c00059f25dcfbd6442f60a02344511356d1aa32cc7229d9ae6f3cbab71d642141ea5ee8b5c85aa85fc5f92849de8280eb1e21 Teacher.msi -
@Matthieu-Jacquart Do you use location plugin?
-
@Tom-Elliott No
-
For the record I have reverted v0.10.5’s ability to hash files larger than 2GB incase it was causing any part of this issue.
-
I tried to delete one snapin and create it once again, and it’s ok.
But I didn’t want to delete and re-create all my snapins ^^ -
@Matthieu-Jacquart I don’t understand what you mean. You shouldn’t have to delete and recreate the snapins at all.
-
@Tom-Elliott Yes, I agree !
But just for test, as previous snapin didn’t complete and fog.log show hash error, I just tried once to delete and create new snapin, and it was ok -
@Matthieu-Jacquart That does make sense in that regard. Is this still happening though?
-
@Tom-Elliott I tried on one snapin on one computer, and it’s ok.
But I still have several computers waiting for 2 or 3 snapin deployement, and it din’t progress… -
I upgrade Fog this morning, delete all active tasks (snapins) and it seems to be ok if I try to deploy single snapin…
To be continued, but I leave work for 4 days, have a good week-end ! -
Once again :
------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 11/05/2016 12:17 Client-Info Client Version: 0.10.6 11/05/2016 12:17 Client-Info Client OS: Windows 11/05/2016 12:17 Client-Info Server Version: 7575 11/05/2016 12:17 Middleware::Response Success 11/05/2016 12:17 SnapinClient Snapin Found: 11/05/2016 12:17 SnapinClient ID: 591 11/05/2016 12:17 SnapinClient RunWith: 11/05/2016 12:17 SnapinClient RunWithArgs: 11/05/2016 12:17 SnapinClient Name: Avast 11/05/2016 12:17 SnapinClient File: avast_business_online.exe 11/05/2016 12:17 SnapinClient Created: 2016-05-11 12:02:28 11/05/2016 12:17 SnapinClient Args: 11/05/2016 12:17 SnapinClient Action: 11/05/2016 12:17 Middleware::Communication Download: http://192.168.10.60/fog/service/snapins.file.php?mac=9C:B7:0D:CA:3F:8C|9C:B7:0D:CA:3F:8C|E8:40:F2:6A:51:CE|9C:B7:0D:CA:7B:B4&taskid=591 11/05/2016 12:17 SnapinClient C:\Program Files (x86)\FOG\tmp\avast_business_online.exe 11/05/2016 12:17 SnapinClient ERROR: Hash does not match 11/05/2016 12:17 SnapinClient ERROR: --> Ideal: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>403 FORBIDDEN</TITLE> </HEAD><BODY> <H1>FORBIDDEN</H1> <P>YOU DON'T HAVE PERMISSION TO ACCESS /FOG/STATUS/GETSNAPINHASH.PHP ON THIS SERVER.<BR /> </P> <HR> <ADDRESS>APACHE/2.4.10 (DEBIAN) SERVER AT 192.168.10.60 PORT 80</ADDRESS> </BODY></HTML> 11/05/2016 12:17 SnapinClient ERROR: --> Actual: C3F2466D83DA8F5F766280FF739894F344EE657985C40FB8ACFB0B41772CCFBF76C0E6CFFDB5C52D0EF7FF0781A82A8E19EA82BBCD886513F9462D51ACA28C2C 11/05/2016 12:17 Middleware::Communication URL: http://192.168.10.60/fog/service/snapins.checkin.php?taskid=591&exitcode=-1&mac=9C:B7:0D:CA:3F:8C|9C:B7:0D:CA:3F:8C|E8:40:F2:6A:51:CE|9C:B7:0D:CA:7B:B4&newService&json ------------------------------------------------------------------------------
root@FOG:/opt/fog/snapins$ sha512sum avast_business_online.exe c3f2466d83da8f5f766280ff739894f344ee657985c40fb8acfb0b41772ccfbf76c0e6cffdb5c52d0ef7ff0781a82a8e19ea82bbcd886513f9462d51aca28c2c avast_business_online.exe
-
@Matthieu-Jacquart And if you manually go to that page in the browser adding http://192.168.10.60/fog/status/getsnapinhash.php?filepath=/opt/fog/snapins/<yoursnapinfilehere>
-
@Tom-Elliott If I go to http://192.168.10.60/fog/status/getsnapinhash.php?filepath=/opt/fog/snapins/avast_business_online.exe
I’ve got c3f2466d83da8f5f766280ff739894f344ee657985c40fb8acfb0b41772ccfbf76c0e6cffdb5c52d0ef7ff0781a82a8e19ea82bbcd886513f9462d51aca28c2c|5113288 -
@Matthieu-Jacquart And if you try to redeploy the snapin to the client?
Do you run firewalls that might be blocking a client from accessing the FOG webpages?