• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    All know hosts show as pending when a new host shows as pending.

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    4
    891
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Hanz
      last edited by Hanz

      I have a script that @Wayne-Workman wrote, that shows pending host as they come in. I noticed that when a host comes in as pending…all previously accepted/known hosts show as pending as well. When I manually add the host from the list in the log output from said script, all host disappear from pending and all looks as it should.

      18/03/2016 10:54:02
       
      Pending Hosts:
      3557	dmNew1
       
      Number of Approved Hosts:
      1756
       
      Number of Total Hosts:
      1757
       
      Number of Total MAC addresses:
      3558
       
      uptime Output:
       10:54:02 up  2:11,  2 users,  load average: 1.00, 1.26, 1.40
      

      I reset the encryption keys after deleting all hosts and adding again from the old database backup from 6549.

      the host dmnew was manually set to pending, which shows correctly; however all hosts without a key are showing back up under pending hosts. This has happened since updating to 6777 from 6549. and now I’m currently on 6815.

      When I accept the pending hosts listed from output of script, all goes back to normal

      Tom ElliottT 1 Reply Last reply Reply Quote 2
      • Tom ElliottT
        Tom Elliott
        last edited by

        Confirmed, Found, Fixed, and pushed (ONLY THE PART WHERE CLICKING PENDING HOSTS SHOWS ALL HOSTS).

        THey should not all show up as pending though. This was a mistake in coding. I copied a prior entry (in the search area) to the pending area and forgot to make the change as necessary.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        H 1 Reply Last reply Reply Quote 1
        • Tom ElliottT
          Tom Elliott @Hanz
          last edited by

          @Hanz Based on my finding, everything was working fine.

          Number of MAC’s 3558 (I’m guessing there’s two macs that were added for dmNew1 host).

          Number of approved hosts = 1756.

          Number of Total hosts = 1757.

          Based on that, (1756 Approved + 1 Pending) = 1757. Is this incorrect?

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 1
          • H
            Hanz @Tom Elliott
            last edited by

            @Tom-Elliott thanks to you and Mr. Workman…I would have had no way to know which host was showing as pending if it wasn’t for his script.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post

            265

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project