Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reporting: occasionally reap child threads | Michael Fenn | 2014-01-10 | 1 | -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 imports | Sol Jerome | 2013-11-16 | 3 | -6/+3 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Reports: Add missing ImportError | Sol Jerome | 2013-11-11 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Fix compatibility with Django 1.6. | Simon Ruderich | 2013-11-11 | 4 | -4/+22 |
| | |||||
* | Version bump to 1.3.3v1.3.3 | Sol Jerome | 2013-11-07 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Revert "Reporting: Simple sanity check to avoid creating too many threads" | Michael Fenn | 2013-10-14 | 1 | -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 threading | Michael Fenn | 2013-10-10 | 1 | -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 threads | Michael Fenn | 2013-10-09 | 1 | -0/+3 |
| | |||||
* | Reporting: start a new thread for each import | Michael Fenn | 2013-10-09 | 1 | -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 detaching | Michael Fenn | 2013-08-19 | 1 | -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 typo | Sol Jerome | 2013-08-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Version bump to 1.3.2v1.3.2 | Sol Jerome | 2013-07-01 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Reporting: Fix traceback when run interactively | Sol Jerome | 2013-06-17 | 1 | -2/+4 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Reporting: exclude failures type from detail view | Sol Jerome | 2013-06-05 | 1 | -0/+2 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Merge branch 'django-1.5' into maint | Sol Jerome | 2013-06-05 | 13 | -77/+121 |
|\ | |||||
| * | Add url loads for all templates | Sol Jerome | 2013-05-06 | 9 | -0/+33 |
| | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
| * | Reports: Add support for Django 1.5 | Sol Jerome | 2013-04-29 | 13 | -77/+88 |
| | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Reporting: Fix traceback | Sol Jerome | 2013-05-29 | 1 | -14/+18 |
| | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Another fix for null target_status in Reporting_sericeentry. This one covers ↵ | Jake Davis | 2013-05-28 | 1 | -1/+2 |
| | | | | | | | | Extra entries. | ||||
* | | exclude failures type from Interaction.bad/modified/extra | Tim Laszlo | 2013-05-15 | 1 | -0/+6 |
| | | | | | | | | (cherry picked from commit 06bc603bbfb7615a2840c7bef0ef37013c585adf) | ||||
* | | models: Fix table name quoting for pgsql | Sol Jerome | 2013-05-10 | 1 | -6/+24 |
|/ | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Reporting: Add back TransportError import | Sol Jerome | 2013-04-24 | 1 | -1/+2 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Reporting: better error messages when transport fails to load | Chris St. Pierre | 2013-04-24 | 1 | -9/+8 |
| | |||||
* | Reporting: Add failures entry type | Sol Jerome | 2013-04-09 | 1 | -3/+5 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | LocalFilesystem: Use binary data format | Sol Jerome | 2013-04-08 | 1 | -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 bits | Chris St. Pierre | 2013-03-21 | 1 | -2/+4 |
| | |||||
* | Merge branch '1.3.2' into maint | Chris St. Pierre | 2013-03-21 | 6 | -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 entries | Chris St. Pierre | 2013-03-08 | 3 | -1/+386 |
| | | |||||
| * | Reporting: added support for various SELinux entries | Chris St. Pierre | 2013-03-08 | 5 | -180/+912 |
| | | |||||
* | | Version bump to 1.3.1v1.3.1 | Sol Jerome | 2013-03-21 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Fix the group filter dropdown on firefox | Tim Laszlo | 2013-03-18 | 1 | -1/+1 |
| | | |||||
* | | Version bump to 1.3.0v1.3.0 | Sol Jerome | 2013-03-15 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Batch deletes for sqlite | Tim Laszlo | 2013-01-30 | 1 | -1/+7 |
| | |||||
* | Batch adding entries to interactions for sqlite | Tim Laszlo | 2013-01-30 | 1 | -1/+5 |
| | |||||
* | Version bump to 1.3.0rc2v1.3.0rc2 | Sol Jerome | 2013-01-29 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Remove distinct from query. Sqlite has no support | Tim Laszlo | 2013-01-29 | 1 | -2/+5 |
| | |||||
* | Reporting: Fix text size discrepancy in grid view | Sol Jerome | 2013-01-24 | 1 | -1/+4 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Version bump to 1.3.0rc1 | Sol Jerome | 2013-01-09 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | reports: Make Failed and Bad consistent | Sol Jerome | 2013-01-07 | 1 | -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 view | Tim Laszlo | 2012-12-03 | 1 | -1/+1 |
| | |||||
* | Move group filter for detailed list. fixes css sizing | Tim Laszlo | 2012-11-29 | 1 | -1/+1 |
| | |||||
* | made Reporting plugin and transports debuggable, respond to ↵ | Chris St. Pierre | 2012-11-27 | 3 | -15/+33 |
| | | | | set_debug/toggle_debug RMI | ||||
* | create data directory for reporting Transports | Chris St. Pierre | 2012-11-26 | 1 | -2/+14 |
| | |||||
* | validate storage backend with DirectStore reporting Transport | Chris St. Pierre | 2012-11-26 | 1 | -0/+3 |
| | |||||
* | Check if linkentry is not none | Tim Laszlo | 2012-11-07 | 1 | -1/+1 |
| | |||||
* | Version bump to 1.3.0pre2v1.3.0pre2 | Sol Jerome | 2012-10-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Reporting: Only display profile if present | Tim Laszlo | 2012-10-29 | 1 | -0/+2 |
| | |||||
* | Reporting: Allow interactions without a profile | Tim Laszlo | 2012-10-29 | 3 | -2/+161 |
| | |||||
* | replace modes_problem with correct modes_problem | Tim Laszlo | 2012-10-25 | 1 | -1/+1 |
| | |||||
* | Reduce verbose sync output from bcfg2-report-collector | Tim Laszlo | 2012-10-19 | 1 | -1/+3 |
| |