TASK [consul-x64_redhat_linux_6-yum : Execute confirm consul can be accessed] *******************************************************************************************
task path: /opt/sas/deploy_sasvyt/sas_viya_playbook/roles/consul-x64_redhat_linux_6-yum/tasks/start.yml:75
fatal: [deployTarget]: FAILED! => {
"changed": true,
"cmd": [
"bash",
"-c",
"source /opt/sas/viya/config/consul.conf && /opt/sas/viya/home/bin/sas-bootstrap-config status leader"
],
"delta": "0:00:00.216537",
"end": "2019-12-18 13:51:37.255994",
"invocation": {
"module_args": {
"_raw_params": "bash -c 'source /opt/sas/viya/config/consul.conf && /opt/sas/viya/home/bin/sas-bootstrap-config status leader'",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2019-12-18 13:51:37.039457",
"stderr": "level=error command=\"status leader\" successful=false msg=\"Unable to status leader\" err=\"Get https://localhost:8501/v1/status/leader: dial tcp 127.0.0.1:8501: connect: connection refused\"\nERROR: Unable to determine the address of the Raft leader for the data center in which the Consul agent is running.",
"stderr_lines": [
"level=error command=\"status leader\" successful=false msg=\"Unable to status leader\" err=\"Get https://localhost:8501/v1/status/leader: dial tcp 127.0.0.1:8501: connect: connection refused\"",
"ERROR: Unable to determine the address of the Raft leader for the data center in which the Consul agent is running."
],
"stdout": "",
"stdout_lines": []
}
Anything known ?
It seems like Consul is down. Please show me the most recent log files from /opt/sas/viya/config/var/log/consul/default directory.
This is the log:
$ cat sas-consul_2019-12-18_14-26-34.log
==> Multiple private IPv4 addresses found. Please configure one with 'bind' and/or 'advertise'.
I'm using this statement in the inventory.ini file
deployTarget ansible_host=sasvytc01 ansible_user=svcsasvy1 ansible_ssh_private_key_file=~/.ssh/id_rsa consul_bind_adapter=bond0
but consul_bind_adapter Option is not documented in the deployment guide 3.5
Thanks for your response. You have to configure your network settings as described in this document.
If bond0 for example is defined mutliple , the Installation Fails with this error, regardless what is defined in host_vars directory.
Hi,
I have this same issue. What steps did you take to fix your issue?
Best regards,
Olli
When deploying Viya 3.5 with multiple network interface cards and/or multiple IP addresses you find this blog post by @RobCollum helpful.
And here is a link to the official documentation regarding this topic.
--Simon
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
@Gordhan - Have you looked at the links provided in this post?
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.