ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Why Do We Get IP Local Hostnames for Salt Minion Keys

    IT Discussion
    salt saltstack
    3
    9
    1.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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Name like this: ip-65-75-137-152.local

      These regularly show up in the Salt Master when looking for keys. But why? What is producing them? And if you accept them, even when they are obviously being produced by a known server, they never work. This seems to be a very regular and expected problem, yet I find almost no mention of it online.

      A 1 Reply Last reply Reply Quote 5
      • scottalanmillerS
        scottalanmiller
        last edited by

        Okay, finally got around to tracking this down. In your minion file, on Linux systems this would be /etc/salt/minion, you need to uncomment the id: field and put in the name that you want to use and restart your minion process. This will update the name as seen in the Salt Master.

        dafyreD 1 Reply Last reply Reply Quote 0
        • A
          Alex Sage @scottalanmiller
          last edited by

          @scottalanmiller Did you ever get this fixed?

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            No, and I'm still annoyed by it, but not enough to do a big investigation as it almost never happens anymore and only seems to with the non-production systems, so there isn't any weird impact yet.

            dafyreD 1 Reply Last reply Reply Quote 0
            • dafyreD
              dafyre @scottalanmiller
              last edited by

              @scottalanmiller said in Why Do We Get IP Local Hostnames for Salt Minion Keys:

              No, and I'm still annoyed by it, but not enough to do a big investigation as it almost never happens anymore and only seems to with the non-production systems, so there isn't any weird impact yet.

              I've done probably 30 fresh salt-minions, and a few from templates as well... and have yet to see this once... You are approaching snowflake status, ha ha.

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @dafyre
                last edited by

                @dafyre said in Why Do We Get IP Local Hostnames for Salt Minion Keys:

                @scottalanmiller said in Why Do We Get IP Local Hostnames for Salt Minion Keys:

                No, and I'm still annoyed by it, but not enough to do a big investigation as it almost never happens anymore and only seems to with the non-production systems, so there isn't any weird impact yet.

                I've done probably 30 fresh salt-minions, and a few from templates as well... and have yet to see this once... You are approaching snowflake status, ha ha.

                And I get it relatively regularly on several different systems!

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  And I mean several Salt Masters, not just many Minions. Several totally unique systems, all have it.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    Okay, finally got around to tracking this down. In your minion file, on Linux systems this would be /etc/salt/minion, you need to uncomment the id: field and put in the name that you want to use and restart your minion process. This will update the name as seen in the Salt Master.

                    dafyreD 1 Reply Last reply Reply Quote 0
                    • dafyreD
                      dafyre @scottalanmiller
                      last edited by

                      @scottalanmiller said in Why Do We Get IP Local Hostnames for Salt Minion Keys:

                      Okay, finally got around to tracking this down. In your minion file, on Linux systems this would be /etc/salt/minion, you need to uncomment the id: field and put in the name that you want to use and restart your minion process. This will update the name as seen in the Salt Master.

                      Is this separate from the /etc/salt/minion_id file?

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @dafyre
                        last edited by

                        @dafyre said in Why Do We Get IP Local Hostnames for Salt Minion Keys:

                        @scottalanmiller said in Why Do We Get IP Local Hostnames for Salt Minion Keys:

                        Okay, finally got around to tracking this down. In your minion file, on Linux systems this would be /etc/salt/minion, you need to uncomment the id: field and put in the name that you want to use and restart your minion process. This will update the name as seen in the Salt Master.

                        Is this separate from the /etc/salt/minion_id file?

                        It's just in the minion file.

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