Problem with Windows 10 host not registering ...SVN 6476



  •  2/26/2016 9:25 AM Client-Info Version: 0.9.11
     2/26/2016 9:25 AM Middleware::Communication URL: http://10.72.3.50/fog/management/other/ssl/srvpublic.crt
     2/26/2016 9:25 AM Middleware::Authentication ERROR: Could not get security token
     2/26/2016 9:25 AM Middleware::Authentication ERROR: The data is invalid.
    
     2/26/2016 9:25 AM Data::RSA FOG Server CA cert found
     2/26/2016 9:25 AM Middleware::Authentication Cert OK
     2/26/2016 9:25 AM Middleware::Communication POST URL: http://10.72.3.50/fog/management/index.php?sub=authorize
     2/26/2016 9:25 AM Middleware::Communication Response: Invalid security token
     2/26/2016 9:25 AM Service Sleeping for 120 seconds
     2/26/2016 9:26 AM Service Stop requested
    


  • @Tom-Elliott yessir, sorry so long to get back to you, but that was it, and client registers normally now. I guess that’s the only interface I didn’t check for in database…Loopback I guess


  • Senior Developer

    @Hanz There’s the culprit.

    Can you delete that particular entry?

    DELETE FROM hostMAC where hmID=2279392;



  • @Tom-Elliott

    Database changed
    MariaDB [fog]> SELECT * from hostMAC where hmMAC IN ('2C:76:8A:D9:23:9D','40:2C:F4:61:4D:D9','0A:00:27:00:00:00')
        -> 
        -> ;
    +---------+----------+-------------------+--------+-----------+-----------+----------------+-----------------+
    | hmID    | hmHostID | hmMAC             | hmDesc | hmPrimary | hmPending | hmIgnoreClient | hmIgnoreImaging |
    +---------+----------+-------------------+--------+-----------+-----------+----------------+-----------------+
    | 2279392 |     1978 | 0a:00:27:00:00:00 |        |         0 |         0 |              0 |               0 |
    +---------+----------+-------------------+--------+-----------+-----------+----------------+-----------------+
    1 row in set (0.00 sec)
    
    

  • Senior Developer

    @Hanz said:

    2C-76-8A-D9-23-9D

    SELECT * from hostMAC where hmMAC IN ('2C:76:8A:D9:23:9D','40:2C:F4:61:4D:D9','0A:00:27:00:00:00')
    


  • @Wayne-Workman

    Database changed
    MariaDB [fog]> select * from hostMAC where hmID = 0;
    Empty set (0.00 sec)
    

  • Moderator

    @Hanz in MySQL, can you run this: select * from hostMAC where hmID = 0;



  • @Tom-Elliott Problem is when I try to add manually I get the response about duplicate mac addresses…so currently this machine is not registered after installing client. It won’t show under pending hosts either



  • @Wayne-Workman

    Physical Address    Transport Name
    =================== ==========================================================
    2C-76-8A-D9-23-9D   \Device\Tcpip_{B0246A16-2CAB-4755-8BA7-CD4E79B32290}
    N/A                 Hardware not present
    40-2C-F4-61-4D-D9   Media disconnected
    0A-00-27-00-00-00   \Device\Tcpip_{C4E2D3F3-AFF5-412D-9CCB-BABC0CC7B645}
    

    the top mac is the one assoc with ethernet and the one I tried to find in database


  • Senior Developer

    @Wayne-Workman I think the host is not registered at all, or the nic is associated to nothing now.


  • Moderator

    @Hanz Is this problem host a laptop or desktop? What’s returned when you run getmac in the command prompt?



  • @Wayne-Workman only 1 server, and I looked under hostmac and hosts for the machine in question searching for both mac address and computer name respectively…nothing


  • Moderator

    @Hanz said:

    @Tom-Elliott I don’t understand…I deleted host before, but this time when I deleted the host, the client started working. The host never showed up under pending devices after deletion and this mac address is found nowhere. The hostname is nowhere in FOG that I can find…but client log shows that it’s working.

    ***Update: When I pxe boot same machine it states “This host is not registered”

    If the client is reporting success, then the host’s info must be somewhere in the db. Do you have more than one fog server system (not talking about nodes, either)?



  • @Tom-Elliott I don’t understand…I deleted host before, but this time when I deleted the host, the client started working. The host never showed up under pending devices after deletion and this mac address is found nowhere. The hostname is nowhere in FOG that I can find…but client log shows that it’s working.

    ***Update: When I pxe boot same machine it states “This host is not registered”



  • @Tom-Elliott when I register this host (manually) I get

    2/26/2016 10:42 AM Client-Info Version: 0.9.11
     2/26/2016 10:42 AM Middleware::Communication URL: http://10.72.3.50/fog/management/other/ssl/srvpublic.crt
     2/26/2016 10:42 AM Middleware::Authentication ERROR: Could not get security token
     2/26/2016 10:42 AM Middleware::Authentication ERROR: The data is invalid.
    
     2/26/2016 10:42 AM Data::RSA FOG Server CA cert found
     2/26/2016 10:42 AM Middleware::Authentication Cert OK
     2/26/2016 10:42 AM Middleware::Communication POST URL: http://10.72.3.50/fog/management/index.php?sub=authorize
     2/26/2016 10:42 AM Middleware::Communication Unknown Response: Error multiple hosts returned for list of mac addresses
     2/26/2016 10:42 AM Service Sleeping for 120 seconds
    

    Odd thing is when I look into database and do a look up for hosts with that mac, there is only this machine. There is no option under GUI to reset encryption data


  • Senior Developer

    Find the host in the GUI. Click reset encryption data.


Log in to reply
 

365
Online

38982
Users

10712
Topics

101678
Posts

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