@vemoya We have seen hosts go pending but that seemed to have been cause by the PowerShell module API calls.
We shall try to figure out if you have entries in the DB that are obviously not correct:
shell> mysql -u fogmaster -p
Password:
...
mysql> use fog;
...
mysql> SELECT hostID,hostName,hostPending FROM hosts WHERE hostID NOT IN (SELECT hmHostID FROM hostMAC);
...
mysql> SELECT hostID,hostName,hostPending FROM hosts WHERE hostID NOT IN (SELECT hmHostID FROM hostMAC WHERE hmPrimary = '1');
...
mysql> SELECT hostID,hostName,hostPending FROM hosts WHERE hostPending = '1';
...
mysql> SELECT * FROM tasks WHERE taskStateID IN ('1','2','3');
....
You find the password for the “fogmaster” database user in /var/www/html/fog/lib/fog/config.class.php. Please run the queries and try to copy&paste all the results here in the forums. Use PuTTy or some other SSH tool to connect to your server so you can copy&paste text.