SOLVED Host inventory task fails with PHP error
- FOG Version: 1.3.0-RC-35 SVN Revision: 6044
- OS: Debian Jessie 8.6.0
Host inventory feature does not work when trying to capture as a standalone task, or with quick host registration & inventory.
I’ve ran into an issue with the host inventory feature. I’ve first encountered it on RC 33, 2 days ago.
Using the “Perform Full host registration, and inventory” the inventory gets registered (as well as the host of course) properly.
Using the “Quick host registration and inventory” function, on RC35, the inventory gets uploaded according to the PXE environment, but it does not appear under the host/inventory menu. The host gets registered properly.
Manually creating an inventory task for an already registered host yields the same results as above.
An entry in the apache error logs is visible on every approach that does not work properly :
PHP Fatal error: Cannot access self:: when no class scope is active in /var/www/html/fog/service/inventory.php on line 30
This error is not visible when the inventory is succesful (using the “Full registration and inventory” option.
I can confirm that the issue is resolved now. Thanks a lot for all the good work!
Tom Elliott last edited by
@kondi Repushed RC-35 which should address this issue.
Thanks for reporting.
Wayne Workman last edited by
pinging @Tom-Elliott for this one.