WOL - no working for groups.
-
WOL for groups is handled by the FOGScheduler service.
-
@Wayne-Workman
Just one line:[:error] [pid 31478] [client :51206] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 390, referer: http://fog/fog/management/index.php?node=group&sub=edit&id=1469
The results say the task was created, but nothing listed in active tasks.
-
@ablohowiak I’ll take a look at the active group tasks. I’m just guessing by “WOL -no working for groups” you’re meaning WOL Tasking specified from the Advanced Tasks menu item?
-
@Tom-Elliott
Yes, but also as an imaging task, but I’ll need to re-confirm that piece. The service had crashed. I’ve confirmed the failure of WOL thru advanced task. -
@ablohowiak I don’t understand.
When you create “imaging” tasks from the groups page, it’s not creating the actual tasks?
-
@ablohowiak
No, that was as an advanced task. -
@ablohowiak I still don’t understand.
When you group task an imaging type (Deploy, Deploy - Without Snapins, Deploy - Debug, Multicast) from groups does it create the tasks? The Advanced Tasks->Wake On Lan does not ever create task manager taskings.
-
Wake On LAN will happen on all hosts in RC-6. This does also mean it will slow down group taskings a bit as it has to call SQL query for each host in the task.
-
@Wayne-Workman Hi, working with @ablohowiak .
Here is what we got.
RC7
WOL to a group does NOT work.
WOL to individual host DOES work.
Groups to have members.
WOL does NOT work when deploying imaging task to group.Apache Log
[Wed Aug 10 14:38:25.164390 2016] [:error] [pid 8234] [client 10.118.150.87:62661] PHP Warning: array_walk() expects parameter 1 to be array, null given in /var/www/html/fog/lib/fog/group.class.php on line 214, referer: http://fog/fog/management/index.php?node=group&sub=deploy&id=1504&type=14
-
@UWPVIOLATOR I need more information. The info, as I’m seeing, tends to show that hosts’ aren’t associated to that group. Why do I say that? The message you’re seeing will only show if there’s no hosts to work with.
From what I am seeing, this is exactly the case.
If you’d like you can try using the patch here:
https://github.com/FOGProject/fogproject/commit/23a856e8757a15b595c20c74ea9032427ef62084See if it helps. Basically what it will do is attempt to grab the group’s hosts regardless of task type and tell all hosts to wake up if necessary.
-
@Tom-Elliott Thanks! this did the trick. WOL to groups is now working, but the apache log is spitting out this error now.
[Thu Aug 11 07:17:07.370532 2016] [:error] [pid 32376] [client 10.100.150.44:64341] PHP Warning: array_count_values(): Can only count STRING and INTEGER values! in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 111, referer: http://fog/fog/management/index.php?node=group&sub=edit&id=1532