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

    Groups

    Scheduled Pinned Locked Moved
    General
    5
    15
    1.3k
    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.
    • I
      ITCC
      last edited by

      When i add machines to a group, it adds random machines at the same time.
      We have had this issue for some time and thought it was a bug, but this would have been fixed by now if it was. We do complete the DB maintenance tasks as well and from memory this helped but this also don’t seem to resole it anymore.

      Please advise.

      EduardoTSeoaneE 1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @ITCC Please take a screen captured video of the steps you make and the outcome you get. Post that here.

        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
        • EduardoTSeoaneE
          EduardoTSeoane @ITCC
          last edited by

          @ITCC I’have the same problem but the pc’s added are ever the same and i discover that was registered via grub

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @EduardoTSeoane What do you mean by “registered via grub”??

            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

            EduardoTSeoaneE 1 Reply Last reply Reply Quote 0
            • EduardoTSeoaneE
              EduardoTSeoane @Sebastian Roth
              last edited by

              @Sebastian-Roth

              Quick Host Registration and Inventory
              and
              Perform Full Host Registration and Inventory

              iPXE Grub Menu Options.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth

                @EduardoTSeoane Alright, I was just confused because iPXE and Grub are two completely different things…

                Is this right, when you register a PC through the iPXE boot menu it will be added to a group next time you add another host to that group?!?

                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

                EduardoTSeoaneE 1 Reply Last reply Reply Quote 0
                • EduardoTSeoaneE
                  EduardoTSeoane @Sebastian Roth
                  last edited by

                  @Sebastian-Roth uhmmm, I try with another words.

                  When I create a group, selecting some computers on host management, fog adds at least some computers registered from iPXE boot menu.
                  If I select some computers, from host management, and add them to a existing group, fog adds, at least, some computers registered from iPXE boot menu.

                  I don’t know if some is equal to all

                  I delete them and reregistered from Web UI and they dont be added anymore. I thinked that was a database error, and I do not investigate the problem for that reason. How we don’t usually work’s “on place”, we usually have that menu disabled and I don’t see this effect anymore.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @EduardoTSeoane Thanks for explaining this again! Now that I understand it I get the impression that we had that mentioned in the forum some time ago already. Not sure if that’s true and what happend to it.

                    @george1421 @Wayne-Workman @Tom-Elliott Does that ring a bell for you?

                    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

                    EduardoTSeoaneE george1421G 2 Replies Last reply Reply Quote 0
                    • EduardoTSeoaneE
                      EduardoTSeoane @Sebastian Roth
                      last edited by

                      @Sebastian-Roth Ok no problem, it’s better for me. I learn english and i get help, it’s a great reward, hehehe

                      Thank’s to all the team for your time and efforts. if you want I can spend some time to find it and report the thread, to you.

                      It’s not important for me because I don’t use that feature. I’m only trying to help telling my experiences. Maybe, after i resolve some works i can offer me to help in another ways.

                      1 Reply Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @Sebastian Roth
                        last edited by

                        @Sebastian-Roth I have not heard of that before. The only add on (out side of the baseline code) is persistent groups plugin. But that does not add hosts to groups, it only copies settings from the template host to the target host. At no time does the script add host to hostgroups in the database.

                        So I would have to wonder why the main code would add random hosts to host groups unless for some reason multiple hosts would have the same host ID.

                        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!

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by

                          @EduardoTSeoane Thanks, would be great if you’d look into this and see what you can find!

                          A quick search in the forums revealed those two topic that sound similar:
                          https://forums.fogproject.org/topic/11166/adding-host-in-a-group-and-create-it-bug
                          https://forums.fogproject.org/topic/12032/creating-group-members-add-themselves

                          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
                          • Wayne WorkmanW
                            Wayne Workman
                            last edited by

                            This could possibly be related: https://forums.fogproject.org/topic/13717/fog-with-galera-snapin-problems
                            We never got down to why some of @Neil’s systems deployed snapins but not all. It’s entirely possible that not all of the computers were in the group as he thought they were. @Neil, how did you register those systems you tried to deploy to?

                            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/

                            EduardoTSeoaneE 1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by

                              I knew there was another forum post describing that issue: https://forums.fogproject.org/topic/13225/database-maintenance-script

                              I even had that one on my list of things to look into and fix but as the list is too long…

                              Ok this definitely needs fixing! I will try to get this done in the next days.

                              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
                              • EduardoTSeoaneE
                                EduardoTSeoane @Wayne Workman
                                last edited by

                                @Wayne-Workman I’m using local standard database and i see that problem, but i have identified the undesired hosts as iPXE menu registered hosts.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Sebastian Roth

                                  As we have had so many requests about this topic I have tried to sort this out and properly fix it. Turned out to be quite hard but I hope I got it now without causing any other harm.

                                  @Tom-Elliott Can you please take a look at this commit and let me know if something jumps at you that could cause us trouble. I mean I have tested things a bit but as I had to change code right in the FOGController class I am unsure about side effects this might cause. What do you think?

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

                                  153

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project