I would like to know the command you used to start the playbook. Also, I would like to review your inventory file. What is your Ansible / Python version?
ansible version: 2.2.1.0
command I used:
ansible-playbook -I host_local system-assessment.yml
here is my inventory file in the attachment.
Hi Alex,
Have you had a chance to look at the log and the host_local file. Could ypu please help me on this. Thanks!!
Hello @AmitSri,
I have checked the file. This is correct (a default one) if you are deploying on a single machine, from the ansible on the machine itself.
Question, do you have license for ESM (Event Stream Manager)? I see that it tries to deploy
.... # The viprESM host group contains elements of SAS Event Stream Manager. [viprESM] deployTarget .... viprESM
On my playbook I had this, without a license/ appropriate repository, hence my deployment was failing. I asked SAS Technical Support and confirmed this is a defect on the playbook. The solution for that is to get a new playbook or to do some manual modifications by yourself (guided by SAS Technical Support).
Anyway, this is just my experience, it seems a good idea to hold on for @alexal intervention, since he is SAS employee and has more experience with Viya.
I saw your track in the EU queue and I've checked your deployment log there. I've found two issues:
1. You should never use your personal account to deploy SAS Viya software. You have to set up the user account that deploys the software. The user account that is used to configure and start the deployment process has the following requirements:
2. The second problem is with hostname_fqdn. You must set up your server so SAS Viya can see a valid FQDN. If the domain name is not there SAS Viya, especially RabbitMQ, will fail to start.
hostname -f
hostnamectl status
The Expected output should be a FQDN. The long name needs to resolve to a to a valid FQDN servername.doman.name for example.
This Red Hat document explains how to change your hostname to a FQDN
It is important to note Red Hat recommends that both static and transient names match the fully-qualified domain name (FQDN) used for the machine in DNS, such as host.example.com. It is also recommended that the static and transient names consists only of 7 bit ASCII lower-case characters, no spaces or dots, and limits itself to the format allowed for DNS domain name labels, even though this is not a strict requirement. Older specifications do not permit the underscore, and so their use is not recommended.
Well, first, remember you will need to go yo tour virtual environment (work/deployment) with the commands as on the deployment guide.
Something like:
source /root/work/deployment/bin/activate
Second, if you are running the viya playbook, it would be similar to:
ansible-playbook -i host_local site.yml --tags install ansible-playbook -i host_local site.yml --tags config ... etc
So calling the site.yml
If you are getting that error even after that, Iw ould suggest to contact SAS Technical Support, perhaps you would need a replacement of your playbook. That yml file does not ring a bell on me (and I just tried to find it)
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.