In some cases, it may occur that the Salt master ends up calling modules from a previous version of Salt. This can be identified by running any command from the CLI of the Salt master such as, salt \* test.ping, and confirming whether you see warnings related to a previous version of Python, ie Python 3.6.
This can be further confirmed by checking the /etc/salt/master.d/raas.conf or /etc/salt/master.d/eAPIMasterPaths.conf file for references to /usr/lib/pythonX.X.
Salt 3006+
The upgrade was not performed cleanly, or the master plugin was not reinstalled properly with an updated configuration pointing to the new correct locations for additional modules.
You will need to remove any old versions of Salt from other Python environments that may be running and update the master plugin configuration to point to the correct locations for modules.