Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Fix connectivity issues in Ansible lesson #349

Merged
merged 4 commits into from
Dec 13, 2020
Merged

Fix connectivity issues in Ansible lesson #349

merged 4 commits into from
Dec 13, 2020

Conversation

Mierdin
Copy link
Member

@Mierdin Mierdin commented Dec 12, 2020

This fixes some long-standing issues in the Ansible lesson.

/cc @IPvSean

Banner SSH Timeout connecting to vQFX

This has been a known problem for some time. At the time the only known solution was coming in this PR: ansible/ansible#68184

However, as of today it's still not merged, and unclear if it would actually fix the problem. On a whim I did some additional googling and found this SO post, which mentions this could be caused by using the wrong ansible credential parameters. I changed this and it immediately and consistently fixed the problem. So this PR includes that fix.

Closes #304

Cumulus Connection Issue

Also started running into this:

TASK [template out cumulus configuration for free range routing] ************************************************************************
fatal: [cvx1]: UNREACHABLE! => changed=false 
  msg: |-
    Failed to connect to the host via ssh: Warning: Permanently added 'cvx1,10.101.158.199' (ECDSA) to the list of known hosts.
    Control socket connect(/home/antidote/.ansible/cp/10b222d3e0): Connection refused
    Failed to connect to new control master
  unreachable: true

This issue suggested some additional configuration options to ansible.cfg, which I added in the final stage. Other stages which include cumulus may want to borrow this section.

@nre-labs-preview
Copy link

I've constructed a preview of your change, and it is available at https://preview-xu59lec.nrelabs.io/

This is a fully-deployed version of the full NRE Labs site, so navigate to the lesson catalog to find your lesson.

Please note that this preview is only active for 12 hours

Preview Service Documentatation

Details

@Mierdin Mierdin merged commit 7b11121 into master Dec 13, 2020
@Mierdin Mierdin deleted the ansible-fixes branch December 13, 2020 19:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error reading SSH protocol banner in Ansible lesson
1 participant