Closed Ivanszky closed 6 months ago
I'm looking at the PR request #27 Is anyone else hitting the same issue?
Did you always face this http status on Cisco DNA Center when deleting backups? Any issues if you try to delete backups in the Web UI?
Not always, but most of the time (90-95%). (this is a DN2-HW-APL-XL with approx. 500 devices in the inventory, so well within the specified scale (5000 devices).)
Errors also happen on the webGUI sometimes when I delete backups.
I have opened a TAC case to verify if this behaviour is by design or a bug on DNAC side.
status update on TAC case: -TAC states that backup API is not supported -but because the same issue can be seen when using the GUI, TAC is looking into it
Cisco opened a bug for this DNAC behaviour (CSCwf61205). I assume that means this should be handled on the DNAC side and not in ciscodnacbackupctl.
https://bst.cisco.com/bugsearch/bug/CSCwf01639
Fixed in 2.3.5.x
Quite frequently DNAC's response to a backup DELETE is a "HTTP/1.1 504 Gateway Time-out", which causes an exception in ciscodnacbackupctl and stops the current purge, so further backups are not deleted in that scheduled job.
However, even though DNACs response is HTTP504, the backup deletion is successful in the background. I suggest to ignore HTTP 504, and continue with the deletion of the other scheduled backups.