• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
903
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 Mar 18, 2016, 9:10 AM Mar 18, 2016, 3:05 PM

    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

    T 1 Reply Last reply Mar 18, 2016, 3:32 PM Reply Quote 2
    • T
      Tom Elliott
      last edited by Mar 18, 2016, 3:30 PM

      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 Mar 18, 2016, 3:41 PM Reply Quote 1
      • T
        Tom Elliott @Hanz
        last edited by Mar 18, 2016, 3:32 PM

        @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 Mar 18, 2016, 3:41 PM

          @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
          1 / 1
          • First post
            4/4
            Last post

          160

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project