SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 69036: An imported SAS® Anti-Money Laundering configuration can fail when an incorrect version of Python is called

DetailsHotfixAboutRate It

The  post-installation script ./amlcdd_multiTenant_config.sh -f amlcdd_multiTenant_config.properties -v main_vars.yml -w /sastemp/saswork might fail with the following error message:

fatal: [deployTarget]: FAILED! => {"changed": true, "cmd": "/opt/sas/spre/home/SASFoundation/misc/amlcoresrv/csCore/deploy_scripts/tasks/csCore_import_vi_configuration.sh......
...."msg": "non-zero return code", "rc": 1, "start": "2022-03-15 01:16:29.769935", "stderr": "Invalid JSON response body: {\"version\":1,\"id\":\"32x6z245-52c8-87f0-8beb-cb4691018415\",\"name\":\"Configuration Import\",\"description\":\"Configuration import job\"......

This problem occurs when the version of Python that is being called is not correct.

To work around this problem, run the following command from a command line:

sudo update-alternatives --config python

Then, select python3 from the list of Python versions that are available. Here is an example of what you see:

There are 2 programs which provide 'python'.
Selection Command
-----------------------------------------------
*+ 1 /usr/libexec/no-python
2 /usr/bin/python3
Select #2

After you select python3, re-run the post-installation scripts.

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Anti-Money LaunderingLinux for x648.3Viya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.