Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better retrieve failed job events from AnsibleTower #344

Open
JacobCallahan opened this issue Jan 21, 2025 · 0 comments
Open

Better retrieve failed job events from AnsibleTower #344

JacobCallahan opened this issue Jan 21, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@JacobCallahan
Copy link
Member

We're currently seeing a problem where a failed workflow's job internally gives an appropriate error message in its job events, but broker can't tells the user it can't find a failure reason.
This specific issue is because broker caps the job events to 200 results. However, there are jobs with close to 600 job events.

https://github.com/SatelliteQE/broker/blob/master/broker/providers/ansible_tower.py#L373

We need to find a way to better handle this. Filtering to only include failures would be the best if it is possible. Otherwise, bumping the page limits to 1000 (or paginating) may be our only options.

@JacobCallahan JacobCallahan added the bug Something isn't working label Jan 21, 2025
@JacobCallahan JacobCallahan self-assigned this Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant