Re: [ansible-project] Problems with NXOS Modules in Ansible 2.2

2016-09-17 Thread Steven Carter
I submitted the error for nxos_portchannel and a similar error for 
nxos_command.

Thanks,

Steven.

On Friday, September 16, 2016 at 2:43:38 PM UTC-4, Peter Sprygada wrote:
>
> That looks like a bug in the module... would you mind filing an issue at 
> http://github.com/ansible/ansible-modules/core with this information so 
> we can track it?
>
> On Fri, Sep 16, 2016 at 12:38 PM, Steven Carter  > wrote:
>
>> When I run: 
>>
>>- name: Configure the port channels for the VPCs
>>   nxos_portchannel:
>> provider: "{{ cli }}"
>> group: 99
>> members: ['Ethernet1/1/1']
>> mode: 'active'
>> state: present
>> I get:
>>
>> An exception occurred during task execution. To see the full traceback, 
>> use -vvv. The error was: AttributeError: 'NetworkModule' object has no 
>> attribute 'configure'
>> fatal: [192.133.148.128]: FAILED! => {"changed": false, "failed": true, 
>> "module_stderr": "Traceback (most recent call last):\n  File 
>> \"/tmp/ansible_X4FZEp/ansible_module_nxos_portchannel.py\", line 733, in 
>> \nmain()\n  File 
>> \"/tmp/ansible_X4FZEp/ansible_module_nxos_portchannel.py\", line 714, in 
>> main\noutput = execute_config_command(cmds, module)\n  File 
>> \"/tmp/ansible_X4FZEp/ansible_module_nxos_portchannel.py\", line 328, in 
>> execute_config_command\noutput = 
>> module.configure(commands)\nAttributeError: 'NetworkModule' object has no 
>> attribute 'configure'\n", "module_stdout": "", "msg": "MODULE FAILURE"}
>>
>> It seems like I have some dependency problems, but I cannot figure them 
>> out.  Anyone have any ideas?
>>
>> Thanks,
>>
>> Steven.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to ansible-proje...@googlegroups.com .
>> To post to this group, send email to ansible...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/6a0b9804-4864-4a41-ac06-bba962bcb6ed%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/93c66993-96ba-4122-b804-24744092d876%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Problems with NXOS Modules in Ansible 2.2

2016-09-16 Thread Peter Sprygada
That looks like a bug in the module... would you mind filing an issue at
http://github.com/ansible/ansible-modules/core with this information so we
can track it?

On Fri, Sep 16, 2016 at 12:38 PM, Steven Carter  wrote:

> When I run:
>
>- name: Configure the port channels for the VPCs
>   nxos_portchannel:
> provider: "{{ cli }}"
> group: 99
> members: ['Ethernet1/1/1']
> mode: 'active'
> state: present
> I get:
>
> An exception occurred during task execution. To see the full traceback,
> use -vvv. The error was: AttributeError: 'NetworkModule' object has no
> attribute 'configure'
> fatal: [192.133.148.128]: FAILED! => {"changed": false, "failed": true,
> "module_stderr": "Traceback (most recent call last):\n  File
> \"/tmp/ansible_X4FZEp/ansible_module_nxos_portchannel.py\", line 733, in
> \nmain()\n  File 
> \"/tmp/ansible_X4FZEp/ansible_module_nxos_portchannel.py\",
> line 714, in main\noutput = execute_config_command(cmds, module)\n
>  File \"/tmp/ansible_X4FZEp/ansible_module_nxos_portchannel.py\", line
> 328, in execute_config_command\noutput = 
> module.configure(commands)\nAttributeError:
> 'NetworkModule' object has no attribute 'configure'\n", "module_stdout":
> "", "msg": "MODULE FAILURE"}
>
> It seems like I have some dependency problems, but I cannot figure them
> out.  Anyone have any ideas?
>
> Thanks,
>
> Steven.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/6a0b9804-4864-4a41-ac06-bba962bcb6ed%40googlegroups.
> com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEkdrMhsOn-YrnWQuxEvwO1Z2%2BEsMaLgPQs4A64Wk%3DzHxgYtTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.