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

AWX inventory pending state on itself forever #15769

Open
5 of 11 tasks
Julien5858 opened this issue Jan 23, 2025 · 5 comments
Open
5 of 11 tasks

AWX inventory pending state on itself forever #15769

Julien5858 opened this issue Jan 23, 2025 · 5 comments

Comments

@Julien5858
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

This issue occurs almost everyday in our daily workflow, the inventory sync get infinitely stucked and waiting for itself to complete.

There is 4 inv sync happening at the same time, just after the repo syncing.
The pending inventory is always different.

AWX version

24.5.0

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

no

Ansible version

No response

Operating system

No response

Web browser

No response

Steps to reproduce

I don't know how to reproduce this

Expected results

I expect the inventory to complete normally

Actual results

The result is that I have to cancel manually the inventory job.
Any other job ran after the workflow is also pending state and cancelled when I cancel the original workflow.

Additional information

Image Image
@Julien5858
Copy link
Author

One thing that I forgot to mention too was that I already tried to delete the workflow and recrete without success.

@thedoubl3j
Copy link
Member

this looks like it might be a known bug that is fixed in devel #15610. Can you get the inventory syncs to run in separate nodes in the workflow rather than in parallel? So rather than running all of the syncs at the same time, have them run one of after the other. This might get you a work around for this.

@Julien5858
Copy link
Author

Hi @thedoubl3j , thanks for pointing this to me and yes that look like related to this issue.

I'll be updating this thread when it will be released, thank you.

@Julien5858
Copy link
Author

Hi @thedoubl3j just a feedback that I separated the inventory nodes but I just got today the exact same issue. Seems like I'll have to wait for this fix to be released, any idea/plan is in the pipe? I know that the AWX restructuration might take some time tho.

@tvo318
Copy link
Member

tvo318 commented Feb 26, 2025

@Julien5858 - Fix #15610 was in merged in devel, could you try using the devel version of AWX and see if that helps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants