2 Replies Latest reply: Dec 6, 2018 12:57 PM by Karlo Bobiles RSS

    Salt master communication issue

    TrayportIS

      Salt minion fails to communicate with the master:

       

      Failed to collect current salt contact status: Cisco contact was not established. This may be temporary. Please make sure the VIRL server is connected to the Internet and capable of reaching the configured Cisco master. Also make sure that the minion key provided to you matches your minion ID and domain, and remains valid. Current status is: License renewal never completed successfully. Last license renewal final result was (2018-12-05 13:46:39): Call has timed out; failed to connect or minion key not accepted.

       

      I went though the steps in the corresponding TShoot guide: https://learningnetwork.cisco.com/docs/DOC-30336

      No issue on any of the stages during verification apart from "vsm-eu-53.virl.info" is not rechable on tcp/4505, tcp/4506 - other masters are reachable.

       

      Attempted to reset the license with private key from a newly downloaded PEM/license file.

       

      virl@is-virl01:~$ sudo salt-call --local grains.get id

      local:

         fNZOZDTC.virl.info

      virl@is-virl01:~$ sudo salt-call -l debug test.ping

      [DEBUG   ] Reading configuration from /etc/salt/minion

      [DEBUG   ] Including configuration from '/etc/salt/minion.d/extra.conf'

      [DEBUG   ] Reading configuration from /etc/salt/minion.d/extra.conf

      [DEBUG   ] Including configuration from '/etc/salt/minion.d/openstack.conf'

      [DEBUG   ] Reading configuration from /etc/salt/minion.d/openstack.conf

      [DEBUG   ] Configuration file path: /etc/salt/minion

      [WARNING ] Insecure logging configuration detected! Sensitive data may be logged.

      [DEBUG   ] Reading configuration from /etc/salt/minion

      [DEBUG   ] Including configuration from '/etc/salt/minion.d/extra.conf'

      [DEBUG   ] Reading configuration from /etc/salt/minion.d/extra.conf

      [DEBUG   ] Including configuration from '/etc/salt/minion.d/openstack.conf'

      [DEBUG   ] Reading configuration from /etc/salt/minion.d/openstack.conf

      [INFO    ] Got list of available master addresses: ['vsm-eu-51.virl.info', 'vsm-eu-52.virl.info', 'vsm-eu-53.virl.info', 'vsm-eu-54.virl.info']

      [DEBUG   ] Connecting to master. Attempt 1 of 1

      [DEBUG   ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'fNZOZDTC.virl.info', 'tcp://128.107.225.217:4506')

      [DEBUG   ] Generated random reconnect delay between '1000ms' and '11000ms' (3503)

      [DEBUG   ] Setting zmq_reconnect_ivl to '3503ms'

      [DEBUG   ] Setting zmq_reconnect_ivl_max to '11000ms'

      [DEBUG   ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'fNZOZDTC.virl.info', 'tcp://128.107.225.217:4506', 'clear')

      [DEBUG   ] salt.crypt.verify_signature: Loading public key

      [DEBUG   ] salt.crypt.verify_signature: Verifying signature

      [DEBUG   ] Successfully verified signature of master public key with verification public key master_sign.pub

      [INFO    ] Received signed and verified master pubkey from master vsm-eu-54.virl.info

      [DEBUG   ] Decrypting the current master AES key

      [DEBUG   ] Loaded minion key: /etc/salt/pki/minion/minion.pem

      [DEBUG   ] SaltEvent PUB socket URI: /var/run/salt/minion/minion_event_eb7931d6ba_pub.ipc

      [DEBUG   ] SaltEvent PULL socket URI: /var/run/salt/minion/minion_event_eb7931d6ba_pull.ipc

      [DEBUG   ] Initializing new IPCClient for path: /var/run/salt/minion/minion_event_eb7931d6ba_pull.ipc

      [DEBUG   ] Loaded minion key: /etc/salt/pki/minion/minion.pem

      [DEBUG   ] Determining pillar cache

      [DEBUG   ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'fNZOZDTC.virl.info', 'tcp://128.107.225.217:4506', 'aes')

      [DEBUG   ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'fNZOZDTC.virl.info', 'tcp://128.107.225.217:4506')

      [DEBUG   ] Loaded minion key: /etc/salt/pki/minion/minion.pem

      [DEBUG   ] LazyLoaded jinja.render

      [DEBUG   ] LazyLoaded yaml.render

      [DEBUG   ] LazyLoaded test.ping

      [DEBUG   ] test.ping received for minion 'fNZOZDTC.virl.info'

      [DEBUG   ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'fNZOZDTC.virl.info', 'tcp://128.107.225.217:4506', 'aes')

      [DEBUG   ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'fNZOZDTC.virl.info', 'tcp://128.107.225.217:4506')

      [DEBUG   ] LazyLoaded nested.output

      local:

          True