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
Description
I'm using the output and dry-run/check option with the Cisco ACI collection. I then pass that the output file to the Nexus Dashboard Insights Pre-Change Validation (PCV) module (nd_pcv).
It appears that when the objects are to be deleted using the "state: absent" parameter, that resulting output is missing the a required parameter ("name") and is rejected by Nexus Dashboard.
Affected Module Name(s):
cisco.aci.aci_tenant
cisco.aci.aci_bd
(probably others...)
cisco.nd.nd_pcv
APIC version and APIC Platform
6.0(2h)
Collection versions
cisco.aci 2.6
cisco.nd 0.3
Output/ Error message
When removing/deleting a bridge domain the aci_bd, the output is missing the "name" attribute
The error from Nexus Dashboard Insights is a follows. The error message is 'ND Error 4011 (ERROR): Required attribute "name" missing for type "fvBD".' I have also seen the same problem when removing tenants using the aci_tenant module.
That when the "state: absent" parameter is used the output / check option that the resulting JSON code is valid to be taken into the Nexus Dashboard Insights Pre-Change Validation service. It appears that either the JSON code generated by the ACI collection should add the name parameter or the Nexus Dashboard Insights code should be modified to not expect the "name" parameter when the DN parameter is present.
Actual Behavior
Nexus Dashboard rejects the request to create a new PCV analysis job as above.
Issue will be resolved in new version of NDI where the output created by the ansible collection is sufficient and the identifiers are not required. Decided to not make changes to the ansible collection, because the output generated is valid ACI config.
Community Note
Description
I'm using the output and dry-run/check option with the Cisco ACI collection. I then pass that the output file to the Nexus Dashboard Insights Pre-Change Validation (PCV) module (nd_pcv).
It appears that when the objects are to be deleted using the "state: absent" parameter, that resulting output is missing the a required parameter ("name") and is rejected by Nexus Dashboard.
Affected Module Name(s):
cisco.aci.aci_tenant
cisco.aci.aci_bd
(probably others...)
cisco.nd.nd_pcv
APIC version and APIC Platform
Collection versions
Output/ Error message
When removing/deleting a bridge domain the aci_bd, the output is missing the "name" attribute
The error from Nexus Dashboard Insights is a follows. The error message is 'ND Error 4011 (ERROR): Required attribute "name" missing for type "fvBD".' I have also seen the same problem when removing tenants using the aci_tenant module.
Expected Behavior
That when the "state: absent" parameter is used the output / check option that the resulting JSON code is valid to be taken into the Nexus Dashboard Insights Pre-Change Validation service. It appears that either the JSON code generated by the ACI collection should add the name parameter or the Nexus Dashboard Insights code should be modified to not expect the "name" parameter when the DN parameter is present.
Actual Behavior
Nexus Dashboard rejects the request to create a new PCV analysis job as above.
Playbook tasks to Reproduce
Playbook are available (internally) here
https://wwwin-github.cisco.com/richwats/ansible-awx-aci-ndi-demo
The text was updated successfully, but these errors were encountered: