summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Reporting
Commit message (Collapse)AuthorAgeFilesLines
* Reporting: occasionally reap child threadsMichael Fenn2014-01-101-0/+23
| | | | | | | | I noticed that, at least on Python 2.4, memory for threads doesn't get freed until the threads are joined. This patch causes the collector to periodically go through and reap those threads. Tested in production for ~1 month, no reported issues.
* Reporting: Remove wildcard importsSol Jerome2013-11-163-6/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reports: Add missing ImportErrorSol Jerome2013-11-111-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Fix compatibility with Django 1.6.Simon Ruderich2013-11-114-4/+22
|
* Version bump to 1.3.3v1.3.3Sol Jerome2013-11-071-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Revert "Reporting: Simple sanity check to avoid creating too many threads"Michael Fenn2013-10-141-3/+0
| | | | | | | | This reverts commit f813f86f8ac2bc7b55f4eb6a0d936f1ce4f68ba7. Premature optimization is the root of all evil, etc. Conflicts: src/lib/Bcfg2/Reporting/Collector.py
* Reporting: misc improvements to collector threadingMichael Fenn2013-10-101-4/+6
| | | | | | 1. Use a better convention for calling the threading.Thread constructor 2. Add docstring to ReportingStoreThread.run 3. Give the storage thread variable a better name
* Reporting: Simple sanity check to avoid creating too many threadsMichael Fenn2013-10-091-0/+3
|
* Reporting: start a new thread for each importMichael Fenn2013-10-091-10/+29
| | | | | | | | | | | | | | | | | When dealing with a high-latency database connection (eg. across a WAN), the bcfg2-report-collector process can fall behind in its import queue. The imports are very much bound by the response latency of the database server and not processing throughput. This patch fires off a new thread for each database interaction. The thread itself simply falls out of scope when the interaction is finished processing. The interaction object is still read from the disk serially in order avoid having to create a locking mechanism for that part of the process. This change does potentially create greater load on the database server, but ultimately the load is limited by rate at which the bcfg2 server can generate work.
* Reporting: have bcfg2-report-collector be explicit about detachingMichael Fenn2013-08-191-1/+1
| | | | | | | | | Following the same logic as 360ba2e7, we should be explicit about the need to detach the bcfg2-report-collector process. Side note: this bit me because I was starting the bcfg2 server processes via SSH, and the way python-daemon checks for being started by inetd is to see if stdin is a socket. (??)
* Reporting: Fix typoSol Jerome2013-08-081-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Version bump to 1.3.2v1.3.2Sol Jerome2013-07-011-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reporting: Fix traceback when run interactivelySol Jerome2013-06-171-2/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reporting: exclude failures type from detail viewSol Jerome2013-06-051-0/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'django-1.5' into maintSol Jerome2013-06-0513-77/+121
|\
| * Add url loads for all templatesSol Jerome2013-05-069-0/+33
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Reports: Add support for Django 1.5Sol Jerome2013-04-2913-77/+88
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Reporting: Fix tracebackSol Jerome2013-05-291-14/+18
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Another fix for null target_status in Reporting_sericeentry. This one covers ↵Jake Davis2013-05-281-1/+2
| | | | | | | | Extra entries.
* | exclude failures type from Interaction.bad/modified/extraTim Laszlo2013-05-151-0/+6
| | | | | | | | (cherry picked from commit 06bc603bbfb7615a2840c7bef0ef37013c585adf)
* | models: Fix table name quoting for pgsqlSol Jerome2013-05-101-6/+24
|/ | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reporting: Add back TransportError importSol Jerome2013-04-241-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reporting: better error messages when transport fails to loadChris St. Pierre2013-04-241-9/+8
|
* Reporting: Add failures entry typeSol Jerome2013-04-091-3/+5
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* LocalFilesystem: Use binary data formatSol Jerome2013-04-081-2/+2
| | | | | | | The pickle class returns 'bytes' objects in python 3 instead of 'str' objects which were returned in python2. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed various debugging bitsChris St. Pierre2013-03-211-2/+4
|
* Merge branch '1.3.2' into maintChris St. Pierre2013-03-216-180/+1297
|\ | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py testsuite/Testsrc/test_code_checks.py
| * Reporting: added support for POSIX user/group entriesChris St. Pierre2013-03-083-1/+386
| |
| * Reporting: added support for various SELinux entriesChris St. Pierre2013-03-085-180/+912
| |
* | Version bump to 1.3.1v1.3.1Sol Jerome2013-03-211-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Fix the group filter dropdown on firefoxTim Laszlo2013-03-181-1/+1
| |
* | Version bump to 1.3.0v1.3.0Sol Jerome2013-03-151-1/+1
|/ | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Batch deletes for sqliteTim Laszlo2013-01-301-1/+7
|
* Batch adding entries to interactions for sqliteTim Laszlo2013-01-301-1/+5
|
* Version bump to 1.3.0rc2v1.3.0rc2Sol Jerome2013-01-291-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Remove distinct from query. Sqlite has no supportTim Laszlo2013-01-291-2/+5
|
* Reporting: Fix text size discrepancy in grid viewSol Jerome2013-01-241-1/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Version bump to 1.3.0rc1Sol Jerome2013-01-091-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* reports: Make Failed and Bad consistentSol Jerome2013-01-071-2/+2
| | | | | | | Failed entries were causing me confusion previously because the colors between the client State and the Failed entries were inconsistent. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reporting: fix missing clients in grid viewTim Laszlo2012-12-031-1/+1
|
* Move group filter for detailed list. fixes css sizingTim Laszlo2012-11-291-1/+1
|
* made Reporting plugin and transports debuggable, respond to ↵Chris St. Pierre2012-11-273-15/+33
| | | | set_debug/toggle_debug RMI
* create data directory for reporting TransportsChris St. Pierre2012-11-261-2/+14
|
* validate storage backend with DirectStore reporting TransportChris St. Pierre2012-11-261-0/+3
|
* Check if linkentry is not noneTim Laszlo2012-11-071-1/+1
|
* Version bump to 1.3.0pre2v1.3.0pre2Sol Jerome2012-10-301-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reporting: Only display profile if presentTim Laszlo2012-10-291-0/+2
|
* Reporting: Allow interactions without a profileTim Laszlo2012-10-293-2/+161
|
* replace modes_problem with correct modes_problemTim Laszlo2012-10-251-1/+1
|
* Reduce verbose sync output from bcfg2-report-collectorTim Laszlo2012-10-191-1/+3
|