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
Fixes for the N3500 platform that uses the A8 image #36261
Conversation
@trishnaguha Please prioritize this PR as these commits need to make it into 2.5 |
@@ -236,6 +236,9 @@ def main(): | |||
cmds = get_commands(proposed, existing, state, module) | |||
|
|||
if cmds: | |||
# On N35 A8 images, some features return a yes/no prompt | |||
# on enablement or disablement. Bypass using terminal dont-ask | |||
cmds.insert(0, 'terminal dont-ask') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure to test these changes across our platform matrix.
CI failure in unit tests: https://app.shippable.com/github/ansible/ansible/runs/54923/3/tests |
@rahushen Thanks for the PR. Please confirm that this PR has been tested across the platforms. We are good to merge after you fix the unittest failure. |
* fix nxos_l3_interface tests as n35 doesn't support ipv6 * add terminal dont-ask to nxos_feature and nxos_lldp * put interfaces in L2 mode for N35 * fix nxos_feature unit-tests (cherry picked from commit e24c547)
* Fix nxos_system tests (#36201) * Fix nxos_system tests * Add debug connection plugin info * Move sanity test under common (cherry picked from commit 5b5d246) * Fixes for the N3500 platform that uses the A8 image (#36261) * fix nxos_l3_interface tests as n35 doesn't support ipv6 * add terminal dont-ask to nxos_feature and nxos_lldp * put interfaces in L2 mode for N35 * fix nxos_feature unit-tests (cherry picked from commit e24c547)
cherry-picked to stable-2.5 |
SUMMARY
Some of the newer module added in Ansible 2.5 were failing on the N35 platform. This PR addresses those failures.
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION