FOG 1.6, identified problems
-
It took some doing, but group module status’s will now be reflected in the group if all hosts in the group have the module associated, otherwise it will display as unchecked as we don’t know which hosts do/don’t have the modules applied.
-
Did a ‘git pull’ and reinstall tonight of “working-1.6”. Host OS is CentOS 8 - 1905, Apache v2.4.37.
A) It seems Snapins are not getting picked-up.
- Select Host > Tasks > Advanced > Single Snapin > (choose snapin) > Immediate > Create
- “Creating task succeeded”
- Tasks > Active Tasks — see “Single Snapin” is queued, status “Checked In”
- FOG client log on target host (repeats):
---------------------------------SnapinClient---------------------------------
11/19/2019 8:38 PM Client-Info Client Version: 0.11.16
11/19/2019 8:38 PM Client-Info Client OS: Windows
11/19/2019 8:38 PM Client-Info Server Version: 1.5.7.757
11/19/2019 8:38 PM Middleware::Response Success
- No snapin deployed
- Snapin task remains in Tasks > Active Tasks
- 2x copies of task remain in Tasks > Active Snapin Tasks
B) Choosing “Client Settings” menu from left column causes whole page to dim and then freeze. Reload of browser page required.
Please let me know if there’s anything you’d like me to try/test.
Thank you for all your hard work on FOG, the new interface is awesome.
-
@maverick2041 can you post the full log or at least the last 2 full iterations of checks? That should give us more context.
-
@Tom-Elliott No problem.
11/19/2019 9:09 PM Main Overriding exception handling 11/19/2019 9:09 PM Main Bootstrapping Zazzles 11/19/2019 9:09 PM Controller Initialize 11/19/2019 9:09 PM Controller Start 11/19/2019 9:09 PM Service Starting service 11/19/2019 9:09 PM Bus Became bus server 11/19/2019 9:09 PM Bus Emmiting message on channel: Status 11/19/2019 9:09 PM Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:09 PM Client-Info Version: 0.11.16 11/19/2019 9:09 PM Client-Info OS: Windows 11/19/2019 9:09 PM Middleware::Authentication Waiting for authentication timeout to pass 11/19/2019 9:09 PM Middleware::Communication Download: http://fog.mydomain.com/fog/management/other/ssl/srvpublic.crt 11/19/2019 9:09 PM Data::RSA FOG Server CA cert found 11/19/2019 9:09 PM Middleware::Authentication Cert OK 11/19/2019 9:09 PM Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 11/19/2019 9:09 PM Middleware::Authentication ERROR: Could not get security token 11/19/2019 9:09 PM Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'. 11/19/2019 9:09 PM Middleware::Communication POST URL: http://fog.mydomain.com/fog/management/index.php?sub=requestClientInfo&authorize&newService 11/19/2019 9:09 PM Middleware::Response Success 11/19/2019 9:09 PM Middleware::Authentication Authenticated 11/19/2019 9:09 PM Middleware::Communication URL: http://fog.mydomain.com/fog/management/index.php?sub=requestClientInfo&configure&newService&json 11/19/2019 9:09 PM Middleware::Response Success 11/19/2019 9:09 PM Middleware::Communication URL: http://fog.mydomain.com/fog/management/index.php?sub=requestClientInfo&mac=84:A9:3E:1D:D2:11&newService&json 11/19/2019 9:09 PM Middleware::Response Success 11/19/2019 9:09 PM Middleware::Communication URL: http://fog.mydomain.com/fog/service/getversion.php?clientver&newService&json 11/19/2019 9:09 PM Middleware::Communication URL: http://fog.mydomain.com/fog/service/getversion.php?newService&json 11/19/2019 9:09 PM Service Creating user agent cache 11/19/2019 9:09 PM Middleware::Response Module is disabled on the host 11/19/2019 9:09 PM Middleware::Response Module is disabled on the host 11/19/2019 9:09 PM Middleware::Response Module is disabled globally on the FOG server 11/19/2019 9:09 PM Service Initializing modules ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:09 PM Client-Info Client Version: 0.11.16 11/19/2019 9:09 PM Client-Info Client OS: Windows 11/19/2019 9:09 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:09 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:09 PM Client-Info Client Version: 0.11.16 11/19/2019 9:09 PM Client-Info Client OS: Windows 11/19/2019 9:09 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:09 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:09 PM Client-Info Client Version: 0.11.16 11/19/2019 9:09 PM Client-Info Client OS: Windows 11/19/2019 9:09 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:09 PM Middleware::Response Success 11/19/2019 9:09 PM HostnameChanger Checking Hostname 11/19/2019 9:09 PM HostnameChanger Renaming host to testhost01 11/19/2019 9:09 PM HostnameChanger Joining domain 11/19/2019 9:09 PM HostnameChanger Success, code = 0 11/19/2019 9:09 PM Power Creating shutdown command in 60 seconds 11/19/2019 9:09 PM Bus Emmiting message on channel: Power ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:09 PM Client-Info Client Version: 0.11.16 11/19/2019 9:09 PM Client-Info Client OS: Windows 11/19/2019 9:09 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:09 PM Middleware::Response No snapins 11/19/2019 9:09 PM SnapinClient A power operation is pending, aborting module ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:09 PM Client-Info Client Version: 0.11.16 11/19/2019 9:09 PM Client-Info Client OS: Windows 11/19/2019 9:09 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:09 PM Middleware::Response Module is disabled on the host ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:09 PM Client-Info Client Version: 0.11.16 11/19/2019 9:09 PM Client-Info Client OS: Windows 11/19/2019 9:09 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:09 PM Middleware::Response Module is disabled globally on the FOG server ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:09 PM Client-Info Client Version: 0.11.16 11/19/2019 9:09 PM Client-Info Client OS: Windows 11/19/2019 9:09 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:09 PM Middleware::Response Module is disabled on the host 11/19/2019 9:09 PM Middleware::Communication URL: http://fog.mydomain.com/fog/service/usertracking.report.php?action=login&user=HP-8AD8JIE0T2KC\Administrator&mac=84:A9:3E:1D:D2:11&newService&json ------------------------------------------------------------------------------ 11/19/2019 9:09 PM Service Sleeping for 116 seconds 11/19/2019 9:10 PM Power Creating shutdown request 11/19/2019 9:10 PM Power Parameters: /r /c "FOG needs to rename your computer" /t 0 11/19/2019 9:10 PM Bus Emmiting message on channel: Power 11/19/2019 9:10 PM Power Attempt 1/6 to shutdown computer 11/19/2019 9:10 PM Power --> API call returned 1, will re-attempt in 5 minutes 11/19/2019 9:10 PM Main Overriding exception handling 11/19/2019 9:10 PM Main Bootstrapping Zazzles 11/19/2019 9:10 PM Controller Initialize 11/19/2019 9:10 PM Controller Start 11/19/2019 9:10 PM Service Starting service 11/19/2019 9:10 PM Bus Became bus server 11/19/2019 9:10 PM Bus Emmiting message on channel: Status 11/19/2019 9:10 PM Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:10 PM Client-Info Version: 0.11.16 11/19/2019 9:10 PM Client-Info OS: Windows 11/19/2019 9:10 PM Middleware::Authentication Waiting for authentication timeout to pass 11/19/2019 9:10 PM Middleware::Communication Download: http://fog.mydomain.com/fog/management/other/ssl/srvpublic.crt 11/19/2019 9:10 PM Data::RSA FOG Server CA cert found 11/19/2019 9:10 PM Middleware::Authentication Cert OK 11/19/2019 9:10 PM Middleware::Communication POST URL: http://fog.mydomain.com/fog/management/index.php?sub=requestClientInfo&authorize&newService 11/19/2019 9:10 PM Middleware::Response Success 11/19/2019 9:10 PM Middleware::Authentication Authenticated 11/19/2019 9:10 PM Middleware::Communication URL: http://fog.mydomain.com/fog/management/index.php?sub=requestClientInfo&configure&newService&json 11/19/2019 9:10 PM Middleware::Response Success 11/19/2019 9:10 PM Middleware::Communication URL: http://fog.mydomain.com/fog/management/index.php?sub=requestClientInfo&mac=84:A9:3E:1D:D2:11&newService&json 11/19/2019 9:10 PM Middleware::Response Success 11/19/2019 9:10 PM Middleware::Communication URL: http://fog.mydomain.com/fog/service/getversion.php?clientver&newService&json 11/19/2019 9:10 PM Middleware::Communication URL: http://fog.mydomain.com/fog/service/getversion.php?newService&json 11/19/2019 9:10 PM Service Creating user agent cache 11/19/2019 9:10 PM Middleware::Response Module is disabled on the host 11/19/2019 9:10 PM Middleware::Response Module is disabled on the host 11/19/2019 9:10 PM Middleware::Response Module is disabled globally on the FOG server 11/19/2019 9:10 PM Service Initializing modules ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:10 PM Client-Info Client Version: 0.11.16 11/19/2019 9:10 PM Client-Info Client OS: Windows 11/19/2019 9:10 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:10 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:10 PM Client-Info Client Version: 0.11.16 11/19/2019 9:10 PM Client-Info Client OS: Windows 11/19/2019 9:10 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:10 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:10 PM Client-Info Client Version: 0.11.16 11/19/2019 9:10 PM Client-Info Client OS: Windows 11/19/2019 9:10 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:10 PM Middleware::Response Success 11/19/2019 9:10 PM HostnameChanger Checking Hostname 11/19/2019 9:10 PM HostnameChanger Hostname is correct 11/19/2019 9:10 PM HostnameChanger Attempting to join domain 11/19/2019 9:10 PM HostnameChanger Host already joined to target domain ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:10 PM Client-Info Client Version: 0.11.16 11/19/2019 9:10 PM Client-Info Client OS: Windows 11/19/2019 9:10 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:10 PM Middleware::Response No snapins ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:10 PM Client-Info Client Version: 0.11.16 11/19/2019 9:10 PM Client-Info Client OS: Windows 11/19/2019 9:10 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:10 PM Middleware::Response Module is disabled on the host ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:10 PM Client-Info Client Version: 0.11.16 11/19/2019 9:10 PM Client-Info Client OS: Windows 11/19/2019 9:10 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:10 PM Middleware::Response Module is disabled globally on the FOG server ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:10 PM Client-Info Client Version: 0.11.16 11/19/2019 9:10 PM Client-Info Client OS: Windows 11/19/2019 9:10 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:10 PM Middleware::Response Module is disabled on the host ------------------------------------------------------------------------------ 11/19/2019 9:10 PM Service Sleeping for 110 seconds 11/19/2019 9:12 PM Middleware::Communication URL: http://fog.mydomain.com/fog/management/index.php?sub=requestClientInfo&configure&newService&json 11/19/2019 9:12 PM Middleware::Response Success 11/19/2019 9:12 PM Middleware::Communication URL: http://fog.mydomain.com/fog/management/index.php?sub=requestClientInfo&mac=84:A9:3E:1D:D2:11&newService&json 11/19/2019 9:12 PM Middleware::Response Success 11/19/2019 9:12 PM Middleware::Communication URL: http://fog.mydomain.com/fog/service/getversion.php?clientver&newService&json 11/19/2019 9:12 PM Middleware::Communication URL: http://fog.mydomain.com/fog/service/getversion.php?newService&json 11/19/2019 9:12 PM Service Creating user agent cache 11/19/2019 9:12 PM Middleware::Response Module is disabled on the host 11/19/2019 9:12 PM Middleware::Response Module is disabled on the host 11/19/2019 9:12 PM Middleware::Response Module is disabled globally on the FOG server ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:12 PM Client-Info Client Version: 0.11.16 11/19/2019 9:12 PM Client-Info Client OS: Windows 11/19/2019 9:12 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:12 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:12 PM Client-Info Client Version: 0.11.16 11/19/2019 9:12 PM Client-Info Client OS: Windows 11/19/2019 9:12 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:12 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:12 PM Client-Info Client Version: 0.11.16 11/19/2019 9:12 PM Client-Info Client OS: Windows 11/19/2019 9:12 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:12 PM Middleware::Response Success 11/19/2019 9:12 PM HostnameChanger Checking Hostname 11/19/2019 9:12 PM HostnameChanger Hostname is correct 11/19/2019 9:12 PM HostnameChanger Attempting to join domain 11/19/2019 9:12 PM HostnameChanger Host already joined to target domain ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:12 PM Client-Info Client Version: 0.11.16 11/19/2019 9:12 PM Client-Info Client OS: Windows 11/19/2019 9:12 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:12 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:12 PM Client-Info Client Version: 0.11.16 11/19/2019 9:12 PM Client-Info Client OS: Windows 11/19/2019 9:12 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:12 PM Middleware::Response Module is disabled on the host ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:12 PM Client-Info Client Version: 0.11.16 11/19/2019 9:12 PM Client-Info Client OS: Windows 11/19/2019 9:12 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:12 PM Middleware::Response Module is disabled globally on the FOG server ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 11/19/2019 9:12 PM Client-Info Client Version: 0.11.16 11/19/2019 9:12 PM Client-Info Client OS: Windows 11/19/2019 9:12 PM Client-Info Server Version: 1.5.7.757 11/19/2019 9:12 PM Middleware::Response Module is disabled on the host 11/19/2019 9:12 PM Middleware::Communication URL: http://fog.mydomain.com/fog/service/usertracking.report.php?action=login&user=testhost01\Administrator&mac=84:A9:3E:1D:D2:11&newService&json ------------------------------------------------------------------------------ 11/19/2019 9:12 PM Service Sleeping for 144 seconds 11/19/2019 9:13 PM Controller Stop 11/19/2019 9:13 PM Service Stop requested 11/19/2019 9:13 PM Bus Emmiting message on channel: Status
-
@Tom-Elliott The response changes from
Response No snapins
toResponse Success
in the client logs, so it does seem it is piking them up. Though it’s strange there is no further output and the task is not finished.@maverick2041 Did you upgrade from
dev-branch
or an earlierworking-1.6
version or from 1.5.7 or even earlier? Did those exact snapins` work before? -
@Sebastian-Roth That part is strange, the tasks just sit there forever after the response changes, though they do update to
Checked In
but never further. The duplicated instances under “Tasks > Active Snapin Tasks” stay as well. This was a fresh install starting withworking-1.6
about a week ago and then agit pull
after @Tom-Elliott fixed the snapin uploads in this thread. We have a totally separate 1.5.7 install that I use in production, but nothing has been taken from that server. -
@maverick2041 Anything in the /var/www/php-fpm/www-error.log file?
-
@Tom-Elliott No, for each
tail
I cancelled and re-queued a snapin, then restarted the FOGService on the target machine. Here is the output:tail -f /var/log/php-fpm/www-error.log ------ (no changes) tail -f /var/log/httpd/error_log ------ (no changes) tail -f /var/log/httpd/access_log ------ Attempt #1 172.16.16.11 - - [20/Nov/2019:11:41:15 -0500] "GET /fog/management/other/ssl/srvpublic.crt HTTP/1.1" 200 1769 "-" "-" 172.16.16.11 - - [20/Nov/2019:11:41:15 -0500] "POST /fog/management/index.php?sub=requestClientInfo&authorize&newService HTTP/1.1" 200 326 "-" "-" 172.16.16.11 - - [20/Nov/2019:11:41:15 -0500] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 122 "-" "-" 172.16.16.11 - - [20/Nov/2019:11:41:16 -0500] "GET /fog/management/index.php?sub=requestClientInfo&mac=84:A9:3E:1D:D2:11&newService&json HTTP/1.1" 200 937 "-" "-" 172.16.16.11 - - [20/Nov/2019:11:41:16 -0500] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 7 "-" "-" 172.16.16.11 - - [20/Nov/2019:11:41:16 -0500] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 9 "-" "-" 172.16.16.11 - - [20/Nov/2019:11:41:16 -0500] "GET /fog/service/usertracking.report.php?action=login&user=testhost01%5CAdministrator&mac=84:A9:3E:1D:D2:11&newService&json HTTP/1.1" 200 105 "-" "-" Attempt #2 172.16.16.11 - - [20/Nov/2019:11:47:05 -0500] "GET /fog/management/other/ssl/srvpublic.crt HTTP/1.1" 200 1769 "-" "-" 172.16.16.11 - - [20/Nov/2019:11:47:05 -0500] "POST /fog/management/index.php?sub=requestClientInfo&authorize&newService HTTP/1.1" 200 326 "-" "-" 172.16.16.11 - - [20/Nov/2019:11:47:05 -0500] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 123 "-" "-" 172.16.16.11 - - [20/Nov/2019:11:47:05 -0500] "GET /fog/management/index.php?sub=requestClientInfo&mac=84:A9:3E:1D:D2:11&newService&json HTTP/1.1" 200 937 "-" "-" 172.16.16.11 - - [20/Nov/2019:11:47:06 -0500] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 7 "-" "-" 172.16.16.11 - - [20/Nov/2019:11:47:06 -0500] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 9 "-" "-" 172.16.16.11 - - [20/Nov/2019:11:47:06 -0500] "GET /fog/service/usertracking.report.php?action=login&user=testhost01%5CAdministrator&mac=84:A9:3E:1D:D2:11&newService&json HTTP/1.1" 200 105 "-" "-"
-
@maverick2041 I found the issue and was able to add a fix for it.
Please run a git pull and reinstall.
Of the fix also 2 little features come in:
A refresh button for the Data tables, so you can force a refresh of the data within the table being seen.
Added whoami route to the API. This returns a json formatted string with the following information:
{"ipaddress": "275.275.275.275", "hostname": "fogserver", "osid": "1", "osname": "Redhat", "installtype": "N"}
The 275 is meant to ensure nobody guesses a proper IP.
Hopefully this will allow snapins to work properly in 1.6
-
@Tom-Elliott Thank you! I can confirm this fixed the issue. Snap-ins are deploying successfully and the tasks are clearing.