Online
gwootton
SAS Super FREQ
Member since
03-28-2016
- 1,484 Posts
- 226 Likes Given
- 284 Solutions
- 571 Likes Received
-
Latest posts by gwootton
Subject Views Posted 6 2 hours ago 49 yesterday 357 2 weeks ago 323 2 weeks ago 230 2 weeks ago 177 2 weeks ago 528 2 weeks ago 751 3 weeks ago 815 3 weeks ago 838 3 weeks ago -
Activity Feed for gwootton
- Posted Re: Help running sas-viya batch job submissions on Administration and Deployment. 2 hours ago
- Posted Re: Help running sas-viya batch job submissions on Administration and Deployment. yesterday
- Got a Like for Re: Help running sas-viya batch job submissions. Friday
- Posted Re: SASInformationRetrievalStudioforSAS is not up on Administration and Deployment. 2 weeks ago
- Posted Re: Help running sas-viya batch job submissions on Administration and Deployment. 2 weeks ago
- Posted Re: Viya FLOW job with warnings return code on SAS Viya. 2 weeks ago
- Posted Re: Request for Assistance with Enabling BigQuery Connector in SAS 9.4 on Administration and Deployment. 2 weeks ago
- Posted Re: Where to find the .nmon log file on Administration and Deployment. 2 weeks ago
- Posted Re: SAS Logs from LSF Scheduled jobs on Administration and Deployment. 3 weeks ago
- Posted Re: SAS Logs from LSF Scheduled jobs on Administration and Deployment. 3 weeks ago
- Posted Re: SAS Logs from LSF Scheduled jobs on Administration and Deployment. 3 weeks ago
- Posted Re: "sas-files" pod fail with OOM in Viya 4 on Administration and Deployment. 3 weeks ago
- Got a Like for Re: MS Sql connection in SAS Viya4. 4 weeks ago
- Posted Re: sas-airflow-provider TCP keep alive on Administration and Deployment. a month ago
- Posted Re: sas-airflow-provider TCP keep alive on Administration and Deployment. a month ago
- Posted Re: PostGres tables on SASWebInfrastructurePlatformDataServer on Administration and Deployment. 03-07-2025 01:19 PM
- Posted Re: Oauth setup for SAS VIYA on Administration and Deployment. 03-07-2025 10:15 AM
- Liked Re: sas-airflow-provider OAuth for misul. 03-07-2025 10:15 AM
- Got a Like for Re: SCHEDULED JOB TIMEOUT. 03-07-2025 04:26 AM
- Got a Like for Re: SCHEDULED JOB TIMEOUT. 03-07-2025 04:23 AM
-
Posts I Liked
Subject Likes Author Latest Post 2 2 2 2 2 -
My Liked Posts
Subject Likes Posted 1 2 weeks ago 1 08-28-2024 09:38 AM 1 04-03-2024 09:04 AM 1 04-23-2024 06:29 PM 1 09-19-2023 02:12 PM -
My Library Contributions
Subject Likes Author Latest Post 2
02-26-2025
11:25 AM
I think this can happen if the authenticating user is a member of enough groups to cause your oauth token to breach the maximum header size configured for Java services (server.max-http-header-size). Are you able to log in to Viya as sasboot successfully? If so, under Env Mgr > Configuration > Definitions locate the "server" definition and see if you have an existing definition for the Global service. If so, edit that definition and if not, create a new configuration, selecting the service Global. Then add a property called "max-http-header-size" with a value of "32768", and save the configuration. If you aren't able to log in to Viya you can add this configuration in the SAS Configuration Server directly with the command: kubectl -n namespace exec -it sas-rabbitmq-server-0 -c sas-rabbitmq-server -- /opt/sas/viya/home/bin/sas-bootstrap-config kv write config/application/server/max-http-header-size 32768 --force You may need to restart your Viya Java-based services to pick up this change. You can get a list of those services using: kubectl -n namespace get deploy -o jsonpath='{range .items[?(@.spec.template.metadata.annotations.sas\.com/kustomize-base=="spring")]}{.metadata.name}{"\n"}{end}'
... View more
02-26-2025
11:02 AM
I don't think your described use case is part of the purpose of a group-managed service account, so I wouldn't expect such a feature to be added. If you want multiple users to be able to edit the code you'd want to store the code (the .sas file) in a place where those individual users can edit it, rather than having them edit the code as the service account. When you use SAS Studio's "Deploy as Job" function, this creates a jobRequest and jobDefinition object, with the jobDefinition containing the code from the program you chose to deploy as a job, and the jobRequest referencing that jobDefinition. That job definition is not stored in SAS Content. The default rules allow non-administrators update permission only on jobDefinitions they created. The "Redeploy job" function would update that job definition with any changes to the code, so this could only be done by the user who originally deployed the job. If you don't use the Deploy as Job function and instead use the Create Job Definition function, this gives you the option to save the deployed job in a given path in SAS Content, so additional permissions can be conveyed based on the permissions set on the path in SAS Content where the job definition is saved. After doing this, you can use the "Schedule job" option on the job definition to create a job request linked to that job definition. In this workflow, because the jobDefinition is stored in SAS Content, permissions can be applied based on the storage location and other users could edit it if appropriate permissions are set there.
... View more
02-25-2025
03:10 PM
You cannot use a group managed service account to perform actions in SAS Studio unless you logged on to Viya as the service account, the group-managed service account functionality only allows users to run jobs as the service account and see the job execution history of those jobs run by the service account. One option would be to store the code being executed in SAS Content and then having the deployed job only be a FILENAME statement using the FILESRVC access method pointing to the code in SAS Content followed by an %include of that fileref. This would then allow the code to be modified in SAS Content without requiring it be redeployed, and modification permissions on the code path could be passed to multiple users or groups.
... View more
02-25-2025
02:46 PM
This message is saying that the TLS communication failed, but doesn't say why. We should look for additional messages for context, you may want to check the _console log files as this would capture any errors written to stderr/stdout that aren't captured in the dated service logs. Usually, TLS failures are the result of the certificate not matching the hostname or a lack of a chain of trust. Assuming the issue is one of those I would check the certificate you are providing in the SSLCERTLOC contains the hostname for the server in the Subject Alternative Names field: openssl x509 -in <path to cert> -text -noout | grep Alternative -A1 And confirm the certificate's issuer(s) (or the certificate itself in the case of a self-signed cert) are in the SAS trust store for all SASHome paths. (<SASHome>/SASSecurityCertificateFramework/1.1/cacerts/trustedcerts.pem). Issuer of your cert: openssl x509 -in <path to cert> -text -noout | grep Issuer Contents of your SAS trust store (each cert and its issuer): <SASHome>/SASPrivateJavaRuntimeEnvironment/9.4/jre/bin/keytool -printcert -file <SASHome>/SASSecurityCertificateFramework/1.1/cacerts/trustedcerts.pem | grep -E '(Owner:|Issuer:)'
... View more
02-25-2025
02:34 PM
1 Like
I'm not clear on what exactly you are trying to do, but the METADATA_SETASSN function is passed an two URIs, that of the object whose association is being modified, and the object being associated. It is additionally passed the name of the association and a modification (append, merge, modify, remove or replace). So, if I had an object "Object A" associated with a single object "Object B" through association "Assocation1", and I wanted to replace this association to "Object B" with one to "Object C" I could use METADATA_SETASSN with the REPLACE or MODIFY mod: metadata_setassn(object-a-uri,"Assocation1","REPLACE",object-c-uri); This replaces the association1 to object b with an assocation1 to object c. If I wanted to retain the object b association I could use APPEND or MERGE to add an association to object c. If I have multiple objects associated with object A through association1 and I want to replace B with C and leave the rest, I would use a REMOVE using the object-b-uri and APPEND or MERGE with object-c-uri, or I could use REPLACE and pass all the existing URIs except object-b-uri, instead adding the object-c-uri.
... View more
02-25-2025
01:33 PM
The sas-cas-operator is an operator, which is responsible for standing up the CAS server pod(s) based on the provided definition in the casdeployment resource object. We have operators for other services that work similarly. The sas-cas-control pod is a service pod that interacts with the CAS server after it has started, translating REST requests made to the service into CAS server instructions.
... View more
02-20-2025
05:20 PM
The syntax looks right to me, assuming you are using Basic authentication and not a Personal Access Token, in which case you would not set a User it looks like: https://cdn.cdata.com/help/LKJ/jdbc/pg_connectionj.htm
... View more
02-20-2025
04:50 PM
In that case, I would suspect the issue to be with the authentication option values themselves. Are you able to log in to databricks with the 'client-id' and 'Token' values outside of SAS?
... View more
02-20-2025
01:52 PM
You are receiving a response from the server so this is not an issue of the incorrect port, I believe the driver assumes https/port 443. The response you are receiving is a 401 unauthorized, so appears to be an issue with your authentication options. If you are wrapping your user and token in single quotes you may wish to try without those.
... View more
02-18-2025
09:38 AM
1 Like
This error is saying that the engine is adding a connection property to your url called "useragententry" which the driver is rejecting as invalid. With the cdata databricks driver if you specify the URL directly, you need to use the form: jdbc:databricks:Server= (no :// in the URL) This is probably whats causing the engine to add options for a different driver.
... View more
02-14-2025
11:53 AM
1 Like
If you have FIPS openssl on your host you may need to add the -encryptfips option to your object spawner's usermods. For example in ObjectSpawner_usermods.sh adding: USERMODS="$USERMODS -encryptfips "
... View more
02-10-2025
04:50 PM
No, this is a staging location as part of the deploy web applications process, they are not being used outside of that process. As I understand it when you run the "Build Web Applications" task, the WAR/EAR files are generated into Web/Staging, and in the "Deploy Web Applications" the web app servers are stopped, the WAR/EAR files are extracted to Web/Staging/exploded then those extracted files are copied to SASServerX_Y/sas_webapps, and then the web app servers are started again.
... View more
02-10-2025
02:27 PM
This "platformpws" path in the Staging/exploded gets populated during the process of building and deploying the platform web services web application. You can delete the whole platformpws directory in there assuming you are not currently performing a Deploy Web Applications step in SAS Deployment Manager, which copies the files from the staging location to the SASServer14_1/sas_webapps path. The next time you run the Deploy Web Applications task it will be recreated.
... View more
02-06-2025
04:54 PM
1 Like
LSF would use either. Ideally, this information would be in DNS, but you can provide it to /etc/hosts which is read when performing lookups as well. If you want this information to only be available to LSF, you can use the LSF hosts file. What is needed is for LSF to be able to resolve the IP address making the request back to a configured LSF client.
... View more
02-06-2025
04:49 PM
Documentation on the use of Cert-Manager as the Viya certificate generator instead of the default OpenSSL can be found here: Configuring the Cert-Manager Certificate Generator https://go.documentation.sas.com/doc/en/sasadmincdc/v_060/calencryptmotion/n1xdqv1sezyrahn17erzcunxwix9.htm#n140u7g1uy74ern1o5cvdi87dtrb If you're wanting to use Cert-Manager for a provisional ingress certificate, see the README.md in $deploy/sas-bases/examples/security under "Using the cert-manager Certificate Generator to Generate the Ingress Controller Certificate".
... View more