Problem Note 69223: A Scenario Flow scorecard fails to run because of caslib permission errors in SAS® Visual Investigator
When the svi-vsd-service creates a tenant casLib, the sas.svi-vsd-service account and the sviusrs group have full access to the tenant casLib. If a published flow that has a scorecard is run and the scorecard services fails, the JobExecutionService retriggers the scorecard service's job. When this happens, the job runs as a sas.svi-scorecard, which does not have access to the tenant casLib, so the job fails.
Complete these steps to work around the problem:
- Log on to SAS® Environment Manager as user sasboot.
- Select Yes to Assume SuperUser authority.
- Click the data icon and then the Data Sources tab.
- Drop the tenant casLib.
- Log on to SAS Visual Investigator administration and start building a flow. This action triggers the creation of the tenant casLib.
- Log on to SAS® Studio.
- Copy the code from the Full Code tab in this note and update the cas server name and cas port.
- Run the code, and look for the following GRANT statements:
Origin Type Permission Identity Type Identity
Direct GRANT AlterCaslib User sas.svi-scorecard
Direct GRANT AlterCaslib Group sviusers
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
SAS System | SAS Intelligence and Investigation Management | Linux for x64 | 8.3.1 | | Viya | |
*
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.
Run this code in SAS Studio to determine granted permissions, which validate whether you have correctly worked around the issue.
options cashost="<your cas host>" casport=<your cas port>
cas;
proc cas;
accessControl.assumeRole /
adminRole="SuperUser";
run;
accessControl.listAcsData /
caslib="svi_default"
listType="Direct";
run;
Type: | Problem Note |
Priority: | high |
Date Modified: | 2022-06-07 15:39:37 |
Date Created: | 2022-05-24 15:53:41 |