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

    Salt Stack communication issues

    Scheduled Pinned Locked Moved IT Discussion
    saltstack
    13 Posts 5 Posters 3.6k Views
    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.
    • AdamFA
      AdamF @Reid Cooper
      last edited by

      @reid-cooper said in Salt Stack communication issues:

      I don't see anywhere where you put salt into the /etc/hosts file of the minion, or put it into DNS. Is that maybe the issue?

      I did. I can also ping salt from the minion and get a response from the master.

      black3dynamiteB 1 Reply Last reply Reply Quote 0
      • black3dynamiteB
        black3dynamite @AdamF
        last edited by black3dynamite

        @fuznutz04 said in Salt Stack communication issues:

        @reid-cooper said in Salt Stack communication issues:

        I don't see anywhere where you put salt into the /etc/hosts file of the minion, or put it into DNS. Is that maybe the issue?

        I did. I can also ping salt from the minion and get a response from the master.

        Nothing shows up using this command on the master: salt-key -L

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

          Did you open the right ports on the master?

          Did you verify that master's process is running?

          AdamFA 2 Replies Last reply Reply Quote 0
          • AdamFA
            AdamF @black3dynamite
            last edited by

            @black3dynamite said in Salt Stack communication issues:

            @fuznutz04 said in Salt Stack communication issues:

            @reid-cooper said in Salt Stack communication issues:

            I don't see anywhere where you put salt into the /etc/hosts file of the minion, or put it into DNS. Is that maybe the issue?

            I did. I can also ping salt from the minion and get a response from the master.

            Nothing shows up using this command on the master: salt-key -L

            negative. Just this:

            
            [root@salt ~]# salt-key -L
            Accepted Keys:
            Denied Keys:
            Unaccepted Keys:
            salt
            Rejected Keys:
            

            The unaccepted key salt of course is the master itself.

            1 Reply Last reply Reply Quote 0
            • AdamFA
              AdamF @scottalanmiller
              last edited by

              @scottalanmiller said in Salt Stack communication issues:

              Did you open the right ports on the master?

              Did you verify that master's process is running?

              I opened ports 4505 and 4506/tcp by issuing:

              firewall-cmd --permanent --zone=public --add-port=4505-4506/tcp
              firewall-cmd --reload
              
              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • AdamFA
                AdamF @scottalanmiller
                last edited by

                @scottalanmiller said in Salt Stack communication issues:

                Did you verify that master's process is running?

                Yes.

                [root@salt ~]# systemctl status salt-master
                ● salt-master.service - The Salt Master Server
                   Loaded: loaded (/usr/lib/systemd/system/salt-master.service; enabled; vendor preset: disabled
                   Active: active (running) since Fri 2017-11-17 10:21:19 EST; 28min ago
                 Main PID: 778 (salt-master)
                    Tasks: 30 (limit: 19660)
                   CGroup: /system.slice/salt-master.service
                           ├─778 /usr/bin/python /usr/bin/salt-master
                           ├─909 /usr/bin/python /usr/bin/salt-master
                           ├─930 /usr/bin/python /usr/bin/salt-master
                           ├─931 /usr/bin/python /usr/bin/salt-master
                           ├─932 /usr/bin/python /usr/bin/salt-master
                           ├─933 /usr/bin/python /usr/bin/salt-master
                           ├─934 /usr/bin/python /usr/bin/salt-master
                           ├─935 /usr/bin/python /usr/bin/salt-master
                           ├─936 /usr/bin/python /usr/bin/salt-master
                           ├─937 /usr/bin/python /usr/bin/salt-master
                           ├─938 /usr/bin/python /usr/bin/salt-master
                           └─939 /usr/bin/python /usr/bin/salt-master
                
                Nov 17 10:21:09 salt systemd[1]: Starting The Salt Master Server...
                Nov 17 10:21:19 salt systemd[1]: Started The Salt Master Server.
                
                
                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @AdamF
                  last edited by

                  @fuznutz04 said in Salt Stack communication issues:

                  @scottalanmiller said in Salt Stack communication issues:

                  Did you open the right ports on the master?

                  Did you verify that master's process is running?

                  I opened ports 4505 and 4506/tcp by issuing:

                  firewall-cmd --permanent --zone=public --add-port=4505-4506/tcp
                  firewall-cmd --reload
                  

                  And public is definitely the right zone?

                  AdamFA 1 Reply Last reply Reply Quote 0
                  • AdamFA
                    AdamF @scottalanmiller
                    last edited by

                    @scottalanmiller said in Salt Stack communication issues:

                    @fuznutz04 said in Salt Stack communication issues:

                    @scottalanmiller said in Salt Stack communication issues:

                    Did you open the right ports on the master?

                    Did you verify that master's process is running?

                    I opened ports 4505 and 4506/tcp by issuing:

                    firewall-cmd --permanent --zone=public --add-port=4505-4506/tcp
                    firewall-cmd --reload
                    

                    And public is definitely the right zone?

                    FacePalm. There was only 1 zone listed on the firewall, and it was called FedoraServer. Opening the ports in this zone of course solved the issue.

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

                      @fuznutz04 said in Salt Stack communication issues:

                      @scottalanmiller said in Salt Stack communication issues:

                      @fuznutz04 said in Salt Stack communication issues:

                      @scottalanmiller said in Salt Stack communication issues:

                      Did you open the right ports on the master?

                      Did you verify that master's process is running?

                      I opened ports 4505 and 4506/tcp by issuing:

                      firewall-cmd --permanent --zone=public --add-port=4505-4506/tcp
                      firewall-cmd --reload
                      

                      And public is definitely the right zone?

                      FacePalm. There was only 1 zone listed on the firewall, and it was called FedoraServer. Opening the ports in this zone of course solved the issue.

                      I was wondering as FedoraServer is the default.

                      🙂

                      1 Reply Last reply Reply Quote 1
                      • FATeknollogeeF
                        FATeknollogee
                        last edited by

                        @fuznutz04 You ran into this "problem" because you used the netinstall iso.
                        With the DVD iso FedoraServer is the default.

                        1 Reply Last reply Reply Quote 1
                        • AdamFA
                          AdamF
                          last edited by

                          Learn something new every day. I'm so used to CentOS, so I'm not used to the differences with Fedora.

                          Thanks!

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