RC-3, failed to deploy
-
FOG 1.3.0 RC-3 with location plugin setup, and inits being served from nodes.
Techs are trying to deploy, one emailed me this.
I also noticed the /images partition is completely full on the main server because someone is trying to upload when they shouldn’t be.
I wasn’t entirely sure when this happened so I grabbed all apache errors from today.
[Wed Jul 27 10:55:19.322623 2016] [:error] [pid 5457] [client 10.29.32.26:52867] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/group.class.php on line 78, referer: http://10.51.1.53/fog/management/index.php?node=group&sub=edit&id=8 [Wed Jul 27 10:51:04.459603 2016] [:error] [pid 31012] [client 10.29.32.26:52807] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 1072, referer: http://10.51.1.53/fog/management/index.php?node=snapin&sub=list [Wed Jul 27 10:51:04.459293 2016] [:error] [pid 31012] [client 10.29.32.26:52807] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 1072, referer: http://10.51.1.53/fog/management/index.php?node=snapin&sub=list [Wed Jul 27 10:51:04.458967 2016] [:error] [pid 31012] [client 10.29.32.26:52807] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 1072, referer: http://10.51.1.53/fog/management/index.php?node=snapin&sub=list [Wed Jul 27 10:51:04.458638 2016] [:error] [pid 31012] [client 10.29.32.26:52807] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 1072, referer: http://10.51.1.53/fog/management/index.php?node=snapin&sub=list [Wed Jul 27 10:51:04.458328 2016] [:error] [pid 31012] [client 10.29.32.26:52807] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 1072, referer: http://10.51.1.53/fog/management/index.php?node=snapin&sub=list [Wed Jul 27 10:51:04.458015 2016] [:error] [pid 31012] [client 10.29.32.26:52807] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 1072, referer: http://10.51.1.53/fog/management/index.php?node=snapin&sub=list [Wed Jul 27 10:51:04.457680 2016] [:error] [pid 31012] [client 10.29.32.26:52807] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 1072, referer: http://10.51.1.53/fog/management/index.php?node=snapin&sub=list [Wed Jul 27 10:51:04.457368 2016] [:error] [pid 31012] [client 10.29.32.26:52807] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 1072, referer: http://10.51.1.53/fog/management/index.php?node=snapin&sub=list [Wed Jul 27 10:51:04.457048 2016] [:error] [pid 31012] [client 10.29.32.26:52807] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 1072, referer: http://10.51.1.53/fog/management/index.php?node=snapin&sub=list [Wed Jul 27 10:51:04.456677 2016] [:error] [pid 31012] [client 10.29.32.26:52807] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 1072, referer: http://10.51.1.53/fog/management/index.php?node=snapin&sub=list [Wed Jul 27 09:35:54.338883 2016] [autoindex:error] [pid 13189] [client 10.13.8.28:50169] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive [Wed Jul 27 09:17:05.851586 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:05.658542 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 173, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:05.652126 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:05.154044 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:05.024833 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 173, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:05.022623 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:04.530230 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:04.348171 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 173, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:04.346956 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:03.906398 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:03.672979 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 173, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:03.672682 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:03.081691 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:02.927489 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 173, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:02.920994 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:02.403208 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:02.225339 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 173, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:02.224424 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:01.723028 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:01.632650 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 173, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:01.631676 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:01.192116 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:00.140853 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 173, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:17:00.131999 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:16:59.411011 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:16:59.030383 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 173, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:16:59.027535 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:16:58.542982 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:16:58.330534 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 173, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 09:16:58.328546 2016] [:error] [pid 2385] [client 10.12.5.9:63057] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 59, referer: http://10.51.1.53/fog/management/index.php?node=image&sub=delete&id=106 [Wed Jul 27 07:21:26.676976 2016] [:error] [pid 2385] [client 10.33.8.20:50209] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/group.class.php on line 66, referer: http://10.51.1.53/fog/management/index.php?node=group&sub=edit&id=45 [Wed Jul 27 07:20:47.789205 2016] [:error] [pid 7782] [client 10.33.8.20:50202] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/group.class.php on line 66, referer: http://10.51.1.53/fog/management/index.php?node=group&sub=edit&id=44 [Wed Jul 27 07:11:52.341958 2016] [:error] [pid 2386] [client 10.33.8.20:50065] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/group.class.php on line 66, referer: http://10.51.1.53/fog/management/index.php?node=group&sub=edit&id=44 [Wed Jul 27 07:05:00.033783 2016] [:error] [pid 2386] [client 10.33.8.20:49971] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/group.class.php on line 66, referer: http://10.51.1.53/fog/management/index.php?node=group&sub=edit&id=45 [Wed Jul 27 05:00:33.851803 2016] [core:notice] [pid 974] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Wed Jul 27 05:00:33.851778 2016] [mpm_prefork:notice] [pid 974] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.6.24 configured -- resuming normal operations [Wed Jul 27 05:00:33.537892 2016] [ssl:warn] [pid 974] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Wed Jul 27 05:00:33.536596 2016] [lbmethod_heartbeat:notice] [pid 974] AH02282: No slotmem from mod_heartmonitor [Wed Jul 27 05:00:33.535754 2016] [auth_digest:notice] [pid 974] AH01757: generating secret for digest authentication ... [Wed Jul 27 05:00:33.463431 2016] [ssl:warn] [pid 974] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Wed Jul 27 05:00:33.311282 2016] [suexec:notice] [pid 974] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Jul 27 05:00:33.241069 2016] [core:notice] [pid 974] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 [Wed Jul 27 05:00:01.405518 2016] [mpm_prefork:notice] [pid 977] AH00170: caught SIGWINCH, shutting down gracefully [Wed Jul 27 04:34:07.428867 2016] [core:notice] [pid 977] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Wed Jul 27 04:34:07.428838 2016] [mpm_prefork:notice] [pid 977] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.6.24 configured -- resuming normal operations [Wed Jul 27 04:34:06.820452 2016] [ssl:warn] [pid 977] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Wed Jul 27 04:34:06.819301 2016] [lbmethod_heartbeat:notice] [pid 977] AH02282: No slotmem from mod_heartmonitor [Wed Jul 27 04:34:06.818459 2016] [auth_digest:notice] [pid 977] AH01757: generating secret for digest authentication ... [Wed Jul 27 04:34:06.766251 2016] [ssl:warn] [pid 977] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Wed Jul 27 04:34:06.618599 2016] [suexec:notice] [pid 977] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Jul 27 04:34:06.554736 2016] [core:notice] [pid 977] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 [Wed Jul 27 05:00:01.451851 2016] [mpm_prefork:notice] [pid 14085] AH00170: caught SIGWINCH, shutting down gracefully
-
This is not a bug, in the traditional sense.
I’ll let you add to this @Wayne-Workman
What I have done, however is added code to prevent this particular error from showing, simply by defining the variable outside of it’s own scope.
-
One node crashed this morning. I was rebuilding it. The node was still enabled in fog - and because it wasn’t responding it caused the above error and a chainloading issue on hosts. The node that was not working was not the node that technicians were trying to deploy from.