Giter Site home page Giter Site logo

topological_inventory-ansible_tower's Introduction

topological_inventory-ansible_tower

Build Status Maintainability Test Coverage Security

License

This project is available as open source under the terms of the Apache License 2.0.

topological_inventory-ansible_tower's People

Contributors

abellotti avatar agrare avatar bdunne avatar carbonin avatar djberg96 avatar fryguy avatar gmcculloug avatar gtanzillo avatar ladas avatar lindgrenj6 avatar lpichler avatar pkomanek avatar roliveri avatar slemrmartin avatar syncrou avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

topological_inventory-ansible_tower's Issues

Redis-backed on-premise collecting

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

Redesign ordering process to avoid 30 minutes timeout

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

Collecting data through insights-upload (topological_inventory-sync)

ISSUE TYPE

  • Feature Idea

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

Order Operation takes too long

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.