cisco.nxos icon indicating copy to clipboard operation
cisco.nxos copied to clipboard

added l3_peer_router functionality + documentation + tests

Open loganbest opened this issue 4 years ago • 13 comments

SUMMARY

VPC module was missing a simple flag to enabling/disabling Layer 3 Peer Router functionality. I pretty much duplicated exactly how peer_gw bool is implemented and tested on nexus 5k and 9k's in my environment.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

nxos_vpc

ADDITIONAL INFORMATION

loganbest avatar Jun 24 '21 00:06 loganbest

recheck

NilashishC avatar Jun 24 '21 03:06 NilashishC

recheck

NilashishC avatar Jun 25 '21 10:06 NilashishC

recheck

loganbest avatar Jun 26 '21 14:06 loganbest

I don't understand why that fails randomly but had a 100% successful run once

loganbest avatar Jun 27 '21 00:06 loganbest

@loganbest It is a CI infra issue on our end.

NilashishC avatar Jun 27 '21 08:06 NilashishC

recheck

NilashishC avatar Jun 27 '21 08:06 NilashishC

recheck

NilashishC avatar Jul 19 '21 15:07 NilashishC

@loganbest The integration tests are consistently failing for following test case:

  • https://github.com/ansible-collections/cisco.nxos/blob/main/tests/integration/targets/nxos_vpc/tests/common/sanity.yaml#L139-L144 (no layer3 peer-router\r\r\nERROR: Please enable peer-gateway before configuring this feature\r\n\rnxos-9kv-I5(config-vpc-domain)#)

NilashishC avatar Jul 22 '21 05:07 NilashishC

@NilashishC Do you have a link to which test is failing? the ansible/check is green and the only things I see failing in the non-voting integration tests are not related to my change it seems

loganbest avatar Jul 22 '21 18:07 loganbest

@loganbest The integration test jobs for NX-OS are set to non-voting because of random flakiness in our CI. You must have noticed that all the *-scenario03 jobs have failed. That is where the nxos_vpc target is tested.

Here's the job output log from one of the scenario03 jobs: https://ab9543f5173227672f5f-50546db36105ea883c1501741b816920.ssl.cf1.rackcdn.com/316/41b047d0c447157bfacf84280f7b5dfffe2569cd/check/ansible-test-network-integration-nxos-cli-python36-scenario03/4828e1b/job-output.txt

You'd have to grep for "failed=1".

I was also able to reproduce the issue by running the nxos_vpc test locally against NX-OS 7.0.3.I5.1 and 9.3.6.

NilashishC avatar Jul 23 '21 05:07 NilashishC

hi, is there any issue with this PR now?

Andersson007 avatar Nov 11 '21 09:11 Andersson007

hi, is there any issue with this PR now?

Yes, the issue I specified in my previous comment needs to be addressed before we can merge this PR.

NilashishC avatar Jan 13 '22 15:01 NilashishC

@NilashishC thanks for the info! @loganbest could you please take a look at https://github.com/ansible-collections/cisco.nxos/pull/316#issuecomment-885409786 ?

Andersson007 avatar Jan 17 '22 08:01 Andersson007

Build succeeded.

:heavy_check_mark: ansible-galaxy-importer SUCCESS in 4m 06s :heavy_check_mark: build-ansible-collection SUCCESS in 3m 20s :x: ansible-ee-integration-cisco-nxos-cli-python39-latest FAILURE in 2h 10m 02s (non-voting) :heavy_check_mark: ansible-tox-linters SUCCESS in 5m 38s

Closing this PR due to lack of activity.

NilashishC avatar Feb 07 '23 12:02 NilashishC