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

can't create a vrf in NDFC #239

Open
sissi48 opened this issue Aug 7, 2023 · 2 comments
Open

can't create a vrf in NDFC #239

sissi48 opened this issue Aug 7, 2023 · 2 comments
Labels
question Further information is requested

Comments

@sissi48
Copy link

sissi48 commented Aug 7, 2023

Hello,
I can't create a vrf on ndfc:

- name: Create VRF 
  cisco.dcnm.dcnm_vrf:
    fabric: "{{ Fabric }}"
    config:
    - vrf_name: "{{ vrf_name }}"
      vrf_id: "{{ vrf_id | int }}"
      vlan_id: "{{ vlan_id | int }}"

I have this error:
"changed": false,
"module_stderr": "list indices must be integers or slices, not str",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"

I am using the latest version of the module:
cisco.dcnm 3.3.1

Version NDFC: 12.1.2e

Regards,

@praveenramoorthy
Copy link
Collaborator

@sissi48 Thanks for raising this SR. Will check and fix this issue.

@praveenramoorthy
Copy link
Collaborator

@sissi48 I tried to recreate this issue with the same playbook in my setup without any success. Logs for these run can be found in this gist (https://gist.github.com/praveenramoorthy/944437bacf55bf8c473994143d762481). May be I am missing something. Can you please share the playbook run with logs? You need to run your playbook with "-vvvv" option for this.

@dsx1123 dsx1123 added the question Further information is requested label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants