Updated the modules for MDS to most current release via github.
No success.

On Tuesday, June 9, 2020 at 3:39:21 PM UTC-4, Jesse Lyon wrote:
>
> It's in the OG post.
>
> I can't get it to post /w the code, so here we go.
> https://pastebin.com/ziMcfTSt
>
> On Tuesday, June 9, 2020 at 3:28:13 PM UTC-4, oxido A wrote:
>>
>> And What happens when you  -The admin execute :
>>
>> show zone status  ?? 
>>
>>
>>
>> El mar., 9 jun. 2020 a las 14:22, Jesse Lyon (<jess...@gmail.com>) 
>> escribió:
>>
>>> Alrighty
>>>
>>> So I've run into a bit of a head scratcher
>>>
>>> New MDS deployment, right? 
>>> all of 0 customers running across it so far,
>>> 2 admins poking at it, one being myself trying to get Ansible playbooks 
>>> to play nicely with this new pair.
>>>
>>> Playbook functions on old MDS's without an incident. that is one MINOR 
>>> code version behind (like .1a to .2)
>>>
>>> The error:  
>>> "msg": "zone has acquired lock on the switch for vsan 101. Hence cannot 
>>> procced.",
>>> some redactions have been made.
>>>
>>> playbook: 
>>> ---
>>> - hosts: sansw01
>>>   name: create zones
>>>   connection: network_cli
>>>   gather_facts: no
>>>   vars:
>>>     host: 10.20.64.38
>>>     ansible_ssh_pass: REDACTED
>>>     iusername: ansibleuser
>>>     ipassword: "{{ ansible_ssh_pass }}"
>>>     transport: cli
>>>     zoneset_name: "zs101"
>>>     devices:
>>>       - da: 'host01_875a'
>>>       - da: 'host02_88ba'
>>>       - da: 'host04_8742'
>>>
>>>     storage:
>>>       - dpure04_ct00
>>>       - dpure04_ct11
>>>     zone: []
>>>     zones: []
>>>     zone_names: []
>>>   tasks:
>>>     - name: import vars
>>>       include_vars: /etc/ansible/host_vars/10.20.64.111.yml
>>>
>>>     - name: zn creation
>>>       set_fact:
>>>         zone_names: "{{ zone_names + [dat.0.da~'_'~dat.1] }}"
>>>       loop: "{{ devices | product(storage) | list }}"
>>>       loop_control:
>>>         loop_var: dat
>>>
>>>     - name: set zones fact
>>>       set_fact:
>>>         zones: "{{ zones + zone }}"
>>>       loop: "{{ devices | product(storage) | list }}"
>>>       loop_control:
>>>         loop_var: dev
>>>       vars:
>>>         zone:
>>>           - name: "{{ dev.0.da~'_'~dev.1 }}"
>>>             members:
>>>               - {device-alias: '{{ dev.0.da }}'}
>>>               - {device-alias: '{{ dev.1 }}'}
>>>     - name: Zone it.
>>>       loop: "{{ zone_names | list }}"
>>>       loop_control:
>>>         index_var: zn
>>>       nxos_zone_zoneset:
>>>         zone_zoneset_details:
>>>           - vsan: 101
>>>             mode: enhanced
>>>             zone: "{{ zones }}"
>>>             zoneset:
>>>               - name: "{{ zoneset_name }}"
>>>                 members:
>>>                    - {name: "{{ zone_names[zn] }}"}
>>>
>>>
>>>
>>>
>>> switch details
>>> Software
>>>   BIOS:      version 3.7.0
>>>   kickstart: version 8.4(2)
>>>   system:    version 8.4(2)
>>>   BIOS compile time:       04/01/2019
>>>   kickstart image file is: bootflash:
>>> ///m9700-sf3ek9-kickstart-mz.8.4.2.bin
>>>   kickstart compile time:  4/30/2020 12:00:00 [04/29/2020 13:51:55]
>>>   system image file is:    bootflash:///m9700-sf3ek9-mz.8.4.2.bin
>>>   system compile time:     4/30/2020 12:00:00 [04/29/2020 15:18:16]
>>>
>>>
>>> Hardware
>>>   cisco MDS 9706 (6 Slot) Chassis ("Supervisor Module-3")
>>>   Intel(R) Xeon(R) CPU C5528 @ 2.13GHz with 8167828 kB of memory.
>>>   Processor Board ID JAE23250YDL
>>>
>>>   Device name: H1PDSANSW01
>>>   bootflash:    4059136 kB
>>>   slot0:              0 kB (expansion flash)
>>>
>>> Kernel uptime is 13 day(s), 2 hour(s), 23 minute(s), 11 second(s)
>>>
>>> Last reset
>>>   Reason: Reset due to install
>>>   System version: 8.2(1)
>>>   Service:
>>>
>>> plugin
>>>   Core Plugin, Ethernet Plugin
>>>
>>> Active Package(s)
>>>
>>> FC2 throttle is Enabled
>>> Zoneset activate sanity threshold value in bytes: 3000
>>> SWNAME(config)# sh zone status vsan 101
>>> VSAN: 101 default-zone: deny distribute: full Interop: default
>>>     mode: enhanced merge-control: allow
>>>     session:  none
>>>     single-session: disabled
>>>     hard-zoning: enabled broadcast: unsupported
>>>     smart-zoning: disabled
>>>     rscn-format: fabric-address
>>>     activation overwrite control: disabled
>>> Default zone:
>>>     qos: none broadcast: unsupported ronly: unsupported
>>> Full Zoning Database :
>>>     DB size: 260 bytes
>>>     Zonesets:  1 Zones: 1 Aliases: 0 Attribute-groups: 1
>>> Active Zoning Database :
>>>     DB Size: 68 bytes
>>>     Name: zs101 Zonesets: 1 Zones: 1
>>> Current Total Zone DB Usage: 328 / 4000000 bytes (0 % used)
>>> Pending (Session) DB size:
>>>     Full DB Copy size: 0 bytes
>>>     Active DB Copy size: 0 bytes
>>> SFC size: 0 / 4000000 bytes (0 % used)
>>> Status: Set zoning mode complete at 14:51:15 EDT Jun  9 2020
>>>
>>>
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/ansible-project/5fe1a858-53d6-46db-af6c-c4d27eca4e82o%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/ansible-project/5fe1a858-53d6-46db-af6c-c4d27eca4e82o%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> -- 
>>
>>      _             _
>>              //             \\
>>             /'               `\
>>            /,'     ..-..     `.\
>>           /,'   .''     ``.   `.\
>>          /,'   :   .---.   :   `.\
>>         I I   :  .'\   /`.  :   I I
>>         I b__:   . .`~'. .   :__d I
>>         I p~~:   . `._.' .   :~~q I
>>         I I   :   ./   \.   :   I I
>>          \`.   :   `---'   :   ,'/
>>           \`.   `..     ..'   ,'/
>>            \`.     ``~''     ,'/
>>             \`               '/    
>>              \\             //
>>               ~             ~ 
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0d4dd8e6-b54a-4a68-873c-f33984fead5fo%40googlegroups.com.

Reply via email to