I’ve got Ansible Tower instance that’s been running for over a year now. I’m trying to “cleanup activity stream” which ultimately fails every time I try launching it.
I've got Ansible Tower instance that's been running for over a year now.
I'm trying to "cleanup activity stream" which ultimately fails every time I
try launching it.
Try applying .iterator() to the querysets in some of the loops inside of the management command. We have a few examples to go by in the cleanup jobs task. If you get something that fixes your problem, we would be happy to look at any pull request to pull your fix into the main branch.