CiscoDevNet / DNAC-AURA

MIT License
37 stars 14 forks source link

Failed step #03 when runs "-o" with captureFile.yaml #5

Open yijxiang opened 3 years ago

yijxiang commented 3 years ago

03:Checking:Determine Cisco DNA Center memberid

INFO:memberID is (...snip...) INFO:Capture Name: allfabric -- Built a Device list of 50 devices: [(...snip...total 50 devices)] INFO:Capture Name: allfabric -- Built a Command list of 24 commands: ['show cdp nei', 'show cts role-based counters', 'show ip sla summary', 'show ip vrf', 'sh logging | i -1-', 'sh logging | i -2-', 'sh logging | i -3-', 'show bfd neighbors', 'show clock detail', 'show diagnostic post', 'show diagnostic switch all', 'show environment all', 'show inventory', 'show ip lisp statistics', 'show license right-to-use summary', 'show license summary', 'show lisp platform', 'show ntp associations', 'show ntp status', 'show platform software status control-processor brief', 'show process cpu history', 'show process cpu platform sorted | ex 0%', 'show running-config', 'show switch stack-ports'] INFO:Start Command Output Collection INFO:Calling Command Runner INFO:Devices in this iteration [(...snip...)] Cisco DNA Center is capturing commands from the network, sleeping 30 seconds... Cisco DNA Center is capturing commands from the network, sleeping 30 seconds... Cisco DNA Center is capturing commands from the network, sleeping 30 seconds... Cisco DNA Center is capturing commands from the network, sleeping 30 seconds... Cisco DNA Center is capturing commands from the network, sleeping 30 seconds... INFO:Created new command capture files sda_capture_allfabric_2021-08-06_04_21_17.json sda_capture_allfabric_2021-08-06_04_21_17.log in directory /data/tmp/dnac_aura/logs/2021-08-06_04_21_17 Traceback (most recent call last): File "dnac_aura.py", line 9999, in File "dnac_aura.py", line 9589, in main File "dnac_aura.py", line 9013, in collect_device_data AttributeError: 'list' object has no attribute 'replace' [71913] Failed to execute script dnac_aura