Hello, I got blocked with below error when I deploy SAS Viya3.5 with [ ansible-playbook site.yml ] command.
And I tried to this 3 ways to solve this, but didn't work.
1. After sudo su then enter command.
2. Do not sudo su and enter command.
3. Clear all fails with this [ sudo yum remove -y sas-* ] command and do it again.
Do you have any ideas?
Permission denied...?
Fail to create snapshot...?
Error:
TASK [create-snapshot : Create /sas/install/sas_viya_playbook/snapshot/1591944223] *************************************************************************************************************
fatal: [deployTarget -> localhost]: FAILED! => {"changed": false, "msg": "There was an issue creating /sas/install/sas_viya_playbook/snapshot/1591944223 as requested: [Errno 13] Permission denied: '/sas/install/sas_viya_playbook/snapshot/1591944223'", "path": "/sas/install/sas_viya_playbook/snapshot/1591944223", "state": "absent"}
NO MORE HOSTS LEFT *****************************************************************************************************************************************************************************
PLAY RECAP *************************************************************************************************************************************************************************************
deployTarget : ok=87 changed=5 unreachable=0 failed=1
localhost : ok=9 changed=0 unreachable=0 failed=0
Thank you for your hlep!
I checked my settings, configurations again and it worked!
Hello, Could you please confirm which permission provided to resolve issue
Here is reference of permission provided, but still facing same issue
drwxrwxrwx 2 sas sas 6 May 26 17:47 snapshot
Hello Team,
Please help to resolve following problem,
TASK [vault_gencerts : Create machine certificate] *********************************************************************************************************************
fatal: [cas-controller-1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: list object has no element 0\n\nThe error appears to be in '/sas/install/sas_viya_playbook/roles/vault_gencerts/tasks/main.yml': line 9, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create machine certificate\n ^ here\n"}
fatal: [cas-backup-1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: list object has no element 0\n\nThe error appears to be in '/sas/install/sas_viya_playbook/roles/vault_gencerts/tasks/main.yml': line 9, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create machine certificate\n ^ here\n"}
fatal: [cas-worker-1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: list object has no element 0\n\nThe error appears to be in '/sas/install/sas_viya_playbook/roles/vault_gencerts/tasks/main.yml': line 9, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create machine certificate\n ^ here\n"}
fatal: [cas-worker-2]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: list object has no element 0\n\nThe error appears to be in '/sas/install/sas_viya_playbook/roles/vault_gencerts/tasks/main.yml': line 9, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create machine certificate\n ^ here\n"}
fatal: [cas-microservices-1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: list object has no element 0\n\nThe error appears to be in '/sas/install/sas_viya_playbook/roles/vault_gencerts/tasks/main.yml': line 9, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create machine certificate\n ^ here\n"}
fatal: [cas-microservices-2]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: list object has no element 0\n\nThe error appears to be in '/sas/install/sas_viya_playbook/roles/vault_gencerts/tasks/main.yml': line 9, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create machine certificate\n ^ here\n"}
fatal: [cas-microservices-3]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: list object has no element 0\n\nThe error appears to be in '/sas/install/sas_viya_playbook/roles/vault_gencerts/tasks/main.yml': line 9, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create machine certificate\n ^ here\n"}
NO MORE HOSTS LEFT *****************************************************************************************************************************************************
PLAY RECAP *************************************************************************************************************************************************************
cas-backup-1 : ok=134 changed=22 unreachable=0 failed=1 skipped=303 rescued=0 ignored=0
cas-controller-1 : ok=165 changed=37 unreachable=0 failed=1 skipped=355 rescued=0 ignored=0
cas-microservices-1 : ok=106 changed=20 unreachable=0 failed=1 skipped=176 rescued=0 ignored=0
cas-microservices-2 : ok=106 changed=20 unreachable=0 failed=1 skipped=176 rescued=0 ignored=0
cas-microservices-3 : ok=106 changed=20 unreachable=0 failed=1 skipped=176 rescued=0 ignored=0
cas-worker-1 : ok=157 changed=22 unreachable=0 failed=1 skipped=935 rescued=0 ignored=0
cas-worker-2 : ok=157 changed=23 unreachable=0 failed=1 skipped=935 rescued=0 ignored=0
localhost : ok=11 changed=1 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0
fatal: [deployTarget]: FAILED! => {
"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'host_keys'\n\nThe error appears to be in '/sasdata/SASInstall/sas_viya_playbook/internal/validate.yml': line 80, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n when: host_connection_register is defined and host_connection_register.failed is defined and host_connection_register.failed\n - name: Add host connection results to stored data\n ^ here\n"
}
fatal: [cascontrollers]: FAILED! => {
"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'host_keys'\n\nThe error appears to be in '/sasdata/SASInstall/sas_viya_playbook/internal/validate.yml': line 80, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n when: host_connection_register is defined and host_connection_register.failed is defined and host_connection_register.failed\n - name: Add host connection results to stored data\n ^ here\n"
getting this error while running system-assessment.yml . please help me out
any luck with this issue?
Is this issue resolved? I'm having the same issue
I'm able to ssh in without any problem
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!