Knowledge Search


×
 

[Contrail] Salt Key Issue During CSO Installation

  [KB34296] Show Article Properties


Summary:

The infrastructure services for the central infrastructure virtual machine (infravm) and the central microservices virtual machine (msvm) ran successfully. However, the Contrail Analytics virtual machine (contrail-analytics-vms) failed with the following key exchange error.

root@cso-central-2:~#salt-key -L

Accepted Keys:
csp-central-infravm.M8DLI0.central
csp-central-msvm.M8DLI0.central
Denied Keys:
Unaccepted Keys:
Rejected Keys:
2017-06-09 13:09:37 INFO     utils.core      Minion csp-contrailanalytics-vm.M8DLI0.central pointed to the salt master
2017-06-09 13:09:37 INFO     utils.core      RP: salt_master accepted keys are: ['csp-central-infravm.M8DLI0.central', 'csp-central-msvm.M8DLI0.central']
2017-06-09 13:09:47 ERROR    utils.core      key exchange did not go through by reactor for csp-contrailanalytics-vm
2017-06-09 13:09:47 INFO     utils.core      Pinging minion csp-contrailanalytics-vm.M8DLI0.central
2017-06-09 13:09:47 INFO     utils.core      timeout 5
2017-06-09 13:09:47 INFO     utils.core      calling test.ping on csp-contrailanalytics-vm.M8DLI0.central
2017-06-09 13:09:47 INFO     utils.core      timeout 10
2017-06-09 13:09:47 INFO     utils.core      calling test.ping on csp-contrailanalytics-vm.M8DLI0.central
2017-06-09 13:09:47 INFO     utils.core      timeout 15
2017-06-09 13:09:47 INFO     utils.core      calling test.ping on csp-contrailanalytics-vm.M8DLI0.central
2017-06-09 13:09:47 INFO     utils.core      timeout 20
2017-06-09 13:09:47 INFO     utils.core      calling test.ping on csp-contrailanalytics-vm.M8DLI0.central
2017-06-09 13:09:47 INFO     utils.core      timeout 25
2017-06-09 13:09:47 INFO     utils.core      calling test.ping on csp-contrailanalytics-vm.M8DLI0.central
2017-06-09 13:09:47 INFO     utils.core      Ping to minion csp-contrailanalytics-vm.M8DLI0.central failed
2017-06-09 13:09:48 INFO     utils.core      setting up salt agent on csp-contrailanalytics-vm
2017-06-09 13:09:50 INFO     utils.core      Salt minion already installed on server csp-contrailanalytics-vm
2017-06-09 13:09:50 INFO     utils.core      Pointing minion to installer host
2017-06-09 13:09:57 INFO     utils.core      attaching to master 192.168.255.53
Solution:
  1. Verify that the deployment script is running on the installer virtual machine and on the analytics virtual machine.

  2. Execute the following commands:

    oot@cso-central-2:~#rm –rf /var/cache/salt*
    root@cso-central-2:~#sudo apt-get remove salt-minion
    root@cso-central-2:~#sudo apt-get purge salt-minion
Related Links: