It is just a short name. I just want to install all sas viya platform locally.
When I log on oracle linux :
[vincent@PORTABLE-VINCENT ~]$
I didn't mentioned this short name anywhere.
Just this in inventory.ini :
deployTarget ansible_connection=local consul_bind_adapter=wlp2s0
Each machine in the deployment must have a fully qualified domain name (FQDN). RabbitMQ doesn't support short names.
Yes, sorry, it is mentioned in the documentation !
That's now OK, but the problem seems to be similar :
TASK [rabbitmq-x64_redhat_linux_6-yum : Execute Invoke cluster setup] ********** task path: /sas/install/sas_viya_playbook/roles/rabbitmq-x64_redhat_linux_6-yum/tasks/start.yml:12 Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <deployTarget> ESTABLISH LOCAL CONNECTION FOR USER: sas <deployTarget> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /tmp/.$USER.ansible/ansible-tmp-1549637105.69-190029422698519 `" && echo ansible-tmp-1549637105.69-190029422698519="` echo /tmp/.$USER.ansible/ansible-tmp-1549637105.69-190029422698519 `" ) && sleep 0' <deployTarget> PUT /tmp/tmp4wZbQh TO /tmp/.sas.ansible/ansible-tmp-1549637105.69-190029422698519/command.py <deployTarget> EXEC /bin/sh -c 'chmod u+x /tmp/.sas.ansible/ansible-tmp-1549637105.69-190029422698519/ /tmp/.sas.ansible/ansible-tmp-1549637105.69-190029422698519/command.py && sleep 0' <deployTarget> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-aowetfacuzaajqschtcuhnwgpgiuesli; /usr/bin/python /tmp/.sas.ansible/ansible-tmp-1549637105.69-190029422698519/command.py; rm -rf "/tmp/.sas.ansible/ansible-tmp-1549637105.69-190029422698519/" > /dev/null 2>&1'"'"' && sleep 0' fatal: [deployTarget]: FAILED! => { "changed": true, "cmd": [ "/opt/sas/viya/home/bin/setup_rabbit_cluster", "--hostlist", "sasviya.data2play.fr", "--home", "/opt/sas/viya/home", "--config", "/opt/sas/viya/config", "--service", "sas-viya-rabbitmq-server-default", "--logfile", "/tmp/sas_setup_rabbit_cluster.log" ], "delta": "0:00:16.248967", "end": "2019-02-08 15:45:22.227710", "invocation": { "module_args": { "_raw_params": "/opt/sas/viya/home/bin/setup_rabbit_cluster --hostlist 'sasviya.data2play.fr' --home /opt/sas/viya/home --config /opt/sas/viya/config --service sas-viya-rabbitmq-server-default --logfile /tmp/sas_setup_rabbit_cluster.log", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "warn": true } }, "msg": "non-zero return code", "rc": 3, "start": "2019-02-08 15:45:05.978743", "stderr": "", "stderr_lines": [], "stdout": "ven. févr. 8 15:45:06 CET 2019 setup_rabbit_cluster *************\nven. févr. 8 15:45:06 CET 2019 setup_rabbit_cluster Beginning SAS RabbitMQ clustering setup\nven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster SSL is true\nven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster CHECK_PORT is 5671\nven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster First host in list is sasviya.data2play.fr\nven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster First host shortname is sasviya\nven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster Primary Host is sasviya.data2play.fr\nven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster Primary Short Host is sasviya\nven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster My Host is sasviya.data2play.fr\nven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster I am the primary host\nven. févr. 8 15:45:06 CET 2019 setup_rabbit_cluster Copy generated Erlang shared secret to Rabbit.\nven. févr. 8 15:45:10 CET 2019 setup_rabbit_cluster Copying generated Erlang shared secret to Rabbit.\nven. févr. 8 15:45:10 CET 2019 setup_rabbit_cluster Starting sas-viya-rabbitmq-server-default\nven. févr. 8 15:45:22 CET 2019 setup_rabbit_cluster The RabbitMQ service sas-viya-rabbitmq-server-default could not be started.\nven. févr. 8 15:45:22 CET 2019 setup_rabbit_cluster Returned status was 1\nven. févr. 8 15:45:22 CET 2019 setup_rabbit_cluster Setup failed. Beware of independent Rabbit hosts running with different shared secrets.", "stdout_lines": [ "ven. févr. 8 15:45:06 CET 2019 setup_rabbit_cluster *************", "ven. févr. 8 15:45:06 CET 2019 setup_rabbit_cluster Beginning SAS RabbitMQ clustering setup", "ven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster SSL is true", "ven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster CHECK_PORT is 5671", "ven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster First host in list is sasviya.data2play.fr", "ven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster First host shortname is sasviya", "ven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster Primary Host is sasviya.data2play.fr", "ven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster Primary Short Host is sasviya", "ven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster My Host is sasviya.data2play.fr", "ven. févr. 8 15:45:06 CET 2019 (debug) setup_rabbit_cluster I am the primary host", "ven. févr. 8 15:45:06 CET 2019 setup_rabbit_cluster Copy generated Erlang shared secret to Rabbit.", "ven. févr. 8 15:45:10 CET 2019 setup_rabbit_cluster Copying generated Erlang shared secret to Rabbit.", "ven. févr. 8 15:45:10 CET 2019 setup_rabbit_cluster Starting sas-viya-rabbitmq-server-default", "ven. févr. 8 15:45:22 CET 2019 setup_rabbit_cluster The RabbitMQ service sas-viya-rabbitmq-server-default could not be started.", "ven. févr. 8 15:45:22 CET 2019 setup_rabbit_cluster Returned status was 1", "ven. févr. 8 15:45:22 CET 2019 setup_rabbit_cluster Setup failed. Beware of independent Rabbit hosts running with different shared secrets." ] } PLAY RECAP ********************************************************************* deployTarget : ok=300 changed=134 unreachable=0 failed=1 localhost : ok=15 changed=2 unreachable=0 failed=0
-bash-4.2$ hostname
sasviya
-bash-4.2$ hostname -s
sasviya
-bash-4.2$ hostname -f
sasviya.data2play.fr
I tried this, : https://communities.sas.com/t5/Administration-and-Deployment/SAS-Viya-3-4-Installation/m-p/505055/hi...
The service rabbitmq doesn't launch !
I would like to see the most recent files from /opt/sas/viya/config/var/log/rabbitmq-server/default directory.
It's OK now after a reboot ! This step is OK.
I think that the next error (at the end of intallation) is due to problem of memory. I wanted to use a laptop (good one), but I think that is not enough, I have to do this install on a cloud machine with much more memory.
Here the problem :
TASK [aavalidation-x64_redhat_linux_6-yum : Ensure sas-viya-analytics-validation-default service is started] *** task path: /sas/install/sas_viya_playbook/roles/aavalidation-x64_redhat_linux_6-yum/tasks/start.yml:2 Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <deployTarget> ESTABLISH LOCAL CONNECTION FOR USER: sas <deployTarget> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /tmp/.$USER.ansible/ansible-tmp-1549645042.46-142405781716937 `" && echo ansible-tmp-1549645042.46-142405781716937="` echo /tmp/.$USER.ansible/ansible-tmp-1549645042.46-142405781716937 `" ) && sleep 0' <deployTarget> PUT /tmp/tmpZ4VnqV TO /tmp/.sas.ansible/ansible-tmp-1549645042.46-142405781716937/systemd.py <deployTarget> EXEC /bin/sh -c 'chmod u+x /tmp/.sas.ansible/ansible-tmp-1549645042.46-142405781716937/ /tmp/.sas.ansible/ansible-tmp-1549645042.46-142405781716937/systemd.py && sleep 0' <deployTarget> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-hlelqbqioxbariwmpsvzqpizeobbmuqu; /usr/bin/python /tmp/.sas.ansible/ansible-tmp-1549645042.46-142405781716937/systemd.py; rm -rf "/tmp/.sas.ansible/ansible-tmp-1549645042.46-142405781716937/" > /dev/null 2>&1'"'"' && sleep 0' [WARNING]: The service (sas-viya-analytics-validation-default) is actually an init script but the system is managed by systemd fatal: [deployTarget]: FAILED! => { "changed": false, "invocation": { "module_args": { "daemon_reload": false, "enabled": null, "masked": null, "name": "sas-viya-analytics-validation-default", "no_block": false, "state": "started", "user": false } }, "msg": "Service is in unknown state", "status": {} } PLAY RECAP ********************************************************************* deployTarget : ok=673 changed=377 unreachable=0 failed=1 localhost : ok=15 changed=2 unreachable=0 failed=0
Hi Alexal,
I have the same issue with sas-cleanutils.
If I do:
ls -ld /sas_repos/repos/shipped/va/110/va-110-x64_redhat_linux_6-yum/repodata/repomd.xml
it returns:
-rw-rw-r--. 1 sas sas 2162 Oct 22 02:09 /sas_repos/repos/shipped/va/110/va-110-x64_redhat_linux_6-yum/repodata/repomd.xml
So the files seem to be there. I also redownloaded esm-110-x64_redhat_linux_6-yum, in case the download had got corrupted, but still the same issue.
Any ideas what I could try next?
Best regards,
Olli
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.