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

Some clients disappear from web interface but are still present in databse

Scheduled Pinned Locked Moved Solved
Bug Reports
8
44
19.2k
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.
  • M
    Matthieu Jacquart
    last edited by Sep 14, 2015, 5:05 PM

    I’ll paste log in chat, because on forum I’ve this error message :

    Post content was flagged as spam by Akismet.com
    

    Fog 1.5.9.138
    Debian 11
    Vmware ESXi

    1 Reply Last reply Reply Quote 0
    • B
      Brian David
      last edited by Sep 14, 2015, 11:00 PM

      I experienced this issue today, currently working from git version 4644 (so it’s a few days old). I’ve had about five computers disappear from the web interface throughout the day, but they remain in the database.

      Also, and I’m not sure it’s related, but the service settings on some of my hosts are being changed regularly. I have one computer in particular that will regularly have all of it’s services turned off for some reason. I then turn them back on, and it’s good for a few hours before the settings get wiped again.

      I’m leaving work for the day and have the next two days off, but when I get back I’ll make a separate thread for the services issue if it’s still a problem.

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Tom Elliott Sep 14, 2015, 5:31 PM Sep 14, 2015, 11:31 PM

        Please update to stop the disappearing hosts. I’d even state, if you’re running trunk and the new client, UPGRADE IMMEDIATELY please.

        I’m sorry it’s been so difficult to track down. Hopefully it is now corrected for. Please test.

        We did patch a bug on the mac address, though, but apparently it made hosts disappear even faster. Jbob and I have narrowed it down to one thing. There is a load function that was occurring, but deleting the host primary mac. I’m so sorry…
        Please forgive me?

        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
        • M
          Matthieu Jacquart
          last edited by Matthieu Jacquart Sep 15, 2015, 1:45 AM Sep 15, 2015, 7:44 AM

          I updated and restore database from last save (last week-end), and 1 hour later at least 3 hosts disappear, on 3 different groups, I made no changes…

          edit : we forgive you, you all make great job 😉

          Fog 1.5.9.138
          Debian 11
          Vmware ESXi

          C 1 Reply Last reply Sep 15, 2015, 12:52 PM Reply Quote 0
          • C
            Claude Girard @Matthieu Jacquart
            last edited by Sep 15, 2015, 12:52 PM

            @Matthieu-Jacquart said:

            I updated and restore database from last save (last week-end), and 1 hour later at least 3 hosts disappear, on 3 different groups, I made no changes…

            edit : we forgive you, you all make great job 😉

            I can confirm this bad news.
            I wanted to control my database, and I made this request in phpmyadmin:
            SELECT * FROM hosts WHERE hostID NOT IN (SELECT hmhostID FROM hostMAC)
            It returned 93 results
            10 minutes later, the same request returned 101 results.
            No operation made on fog interface between the requests.

            Do I need to upgrade client too ? I don’t think so, some disappeared computers have legacy client installed

            W 1 Reply Last reply Sep 15, 2015, 1:00 PM Reply Quote 1
            • W
              Wayne Workman @Claude Girard
              last edited by Wayne Workman Sep 15, 2015, 7:02 AM Sep 15, 2015, 1:00 PM

              @Claude-Girard said:

              @Matthieu-Jacquart said:

              I updated and restore database from last save (last week-end), and 1 hour later at least 3 hosts disappear, on 3 different groups, I made no changes…

              edit : we forgive you, you all make great job 😉

              I can confirm this bad news.
              I wanted to control my database, and I made this request in phpmyadmin:
              SELECT * FROM hosts WHERE hostID NOT IN (SELECT hmhostID FROM hostMAC)
              It returned 93 results
              10 minutes later, the same request returned 101 results.
              No operation made on fog interface between the requests.

              Do I need to upgrade client too ? I don’t think so, some disappeared computers have legacy client installed

              That returned 41 rows for me… and I’m using the legacy client…

              I’m going to restore a previous snapshot and see if that number decreases.

              Yes, I’ve confirmed that the snapshot I just restored - when I ran that command, i got an empty set returned… ouch.

              I’m not updating till we know this is fixed.

              However I’m happy to update as much as the @Developers would like at home.

              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
              • T
                Trevelyan
                last edited by Sep 15, 2015, 1:39 PM

                Oops, just seen this - I guess I was searching for the wrong things 😛 - although I ended up doing everything else mentioned here…

                I’ll watch with intrigue…

                1 Reply Last reply Reply Quote 0
                • J
                  Joe Schmitt Senior Developer
                  last edited by Sep 15, 2015, 2:05 PM

                  @Claude-Girard @Matthieu-Jacquart @Wayne-Workman @Trevelyan @Brian-David
                  I need the fog.log file from disappeared hosts (preferably relatively soon after they vanished). Logs from the new client will be most helpful.

                  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.

                  1 Reply Last reply Reply Quote 1
                  • C
                    Claude Girard
                    last edited by Sep 15, 2015, 3:32 PM

                    How do I send it ? MP ?

                    W 1 Reply Last reply Sep 15, 2015, 3:42 PM Reply Quote 0
                    • W
                      Wayne Workman @Claude Girard
                      last edited by Sep 15, 2015, 3:42 PM

                      @Claude-Girard said:

                      How do I send it ? MP ?

                      Just upload it to the forums, @Jbob can get it that way.

                      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
                      • M
                        Matthieu Jacquart
                        last edited by Sep 16, 2015, 7:24 AM

                        Ok, I’m making a test : I empty database from all hosts and everything associated to hosts.
                        After that, I import all hosts with a csv file, and I’m putting them in their groups to modify parameters.
                        I started around 1 hour, for the moment all my hosts are still present…

                        Fog 1.5.9.138
                        Debian 11
                        Vmware ESXi

                        C 1 Reply Last reply Sep 16, 2015, 8:26 AM Reply Quote 0
                        • C
                          Claude Girard @Matthieu Jacquart
                          last edited by Sep 16, 2015, 8:26 AM

                          @Matthieu-Jacquart said:

                          I started around 1 hour, for the moment all my hosts are still present…

                          After restoring backup:
                          I deleted groups, and recreate them, include hosts in groups.
                          After 2 hours, hosts are still present.
                          But now some hosts dissapear from some groups.

                          T 1 Reply Last reply Sep 16, 2015, 10:18 AM Reply Quote 0
                          • T
                            Tom Elliott @Claude Girard
                            last edited by Sep 16, 2015, 10:18 AM

                            @Claude-Girard So what you’re saying is, everything was fine for nearly 2 hours, then they just started removing themselves? Do you have multiple nodes? If you do have multiples, are they all on the same revision?

                            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

                            C 1 Reply Last reply Sep 16, 2015, 10:34 AM Reply Quote 0
                            • C
                              Claude Girard @Tom Elliott
                              last edited by Sep 16, 2015, 10:34 AM

                              @Tom-Elliott said:

                              @Claude-Girard So what you’re saying is, everything was fine for nearly 2 hours, then they just started removing themselves? Do you have multiple nodes? If you do have multiples, are they all on the same revision?

                              No, hosts are presents and stay presents, but some groups are modified, hosts disappear from group members only

                              1 Reply Last reply Reply Quote 0
                              • T
                                Tom Elliott
                                last edited by Tom Elliott Sep 16, 2015, 4:35 AM Sep 16, 2015, 10:35 AM

                                @Claude-Girard WHEW

                                Thank you,

                                While that is an issue on it’s own, at least the host’s (themselves) are still in tact.

                                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

                                C 1 Reply Last reply Sep 16, 2015, 2:20 PM Reply Quote 0
                                • T
                                  Tom Elliott
                                  last edited by Sep 16, 2015, 10:35 AM

                                  What are the steps I can take to attempt reproducing hosts losing their group associations?

                                  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
                                  • C
                                    Claude Girard @Tom Elliott
                                    last edited by Sep 16, 2015, 2:20 PM

                                    @Tom-Elliott said:

                                    @Claude-Girard WHEW

                                    Thank you,

                                    While that is an issue on it’s own, at least the host’s (themselves) are still in tact.

                                    Yes that’s the most important 🙂
                                    No time today but tomorrow I’ll give more infos about group issue.
                                    I’ll do more tests because after my restore, I prefered clean database by deleting some hosts and recreating them.
                                    The ones that leave group were not.
                                    I’ll try to delete them and see if after recreate problem pesist.

                                    C 1 Reply Last reply Sep 16, 2015, 2:25 PM Reply Quote 0
                                    • C
                                      Claude Girard @Claude Girard
                                      last edited by Sep 16, 2015, 2:25 PM

                                      @Claude-Girard And good news:
                                      My sql request:
                                      SELECT * FROM hosts WHERE hostID NOT IN (SELECT hmhostID FROM hostMAC)
                                      hours ago !!!
                                      returns 0 rows since last fog update,

                                      1 Reply Last reply Reply Quote 1
                                      • M
                                        Matthieu Jacquart
                                        last edited by Sep 17, 2015, 4:26 AM

                                        24 hours later, my 312 hosts are still in database and in web interface 😉

                                        Fog 1.5.9.138
                                        Debian 11
                                        Vmware ESXi

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Tom Elliott
                                          last edited by Sep 17, 2015, 4:30 AM

                                          I did make a commit earlier did reinsert the same type of problem. When informed, I reverted the code. I have re-reverted the code after testing many potential opportunities of the random delete issue. i’m not 100% it’s good to say, yay or nay, but from the limited potential I could test within, all seems to be normal.

                                          This I have tried to “see it”

                                          Add hosts to a group, with many updates at random times and settings.

                                          Falsely having the client run tasks.

                                          Properly having a client run tasks.

                                          Updating the host directly (as well as others).

                                          From different pages, insert the host or hosts as seen fit.

                                          I’m not even seeing modules randomly appear or disappear.

                                          Hopefully by the time i get in to work tomorrow I can put a solve setting on this thread.

                                          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

                                          C 1 Reply Last reply Sep 17, 2015, 7:47 AM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            31/44
                                            Last post

                                          141

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project