-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
AwxTaskError.TaskError(instance, rc) Exception: project_update xxx (failed) encountered an error #2083
Comments
Sooo... what was the error in the project update detail view? Post the reason for the failure and we can reopen as needed. |
@matburt what information is further needed? I've already provided the details about the error message. I'm currently unable to sync a source. In my case a GIT source. If I go into inventory -> Sources ->Click the sync button I'm getting the following error message in the task details view:
|
Look at the error in the job stdout view for the update itself. |
can you grab the api output for this job? |
It's not a job... those are playbook runs. It'll be a project update under |
|
@matburt I checked the API stdout of the project update, there was a problem with the requirements.yml file ... some roles are removed from ansible-galaxy .. the update process couldn't retrieve these roles which caused the failure. Would be nice to see the stdout of project updates also in the job output view in the UI. Maybe a proposal for an enhancement? |
Sets default zoom to 100% on network UI
If anybody else gets a blank stdout on inventory update job, the TL;DR is:
I'm on 9.2.0 but maybe in a future version AWX will show the stdout directly. |
ISSUE TYPE
COMPONENT NAME
SUMMARY
While launching a job an activity tries to retrieve the latest updates from the GIT source repository. This activity fails.
ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
Job runs succesfully
ACTUAL RESULTS
Job fails:
Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/awx/main/tasks.py", line 881, in run self.pre_run_hook(instance, **kwargs) File "/usr/lib/python2.7/site-packages/awx/main/tasks.py", line 2123, in pre_run_hook task_instance.run(local_project_sync.id) File "/usr/lib/python2.7/site-packages/awx/main/tasks.py", line 574, in _wrapped return f(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/awx/main/tasks.py", line 1027, in run raise AwxTaskError.TaskError(instance, rc) Exception: project_update 567 (failed) encountered an error (rc=2), please see task stdout for details.
ADDITIONAL INFORMATION
The text was updated successfully, but these errors were encountered: