PackeTsar / freeztp

An Open-Source Zero-Touch Provisioning System for Cisco IOS.
GNU General Public License v3.0
214 stars 28 forks source link

dev1.1.0m // `Show Downloads` output for concurrent downloads of the same file #35

Closed derek-shnosh closed 5 years ago

derek-shnosh commented 5 years ago

Concurrent downloads of the same file are being shown on one line of the ztp show downloads (live) output; the invidual line is just cycling through the IPs of all the switches that are downloading the same file on a refresh/update.

This seems to affect the downloads tracking for tar/bin downloads and possibly even the switches' requests for network-confg (if they happen simultaneously).

On our most recent batch of 2960X's, the switches were getting their tar file, extracting and installing it, reloading and then redownloading the tar file again; I'm assuming because the download wasn't tracked for all of the switches... that is if the ztp show downloads issue isn't purely cosmetic.

Update: According to the show downloads output, the last switch that downloaded the tar file had the IP 10.39.3.214 and it was handed a Image_Download_Supressed file after it reloaded. The other 15 switches started downloading the image tar file again.

2018-10-02_10-50-23

PackeTsar commented 5 years ago

Added this to the requested enhancement list. Closing for now