Call to undefined method altq_root_queue::SetAvailableBandwidth()
-
Using a fresh install with a default setup, going into the Traffic Shaper and attempting to enable any Scheduler Type gets me:
Fatal error: Call to undefined method altq_root_queue::SetAvailableBandwidth() in /usr/local/www/firewall_shaper.php on line 283 Call Stack: 0.0000 237600 1. {main}() /usr/local/www/firewall_shaper.php:0 PHP ERROR: Type: 1, File: /usr/local/www/firewall_shaper.php, Line: 283, Message: Call to undefined method altq_root_queue::SetAvailableBandwidth()
Using the pfSense-CE-2.3-BETA-amd64-20160329-0150 ISO
Crash report begins. Anonymous machine information:
amd64
10.3-RELEASE
FreeBSD 10.3-RELEASE #490 51f8df0(RELENG_2_3): Tue Mar 29 02:06:06 CDT 2016 root@pfs23-amd64-builder:/usr/home/pfsense/pfsense/tmp/obj/usr/home/pfsense/pfsense/tmp/FreeBSD-src/sys/pfSenseCrash report details:
PHP Errors:
[29-Mar-2016 22:06:51 Etc/UTC] PHP Fatal error: Call to undefined method altq_root_queue::SetAvailableBandwidth() in /usr/local/www/firewall_shaper.php on line 283
[29-Mar-2016 22:06:51 Etc/UTC] PHP Stack trace:
[29-Mar-2016 22:06:51 Etc/UTC] PHP 1. {main}() /usr/local/www/firewall_shaper.php:0
[29-Mar-2016 22:09:07 Etc/UTC] PHP Fatal error: Call to undefined method altq_root_queue::SetAvailableBandwidth() in /usr/local/www/firewall_shaper.php on line 283
[29-Mar-2016 22:09:07 Etc/UTC] PHP Stack trace:
[29-Mar-2016 22:09:07 Etc/UTC] PHP 1. {main}() /usr/local/www/firewall_shaper.php:0
[29-Mar-2016 22:15:13 Etc/UTC] PHP Fatal error: Call to undefined method altq_root_queue::SetAvailableBandwidth() in /usr/local/www/firewall_shaper.php on line 283
[29-Mar-2016 22:15:13 Etc/UTC] PHP Stack trace:
[29-Mar-2016 22:15:13 Etc/UTC] PHP 1. {main}() /usr/local/www/firewall_shaper.php:0 -
Seems code at https://github.com/pfsense/pfsense/blob/8ed6b8e33fe0e1ad310ad13c5281926cf87cf72f/src/usr/local/www/firewall_shaper.php#L264 could be removed from line 264 to 283 as underlying logic was changed.
Maybe some more experienced could tell if that change is recommended or not.
-
I think that's about the last known issue on track for 2.3 and it's being actively worked on:
https://redmine.pfsense.org/issues/5721
Might want to paste your feedback there. It's almost certainly related to the rework being done to the queue logic.
-
Split this to its own thread since it's unrelated to the one where it was originally posted, and let Luiz know. He's working on #5721.
-
Fixed. Jorge's suggestion was correct, code was changed but I missed this call before. Thanks!