This project is available as open source under the terms of the Apache License 2.0.
redhatinsights / topological_inventory-ansible_tower Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
This project is available as open source under the terms of the Apache License 2.0.
Proposed structure of redis key
Refresh_state_uuid => {
:started_at => <ts>,
:sweep_scope => <array>,
:total_parts => <int>,
:messages => [
{:msg_id => {:entity_type => <string>, :started_at => <ts>, :finished_at => <ts>},
{:msg_id => {:entity_type => <string>, :started_at => <ts>, :finished_at => <ts>},
....
],
:all_requests_registered => T/F
}
Can be updated by Redis WATCH query
Current 30 minutes timeout for completing an Ansible Tower job order is not practical for GA. Tower jobs can take hours to days to complete.
PRs are ordered by dependency
!Important Core changes will affect persister/api/sync in production. Needed to change dependency on master branch in all environments first
TPINVTRY-904
ISSUE TYPE
Following discussion with @Ladas and ansible/awx#5931
SUMMARY
Full refresh through AnsibleTower collector <-> Tower API makes big traffic to Tower.
And through receptor it'll be quite slow.
So there is an idea to collect data through insights-upload
service.
DETAILS
we need to change
https://hakiri.io/github/ManageIQ/topological_inventory-ansible_tower/master
->
https://hakiri.io/github/RedHatInsights/topological_inventory-ansible_tower/master
but the link is not working
With the Thread pool functionality collector can maintain up to 10 sources and run refresh of max. 2 at the same time.
It's ok for refresh, but Order operations depends also on refresh (TODO: targeted refresh needed).
So between job is completed in tower and URL is collected to db there can be many minutes.
Solution: Decrease Sources per collector to 2 (for Ansible Tower) until targeted refresh will be ready.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.