Skip to content

Fix fanout SSH authentication failed issue#8054

Merged
wangxin merged 1 commit intosonic-net:masterfrom
wangxin:fix-fanout-ssh-pass
Apr 18, 2023
Merged

Fix fanout SSH authentication failed issue#8054
wangxin merged 1 commit intosonic-net:masterfrom
wangxin:fix-fanout-ssh-pass

Conversation

@wangxin
Copy link
Copy Markdown
Collaborator

@wangxin wangxin commented Apr 17, 2023

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

PR #7778 added support of SSH to fanout switch using TACACS account. However, this PR introduced an issue. It mistakenly set SSH password to variable ansible_ssh_password instead of expected ansible_ssh_pass. Consequently, deploy fanout switch failed with authentication failure.

How did you do it?

This change corrected variable name ansible_ssh_password to ansible_ssh_pass in the touched files.

How did you verify/test it?

Run playbook fanout.yml.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

PR sonic-net#7778 added support of SSH to fanout switch using TACACS account.
However, this PR introduced an issue. It mistakenly set SSH password
to variable  `ansible_ssh_password` instead of expected `ansible_ssh_pass`.
Consequently, deploy fanout switch failed with authentication failure.

This change corrected variable name `ansible_ssh_password` to `ansible_ssh_pass`
in the touched files.

Signed-off-by: Xin Wang <xiwang5@microsoft.com>
@wangxin wangxin merged commit 061cfa2 into sonic-net:master Apr 18, 2023
wangxin added a commit that referenced this pull request Apr 20, 2023
What is the motivation for this PR?
PR #7778 added support of SSH to fanout switch using TACACS account. However, this PR introduced an issue. It mistakenly set SSH password to variable ansible_ssh_password instead of expected ansible_ssh_pass. Consequently, deploy fanout switch failed with authentication failure.

How did you do it?
This change corrected variable name ansible_ssh_password to ansible_ssh_pass in the touched files.

How did you verify/test it?
Run playbook fanout.yml.

Signed-off-by: Xin Wang <xiwang5@microsoft.com>
wangxin added a commit that referenced this pull request Apr 20, 2023
What is the motivation for this PR?
PR #7778 added support of SSH to fanout switch using TACACS account. However, this PR introduced an issue. It mistakenly set SSH password to variable ansible_ssh_password instead of expected ansible_ssh_pass. Consequently, deploy fanout switch failed with authentication failure.

How did you do it?
This change corrected variable name ansible_ssh_password to ansible_ssh_pass in the touched files.

How did you verify/test it?
Run playbook fanout.yml.

Signed-off-by: Xin Wang <xiwang5@microsoft.com>
@wangxin wangxin deleted the fix-fanout-ssh-pass branch July 12, 2023 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants