BookmarkSubscribeRSS Feed
manix
Calcite | Level 5

Hello,

when trying to restart the SAS services with a .yml script I can't pass the following step(I tried multiple times):

TASK [Rerun start SAS services if needed] ***********************************************************************************************
changed: [compute]

failed sas.jpg

 

I will provide the start.yml if necessary.

Thank you

4 REPLIES 4
manix
Calcite | Level 5

the sequence that gives the error is at the end of the start.yml file:

 

- name: Rerun start SAS services if needed
shell: /etc/init.d/sas-viya-all-services start
when: not ansible_check_mode and ((svas1 is defined and (svas1.stdout is search('Failed!') or svas1.stdout is search('timeout'))) or (svas2 is defined and (svas2.stdout is search('Failed!') or svas2.stdout is search('timeout'))))
register: svasall
until: svasall.stdout.find('Failed!') == -1 and svasall.stdout.find('timeout') == -1
retries: "{{svas_retry_count}}"
delay: "{{svas_delay_timer}}"

 

Could it be a timeout issue do i need to change some parameters?

 

michele_sas
SAS Employee

Hi @manix 

It looks like you are using SAS Viya ARK viya-services-start.yml to start services, is that right?
ansible-playbook viya-ark/playbooks/viya-mmsu/viya-services-start.yml

If you are getting stuck on TASK [Rerun start SAS services if needed] the issue is not likely the yml but is instead a problem with SAS Viya service(s).   
When having a problem starting SAS Viya 3.5 (or 3.4) services the knowledge article below is the gold standard for troubleshooting and resolving service start-up problems. 
SAS Support - Resolving SAS® Viya® 3.5 service start-up problems on Linux

As a next step I recommend going through the steps in that article. Starting with the step to stop all SAS Viya services and verify there are no stray processes.  Then the article will take you through the steps to start each of the infrastructure (core) services and validate each infrastructure (core) service before starting the next.   
It's important that you do each of the validation steps.  

There is a step in the article to "Check the Expiry Date of the SAS Viya Internal CA Certificate". If that shows you a Not After date that is less than a year from today, please as a next step contact SAS Technical Support for assistance. 

If you get through step 14 without any problems but still have a problem with the step "Start the Remaining SAS Viya Services" I also recommend that you contact SAS Technical Support for assistance. 




manix
Calcite | Level 5

Hello and thank you for your support.

All 14 points in the link you provided were executed succesfully till 

Start the Remaining SAS Viya Services where a lot of services failed (on all nodes) as you can see from the capture: Scrren error SAS 2026-04-22 141130.jpg

Also 

the Expiry Date of the SAS Viya Internal CA Certificate

 is 16 april 2027 so less than a year.

 

What should I do next? Contact SAS technical suppport?

 Thanks

michele_sas
SAS Employee

Hi @manix 

Yes, please open a case with SAS Technical Support and we can help.  The reason for the issue is the Vault intermediate CA certificate expires in less than one year.  There are steps to address the certificate issue however you must have already upgraded to the October 2024 (24w44) or later release of SAS Viya before you can perform those steps.  In the meantime, we can provide you with a temporary workaround.  Please contact SAS Technical Support for next steps.  You can reference our conversation here when doing so.  Contact SAS - Technical Support | SAS Support

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

Learn how to explore data assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 405 views
  • 1 like
  • 2 in conversation