Can't remove multicast image task through WebGUI
I created a image multicast session to test how multicast performs in our environment.
I would now like to cancel this task, but this seems to not work. I’ve tried this at both the Multicast Image menu and the Active Multicast Task menu.
I can remove it by going into mysql and manually removing it there of course.
Any insight on what might be going?
Ubuntu 15.10, latest SVN FOG.
@Tom-Elliott Thanks for the quick help, can confirm it is fixed.
@Quazz Confirmed and fixed in latest.
It wouldn’t cancel because it was always looking for an association to link from. This is fine in default multicast imaging from group/individual registered host, but when you use the image page there is no associations made.
Fixed by just using the cancel method of the session manager.
@ch3i Good call, I think these are the relevant errors:
[Tue Mar 08 10:33:59.289627 2016] [:error] [pid 18532] [client 192.168.1.30:51625] PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/fog/bootmenu.class.php on line 115 [Tue Mar 08 10:33:59.289849 2016] [:error] [pid 18532] [client 192.168.1.30:51625] PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/fog/bootmenu.class.php on line 116
edit: Never mind, it’s not caused by this issue as far as I can tell.
My best guess would be some communication error/failure between apache and mysql.
@Quazz Could you check the apache log ?
@ch3i No, it says Cancelled task and the page refreshes but the task remains there.
@Quazz When you cancel the task have an error ?