Host inventory task fails with PHP error



  • Server
    • FOG Version: 1.3.0-RC-35 SVN Revision: 6044
    • OS: Debian Jessie 8.6.0
    Description

    Host inventory feature does not work when trying to capture as a standalone task, or with quick host registration & inventory.

    Hi.

    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.



  • @Tom-Elliott
    I can confirm that the issue is resolved now. Thanks a lot for all the good work!


  • Senior Developer

    @kondi Repushed RC-35 which should address this issue.

    Thanks for reporting.


  • Moderator

    pinging @Tom-Elliott for this one.


Log in to reply
 

499
Online

38924
Users

10691
Topics

101425
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.