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

[action] [PR:13277] Fix convert_and_restore_config_db_to_ipv6_only reload config failure #13297

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

mssonicbld
Copy link
Collaborator

Fix convert_and_restore_config_db_to_ipv6_only reload config failure.

Why I did it

convert_and_restore_config_db_to_ipv6_only fixture will delete ipv4 mgmt address by config reload.
If mgmt interface restart before config reload, the duthost class will lost connection to device and throw unreachable exception.

How I did it

Ignore config reload AnsibleConnectionFailure exception.

How to verify it

Pass all test case.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Fix convert_and_restore_config_db_to_ipv6_only reload config failure.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

…onic-net#13277)

Fix convert_and_restore_config_db_to_ipv6_only reload config failure.

Why I did it
convert_and_restore_config_db_to_ipv6_only fixture will delete ipv4 mgmt address by config reload.
If mgmt interface restart before config reload, the duthost class will lost connection to device and throw unreachable exception.

How I did it
Ignore config reload AnsibleConnectionFailure exception.

How to verify it
Pass all test case.

Description for the changelog
Fix convert_and_restore_config_db_to_ipv6_only reload config failure.

co-authorized by: [email protected]
@mssonicbld
Copy link
Collaborator Author

Original PR: #13277

@mssonicbld mssonicbld merged commit 356437a into sonic-net:202405 Jun 14, 2024
14 checks passed
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