SSH connection to supplemental ipa VM takes minutes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Harry Rybacki |
Bug Description
I'm seing SSH connection issues to the ipa VM when deploying quickstart with FreeIPA supplemental node:
TASK [freeipa-setup : Create FreeIPA deployment script] *******
task path: /home/martin/
Monday 21 August 2017 13:16:09 +0200 (0:00:00.134) 0:06:54.713 *********
changed: [supplemental] => {"changed": true, "checksum": "a086b17ef53ed3
59a", "mode": "0744", "owner": "stack", "secontext": "unconfined_
: 1000}
TASK [freeipa-setup : Deploy FreeIPA] *******
task path: /home/martin/
Monday 21 August 2017 13:36:04 +0200 (0:19:54.773) 0:26:49.486 *********
<supplemental> ssh_retry: attempt: 0, caught exception(Timeout (12s) waiting for privilege escalation prompt: ) from cmd (/bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-
huzijngzodh; /usr/bin/
<supplemental> ssh_retry: attempt: 1, caught exception(Timeout (12s) waiting for privilege escalation prompt: ) from cmd (/bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-
huzijngzodh; /usr/bin/
<supplemental> ssh_retry: attempt: 2, caught exception(Timeout (12s) waiting for privilege escalation prompt: ) from cmd (/bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-
huzijngzodh; /usr/bin/
fatal: [supplemental]: FAILED! => {"failed": true, "msg": "Timeout (12s) waiting for privilege escalation prompt: "}
The "Create FreeIPA deployment script" task takes 20 min (!!) to render a file on the ipa VM, then the following task fails when trying to connect to the VM via ssh.
From the node where I'm running quickstart it takes around 3 minutes to establish an ssh connection vm with:
ssh -F /home/martin/
I used the following command to deploy:
bash ./quickstart.sh -w ~/.quickstart-gouda --teardown all --no-clone --clean --release master-tripleo-ci -e undercloud_
Changed in tripleo: | |
importance: | Undecided → Medium |
milestone: | none → queens-1 |
Changed in tripleo: | |
milestone: | queens-1 → queens-2 |
Changed in tripleo: | |
assignee: | Harry Rybacki (hrybacki-h) → Juan Antonio Osorio Robles (juan-osorio-robles) |
Changed in tripleo: | |
assignee: | Juan Antonio Osorio Robles (juan-osorio-robles) → Harry Rybacki (hrybacki-h) |
Changed in tripleo: | |
milestone: | queens-2 → queens-3 |
I found this is a DNS issue:
[root@localhost ~]# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 10.11.5.19
search localdomain
After I changed the resolver to 192.168.23.1 (the virthost address) it's all speedy as it should be.