You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
A Loopback Routing Tag field should be present in the REST POST sent to the switch, even if the value is an empty string ("").
Actual Behavior
The Loopback Routing Tag field is not present during VRF creation, which causes later (manual) edits of the VRF in NDFC to push a config-profile with unresolved tag parameter. The issue, on Cisco's side, is being tracked with CSCwb74982. However, it would be good to ensure that all required parameters are present to avoid possibly similar issues in the future when a combination of Ansible and GUI (NDFC) are used.
Steps to Reproduce
Run the above playbook, or similar
After the VRF is created, in DCNM/NDFC 12.0.(2f) do the following
Click on Topology in the NDFC sidebar
Double-click on fabric f1
Double-click on VRFs
Double-click on VRF v1
Right-click on a device and select "Edit Attachment"
Click the slider to change the attachment state from Detach to Attach
Enter 111 into the Loopback Id field
Enter 1.2.3.4 into the Loopback IPv4 Address
The other fields do not matter and can be ignored for the purpose of this reproduce
Click Save
Right-click on the device, and select Preview
In the Pending Config column, click the config (should say '36 lines')
Observe that the loopback config looks as follows
interface loopback111
vrf member v1
ip address 1.2.3.4/32 tag $$tag$$
If you try to Deploy this above config, NDFC will return the following error.
CLI command 'refresh profile v1 v1_new overwrite' failed with following error:Delivery failed with message:ERROR: Cannot refresh to parameterized destination profile
Looking at the Detailed History for this error, it occurred when the following CLI was attempted:
refresh profile v1 v1_new overwrite
Manually issuing the above (on the switch) produces the same error.
If the config-profile is manually edited to replace $$tag$$ with '12345', the command succeeds.
References
The text was updated successfully, but these errors were encountered:
Community Note
Ansible Version and collection version
DCNM version
Affected module(s)
Ansible Playbook
Debug Output
Debug Output: dcnm_vrf - Omission of Loopback Routing Tag during VRF creation causes later issue when editing VRF in NDFC
Expected Behavior
A Loopback Routing Tag field should be present in the REST POST sent to the switch, even if the value is an empty string ("").
Actual Behavior
The Loopback Routing Tag field is not present during VRF creation, which causes later (manual) edits of the VRF in NDFC to push a config-profile with unresolved tag parameter. The issue, on Cisco's side, is being tracked with CSCwb74982. However, it would be good to ensure that all required parameters are present to avoid possibly similar issues in the future when a combination of Ansible and GUI (NDFC) are used.
Steps to Reproduce
If you try to Deploy this above config, NDFC will return the following error.
Looking at the Detailed History for this error, it occurred when the following CLI was attempted:
Manually issuing the above (on the switch) produces the same error.
If the config-profile is manually edited to replace$$tag$$ with '12345', the command succeeds.
References
The text was updated successfully, but these errors were encountered: