Salt master not communicating with Aria Config after upgrading Salt from a version lower than 3006.x
search cancel

Salt master not communicating with Aria Config after upgrading Salt from a version lower than 3006.x

book

Article ID: 377161

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Jobs are not seen to be executing from the UI after upgrading your Salt version from a version lower than 3006 to a version greater than 3006. There was no upgrade performed on the master plugin or RaaS.

Environment

Aria Config 8.14.x+

SaltProject 3006+

Tanzu Salt 8.14+

SaltStack 3006+

Resolution

1. Confirm that the Salt master configuration does not have configuration options duplicated in multiple files. One way a user might do this is to run the following command and then scan the result for the same option to be specified in multiple files.

# egrep -v "^$|^\s?*#" /etc/salt/master /etc/salt/master.d/*.conf

2. If configuration settings are found in multiple files, then we recommend de-duplicating these and restarting the Salt master daemon. 

3. In the event, that your master plugin settings have not been updated in a while and you have upgraded Aria Config, then it may also be prudent to regenerate the master plugin settings with the following commands.

# /opt/saltstack/salt/extras-3.10/bin/sseapi-config --default-conf > /etc/salt/master.d/raas.conf.new
# /opt/saltstack/salt/extras-3.10/bin/sseapi-config --ext-modules > /etc/salt/master.d/eAPIMasterPaths.conf

4. Once the new files are generated you will need to merge the settings from /etc/salt/master.d/raas.conf into the new file and then overwrite the old file with the new one. You can do this by copying the new file over the old one.

5. Delete the keys from /etc/salt/pki/master/sseapi_key.p*

6. Delete the Salt master key from the UI

  1. This setting can found under the Administration -> Master Keys section of the UI

7. At the end of the above changes you will need to restart the Salt master daemon with systemctl stop salt-master && systemctl start salt-master