-
Notifications
You must be signed in to change notification settings - Fork 8
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
Missing AWX workflow jobid information #170
Comments
Just to be complete: I need to fetch AWX JobID number:
|
the database is incremental about the output. so i can make timestamps. use rest ap to the output. you can add a flag to get text with colourcodes. |
The API endpoint "/api/v1/job/70" doesn't have this full job output/jobid. It was available before, lost track of the working version. Link |
This output is from the API /api/v1/job/100 in my case.
|
I could extend the database with the awx job id, if that helps ? if so, please create a feature request so i can follow up. |
This is my full API endpoint "/api/v1/job/70" output, looks like the first AnsibleForms message does not get properly saved in the DB:
I was expecting the same output as you provided. |
AWX is not providing incremental output. That means I need to remove the overlap between 2 output, I do this to provide timestamps and visualize the progress. With native ansible, I get actual incremental output, so that's easy, there is no overlap. Sometimes AWX changes the output slightly and I miss the overlap, and that sometimes results in double output, I try to be smart and fix potential issues when that occurs. but you issue is having less output, I haven't seen that one before. Very strange indeed. if I store the AWX jobid, at least you could extract it from there then. |
Get your point, it would be very helpful if you store the AWX jobid in a unique key/value combination! |
What is the current status? Are you waiting for me, or am I waiting for you? |
I know enough... You can expect a new version soon |
will be available in 5.0.2... beta coming |
new beta is now being pushed. use image ":beta" instead of ":latest". And use ctrl-F5 to clear the browser cache. |
I will close this... ping me if you think it should not be closed |
Hi,
When initiating an AWX Job Template or AWX Workflow Job Template, ansibleforms displays:
Launched template My first Workflow with jobid 54784 2024-04-26 12:59:42
Upon completion of the job, ansibleforms displays:
ful 2024-04-26 13:03:05 Successfully completed template My first Workflow 2024-04-26 13:03:05
It seems that the 'jobid' information is not retained. Even in the job-log, no details about the job are available. However, upon querying the database, the following information is found:
{ "output": "ful", "result_after": "ful" }, { "output": "Successfully completed template My first Workflow", "result_after": "workflow" }
The job log resembles this
I require the Jobid for an AWX artifact lookup.
Thank you for your assistance.
Regards
Ronald
The text was updated successfully, but these errors were encountered: