Failed to install RHMAP 4.5 to OCP that has multiple nodes
Issue
- Failed to install RHMAP.
# cd /opt/rhmap/4.5/rhmap-installer
# ansible-playbook -i /root/multi-node-example playbooks/core.yml -vv
TASK [login : Login as user using the OpenShift command line tool] ********************************************************************
task path: /opt/rhmap/4.5/rhmap-installer/roles/login/tasks/main.yml:14
fatal: [rhmap-core2.example.com]: FAILED! => {
"changed": true,
"cmd": [
"oc",
"login",
"--username=admin",
"--password=password"
],
"delta": "0:00:00.279003",
"end": "2017-10-19 18:58:15.970796",
"failed": true,
"rc": 1,
"start": "2017-10-19 18:58:15.691793"
}
STDERR:
error: A server URL must be specified
fatal: [rhmap-core3.example.com]: FAILED! => {
"changed": true,
"cmd": [
"oc",
"login",
"--username=admin",
"--password=password"
],
"delta": "0:00:00.318279",
"end": "2017-10-19 18:58:15.994869",
"failed": true,
"rc": 1,
"start": "2017-10-19 18:58:15.676590"
}
STDERR:
error: A server URL must be specified
fatal: [rhmap-core1.example.com]: FAILED! => {
"changed": true,
"cmd": [
"oc",
"login",
"--username=admin",
"--password=password"
],
"delta": "0:00:00.328427",
"end": "2017-10-19 18:58:15.995915",
"failed": true,
"rc": 1,
"start": "2017-10-19 18:58:15.667488"
}
STDERR:
error: A server URL must be specified
PLAY RECAP ****************************************************************************************************************************
rhmap-core1.example.com : ok=2 changed=0 unreachable=0 failed=1
rhmap-core2.example.com : ok=2 changed=0 unreachable=0 failed=1
rhmap-core3.example.com : ok=2 changed=0 unreachable=0 failed=1
Environment
- Red Hat Mobile Application Platform 4.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
