FOG Project

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

    Odd pending host issues

    FOG Problems
    5
    10
    2692
    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.
    • J
      jamesb last edited by

      I’m having some really weird issues with the latest SVN (3225). Sometimes when a host that has been imaged reboots it will want to show up in the pending hosts section of FOG, but when I look at the pending hosts section there is nothing there. So I look at the database and notice that the machine and MAC address is a hostID of 0. In order to correct this I change the hostID to the next sequential number that FOG hasn’t used yet. That allows the host to show up in the pending hosts section so I can approve it. This shouldn’t be happening however. Every host is manually entered before it’s imaged so there is no reason for it to show up in the pending hosts section. This happens on random machines. I also have host registration turned off so it shouldn’t add hosts unless they are done manually. I haven’t found any apache error codes that could reflect why this is happening. They are hard enough to find since this issue is random.

      1 Reply Last reply Reply Quote 0
      • Wayne Workman
        Wayne Workman @Junkhacker last edited by

        @Junkhacker Didn’t even notice that.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • Junkhacker
          Junkhacker Developer @Wayne Workman last edited by

          @Wayne-Workman said in Odd pending host issues:

          @x23piracy Yes, update again. Patches are pushed many, many times a day. The senior developer has already said in this thread that he thinks he’s fixed the issue. So to get the patch, you must update.

          actually, Tom’s comment and the original problem listed in the thread are probably unrelated since x23piracy is resurrecting a year old thread…

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          Wayne Workman 1 Reply Last reply Reply Quote 1
          • Wayne Workman
            Wayne Workman @x23piracy last edited by

            @x23piracy Yes, update again. Patches are pushed many, many times a day. The senior developer has already said in this thread that he thinks he’s fixed the issue. So to get the patch, you must update.

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            Junkhacker 1 Reply Last reply Reply Quote 0
            • x23piracy
              x23piracy @Wayne Workman last edited by

              @Wayne-Workman said in Odd pending host issues:

              Upgrade to Trunk

              Do you mean this? https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk
              I cannot find any occurance of pending.

              What do you mean with Update? Update trunk again?

              Regards X23

              ║▌║█║▌│║▌║▌█

              Wayne Workman 1 Reply Last reply Reply Quote 0
              • Wayne Workman
                Wayne Workman @x23piracy last edited by

                @x23piracy Update. Instructions on that can be found in the “Upgrade to Trunk” wiki article. In fogproject wiki, not sourceforge wiki.

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                x23piracy 1 Reply Last reply Reply Quote 0
                • x23piracy
                  x23piracy last edited by x23piracy

                  Hi,

                  i have exactly the same issue.

                  alt text
                  then after the link on here:

                  alt text
                  empty…

                  Maybe it has started while i was testing sysprepping with a virtual box vm where i often captured and redeployed with same macs.
                  For some reason i resetted encryption data for this hosts via mysql in the shell.

                  Last night i installed fog service on my productive machine and in the webif today i could see that there is a pending host but when i click on it i see an empty list.

                  How can i solve this?

                  Regards X23

                  ║▌║█║▌│║▌║▌█

                  Wayne Workman 1 Reply Last reply Reply Quote 0
                  • Tom Elliott
                    Tom Elliott last edited by

                    I think I’ve narrowed down exactly what’s happening.

                    It’s not “random” though it certainly feels like it is. I did fix the random deletion of the individual host but I wasn’t aware previous hosts added were having the same problem, until I looked much deeper into it last night. I don’t know what it was, but I did get to make a lot more refined and from what I’ve been able to test (after verifying the problem) I’ve not been able to replicate it any more. 3230 should hopefully make this a non-issue anymore. Hopefully.

                    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 0
                    • J
                      jamesb last edited by

                      Now this seems to happen to almost every new host that is added. It seems to never get a proper hostID in the data base so I’m constantly having to go into the database and give it a proper hostID.

                      1 Reply Last reply Reply Quote 0
                      • J
                        jamesb last edited by

                        These are the latest errors in apache that I have been getting. I’m not sure if it relates to this issue at all however.

                        [SIZE=13px][COLOR=#555555][Thu Apr 09 07:21:43.517543 2015] [core:notice] [pid 31337] AH00051: child pid 23791 exit signal Segmentation fault (11), possible coredump in /etc/apache2
                        [Thu Apr 09 07:23:49.614748 2015] [:error] [pid 24012] [client 172.26.9.29:49197] PHP Warning: current() expects parameter 1 to be array, string given in /var/www/fog/lib/fog/Image.class.php on line 212
                        [Thu Apr 09 07:23:49.614826 2015] [:error] [pid 24012] [client 172.26.9.29:49197] PHP Fatal error: Call to a member function getOptimalStorageNode() on a non-object in /var/www/fog/lib/fog/Host.class.php on line 277
                        [Thu Apr 09 07:25:00.840813 2015] [:error] [pid 23911] [client 172.26.9.29:64162] PHP Warning: current() expects parameter 1 to be array, string given in /var/www/fog/lib/fog/Image.class.php on line 212
                        [Thu Apr 09 07:25:00.840877 2015] [:error] [pid 23911] [client 172.26.9.29:64162] PHP Fatal error: Call to a member function getOptimalStorageNode() on a non-object in /var/www/fog/lib/fog/Host.class.php on line 277
                        [Thu Apr 09 07:26:11.952242 2015] [:error] [pid 24175] [client 172.26.9.29:64180] PHP Warning: current() expects parameter 1 to be array, string given in /var/www/fog/lib/fog/Image.class.php on line 212[/COLOR][/SIZE]

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

                        248
                        Online

                        10.2k
                        Users

                        16.3k
                        Topics

                        149.9k
                        Posts

                        Copyright © 2012-2020 FOG Project