How do I install custom Mistral actions for NSP Workflows?
Purpose
Perform this procedure to install custom Mistral actions created by Nokia Professional Services.
Before you start, the zip file containing the custom actions must be saved in a directory accessible to the root user. The zip file must follow Python directory packaging rules. The subdirectories in the zip file must be called actions and expressions.
This procedure must be performed after an upgrade or DR switchover on the NSP deployer host.
Note: The Mistral pods must be restarted for the custom actions to be applied in NSP Workflows. The restart will affect NSP Workflows operation.
If there are any files in /opt/nsp/volumes/nsp-mistral-data, they must be backed up to make them available for future use.
Note: release-ID in a file path has the following format:
R.r.p-rel.version
where
R.r.p is the NSP release, in the form MAJOR.minor.patch
version is a numeric value
Steps
1 |
Log in as the root or NSP admin user on the NSP deployer host. |
2 |
Open a console window. |
3 |
Enter the following: # cd /opt/nsp/NSP-CN-DEP-release-ID/NSP-CN-release-ID/tools/wfm/bin ↵ |
4 |
Perform one of the following:
where path is the absolute path of the zip file that contains the custom actions to install |
5 |
To restart the Mistral pods, enter the following: # ./custom-actions.bash --restart ↵ |
6 |
Close the console window. End of steps |