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

    Setting the primary and additional MACs the same makes the host invisible

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    5
    881
    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.
    • ?
      A Former User
      last edited by A Former User

      EDIT: I didn’t see that there was a similar issue posted already about the bug. Thanks to the command given by one of the devs, I was able to clear the invisible host. However, the way I caused the issue was a little different and might still be useful for the devs to see. If it’s fixed, this can be marked as resolved.

      Original Post:
      I’m using FOG version 1.5.7 on Ubuntu 18.04 and I’m having a lot of weird quirks with MAC addresses. I opened up an issue in the tech help forum asking about why changing the primary MAC address causes it to add the old MAC as an additional one. Now I’m not even sure if that’s a feature.

      If you set the primary MAC address and additional MAC address to be the same, the host vanishes. You can’t search for it. It doesn’t appear when you export the host list. But if you try to create a new host with the same name it says you can’t because a host with the name already exists. I now have a host I can’t remove and can’t use that name anymore.

      I apologize if I sound angry, but I’m just disappointed that when I went from FOG 1.2.0 to 1.5.7, it’s worse. I really do appreciate the volunteers working on the project though. If you need anymore info for me to test something, please let me know.

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

        You don’t sound angry. You sound like you’re attempting to describe the problem with as much detail as you know of right now and potential steps you’ve take to try to fix the issue at hand as well as a way for us to try to replicate.

        I will say, however, that the issue was kind of a feature. I can’t say I have fixed this in working-1.6, but I do know what’s happening at a basic level.

        When you change the primary mac address, it tries to put the original primary as an associated mac. I added this around 1.4 timeframe because I was fixing so many other issues at the time. Maybe something was missed.

        The good news is it shouldn’t take too much effort to fix the issue as well as maybe be more descriptive of how to explain that changing the primary mac moves the original to “associated”.

        I added this as a kind of feature as simply going in to change the mac did not necessarily mean you wanted the original mac to just disappear. At least that was the thought.

        Hopefully this can help us narrow where the problem you’re describing is and give us all an insight of how we can correct the issue.

        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
        • ?
          A Former User @Tom Elliott
          last edited by

          @Tom-Elliott Thank you for the response. So it seems the two issues are not linked. The duplicate MAC address issue is related to this: https://forums.fogproject.org/topic/13402/fog-1-5-6-changing-host-mac-address-can-make-hosts-inaccessable/6. The primary MAC address being added as an additional MAC address is in fact a feature.

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

            @isaiah658 @Tom-Elliott Thanks for posting all the details on this issue. I will look into this for the current 1.5.x branch of FOG when I get back next week!

            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
            • S
              Sebastian Roth Moderator
              last edited by

              @isaiah658 Fixed in dev-branch on github - will be in the next release.

              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

              123

              Online

              12.1k

              Users

              17.3k

              Topics

              155.4k

              Posts
              Copyright © 2012-2024 FOG Project