-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Send job & org data #4472
Send job & org data #4472
Conversation
Build failed.
|
recheck |
Build succeeded.
|
Interesting considerations:
|
79c3824
to
2e58bc5
Compare
Build failed.
|
2e58bc5
to
282b736
Compare
Build failed.
|
recheck |
Build succeeded.
|
awx/main/analytics/collectors.py
Outdated
AND main_project.unifiedjobtemplate_ptr_id = main_job.project_id | ||
AND main_unifiedjob.polymorphic_ctype_id = django_content_type.id | ||
AND main_unifiedjob.launch_type != 'sync' | ||
AND main_organization.id = main_project.organization_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlanCoding @rooftopcellist we're going to have to reconsider this after your merge of the "org on JT" feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ryanpetrello I have discussed this with @AlanCoding and we decided to merge this first and then make any necessary changes when Alan's PR lands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Build failed (gate pipeline). For information on how to proceed, see
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will change my review to request changes since I observed that we are having duplicated rows on the generated report, for example:
id,polymorphic_ctype_id,model,organization_id,organization_name,created,name,unified_job_template_id,launch_type,schedule_id,execution_node,controller_node,cancel_flag,status,failed,started,finished,elapsed,job_explanation,instance_group_id
9,40,projectupdate,1,Default,2019-08-19 19:29:10.901595+00,Demo Project,6,dependency,,localhost,"",f,successful,f,2019-08-19 19:29:16.849771+00,2019-08-19 19:29:20.24345+00,3.394,"",1
9,40,projectupdate,1,Default,2019-08-19 19:29:10.901595+00,Demo Project,6,dependency,,localhost,"",f,successful,f,2019-08-19 19:29:16.849771+00,2019-08-19 19:29:20.24345+00,3.394,"",1
9,40,projectupdate,1,Default,2019-08-19 19:29:10.901595+00,Demo Project,6,dependency,,localhost,"",f,successful,f,2019-08-19 19:29:16.849771+00,2019-08-19 19:29:20.24345+00,3.394,"",1
Already talked to @rooftopcellist and he will take a look.
Build failed.
|
365c3bf
to
27e5602
Compare
Build succeeded.
|
This is now producing better results but I still getting duplicated entries:
That job template: Is associated with a single project: And it is only associated with the |
27e5602
to
cd3645e
Compare
Build succeeded.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the recent changes I am not seeing the issue I was anymore
regate |
Build succeeded (gate pipeline).
|
Send job & org data Reviewed-by: Christian Adams <[email protected]> https://github.com/rooftopcellist
Upgrade community.vmware for better error surfacing
SUMMARY
Related: #4473
Expands the query to copy the unified_jobs table for analytics collection to include the organization name.
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION
Stay tuned of performance notes.