hello SAS Community,
I have version stable 2022.09 for SAS Viya. I am able to log in with my credentials to SAs Viya however when I open SAS Studio the compute context and any other context do not start for me as a user. I am not able to run any code in SAS Studio.
I am in SAs Admin Group and other administrators can load the compute context.
When looking into the logs of sas launcher pod on kubernetes, I see the following for my email value, which I deleted from below:
{"version":1,"timeStamp":"2022-10-25T09:14:42.168Z","level":"warn","source":"launcher","message":"Unable to validate the user my emailvalue s credential","properties":{"logger":"com.sas.launcher.oauth.OAuthService","thread":"https-jsse-nio-0.0.0.0-8080-exec-9","traceId":"44baa1aa23e78248","spanId":"44baa1aa23e78248","__session":"340fdffb-8cc0-4788-89e5-24c0a21b767f","username":"myemail"},"messageParameters":{"0":"myemailvalue"}}
{"version":1,"timeStamp":"2022-10-25T09:14:42.171Z","level":"error","source":"launcher","message":"com.sas.commons.rest.exceptions.ResourceException: Unable to determine a user","properties":{"logger":"com.sas.commons.rest.ExceptionLog","thread":"https-jsse-nio-0.0.0.0-8080-exec-9","traceId":"44baa1aa23e78248","spanId":"44baa1aa23e78248","__session":"340fdffb-8cc0-4788-89e5-24c0a21b767f","username":"myemailvalue"},"messageParameters":{"0":"com.sas.commons.rest.exceptions.ResourceException","1":"Unable to determine a user"}}
There are no errors in the logging of the compute pod.
In sas studio pod there is the following error:
ST /studio/sessions/3688e9d0-18eb-4be6-9adb-a047b806c45e/sassession","logger":"studio-commons/client/compute","caller":"compute/context.go:103"},"timeStamp":"2022-11-21T14:59:51.459974+00:00","message":"The compute session could not be created."}
I use authentication via SCIM and ADFS. When updating SAS Studio to SAS Studio Engineer I had a session open and since then I am not able to log in. What can be done to solve it?
Karolina
The best option would be to open a ticket with SAS Tech Support.
@touwen_k - Did your issue got fixed? I have a similar issue, When I tried to log in to SAS Viya without non-admin credentials SAS Studio is not working. @Sajid01 There are no credentials saved in the user interface, then to Environment Manager --> Domains. Do we need to change any other security settings?
Version details :
SAS Viya LTS 2020.09
The red X in a circle means that a compute server could not be started for that context. Usually this is due to the compute server container not being present on the node the compute server pod was placed and downloading the container took longer than the compute service would allow (usually 60 seconds).
If you have some of your nodes labeled with the "workload.sas.com/class=compute" label, the container is pre-pulled down to the node for you so you would not have this problem. If you do not have the label on your nodes, you would just need to retry the context until the container is downloaded and able to run.
@doug_sas But this works when I logged in with SAS administrator access. Whenever I click on " No " as shown below the screenshot then only I'm getting this error.
What can I do if I'm not an admin?
@xamlrak wrote:
What can I do if I'm not an admin?
Ask your SAS admin for help. It's part of their job to assist J. Random User.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.