Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[devutils] skip ping action if ansible_host is missing #3143

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

yxieca
Copy link
Collaborator

@yxieca yxieca commented Mar 15, 2021

Summary:

Type of change

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

Approach

What is the motivation for this PR?

devutils will generate exception when ping'ing hosts that doesn't have ansible_host attribute.

How did you do it?

skip ping action for these hosts that don't have ansible_host attribute.

How did you verify/test it?

ping all hosts in an inventory contains hosts have no ansible_host attribute.

@yxieca yxieca requested a review from a team as a code owner March 15, 2021 20:44
@yxieca
Copy link
Collaborator Author

yxieca commented Mar 17, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yxieca yxieca merged commit d6330c8 into sonic-net:master Mar 18, 2021
@yxieca yxieca deleted the devutils branch March 18, 2021 05:52
vmittal-msft pushed a commit to vmittal-msft/sonic-mgmt that referenced this pull request Sep 28, 2021
Approach
What is the motivation for this PR?
devutils will generate exception when ping'ing hosts that doesn't have ansible_host attribute.

How did you do it?
skip ping action for these hosts that don't have ansible_host attribute.

How did you verify/test it?
ping all hosts in an inventory contains hosts have no ansible_host attribute.

Signed-off-by: Ying Xie <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants