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

    Host Registration Service deactivation has no effect

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    12
    3.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.
    • Polii123P
      Polii123
      last edited by

      Server
      • FOG Version: 1.3.0
      • OS: Debian 8
      Client
      • Service Version: 0.11.7
      • OS: Win 7
      Description

      Hi

      We have a Problem, that FOG is somehow registering wrong MAC addresses on our Notebooks. Because we don’t need the Host Registration service anyways, I have disabled it systemwide. But there are still new MAC addresses reported.

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

        I don’t know if this was a “client” issue or a “php” issue. I believe the client, in regards to host register, just get’s a code that tells it to run. (@Joe-Schmitt forgive me if I’m wrong on thinking here).

        What I’ve done should help prevent this issue even if the client slips it through.

        This is currently on the working-RC-7 branch. Essentially, no client module should run if they are called independently of the client checks. (If you were to call it in the browser with a host object, if the module is globally disabled or disabled for that host it should inform you of this instead of trying to bypass this action).
        See the magic:
        https://github.com/FOGProject/fogproject/commit/4eec40b609b91db8606ee95ea925e03816264c84

        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

        Polii123P 1 Reply Last reply Reply Quote 1
        • Q
          Quazz Moderator
          last edited by

          What MAC addresses is it recording? Wifi, Ethernet, Bluetooth, 3G ??

          1 Reply Last reply Reply Quote 0
          • Polii123P
            Polii123
            last edited by Polii123

            It’s the WiFi MAC

            The problem is that after the image process the client service is registering the MAC and saves it before the hostname is changed. So the MAC is stored to the wrong client.

            For example the hostname of the image client ist LWA-Master, now after the computer is imaged, not with fog, the service is registering the MAC to the LWA-Master. But the real name of the client is LWA-whatever.

            This problem only occurs with the notebooks we’re cloning with clonezilla USB-Sticks and use FOG only for hostname change and AD joining.

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

              I don’t know if this was a “client” issue or a “php” issue. I believe the client, in regards to host register, just get’s a code that tells it to run. (@Joe-Schmitt forgive me if I’m wrong on thinking here).

              What I’ve done should help prevent this issue even if the client slips it through.

              This is currently on the working-RC-7 branch. Essentially, no client module should run if they are called independently of the client checks. (If you were to call it in the browser with a host object, if the module is globally disabled or disabled for that host it should inform you of this instead of trying to bypass this action).
              See the magic:
              https://github.com/FOGProject/fogproject/commit/4eec40b609b91db8606ee95ea925e03816264c84

              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

              Polii123P 1 Reply Last reply Reply Quote 1
              • Polii123P
                Polii123 @Tom Elliott
                last edited by

                @Tom-Elliott
                Is this now fixed on one of the new releases?

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

                  Yes. The Host registration service was fixed for 1.3.1 I believe, it brought in a different bug which caused the release of 1.3.2, but yes it was fixed.

                  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 2
                  • Polii123P
                    Polii123
                    last edited by

                    I just updated to 1.3.4, and know the problem came back. I have tons of pending macs…

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Polii123
                      last edited by

                      @Polii123 The code didn’t change for host registration. The checks that I was discussing are still present. Is host registration globally disabled or per host?

                      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
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        Just tested to ensure my sanity, and I am, in fact, SANE!

                        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
                        • Polii123P
                          Polii123
                          last edited by

                          It’s globally disabled…

                          Tom ElliottT 1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott @Polii123
                            last edited by

                            @Polii123 Then I’m not seeing any issues with it. I tested by setting a host only disabled. Running a few tests against it. Nothing occurred.

                            I then set globally disabled. Nothing occurred.

                            Do you have multiple nodes? Do all your clients look at the same point for getting information?

                            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
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              A very simple question, I suppose, but do the hosts that are registering have the new or legacy client?
                              Can you provide the client log of one of the “adding” systems? (If you are using legacy client please post one for each of the clients – one legacy client fog.log and one new client)

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

                              159

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project