Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ensure that DB connections are always closed at thread/process exit | Chris St. Pierre | 2014-02-18 | 1 | -7/+11 |
| | |||||
* | Core: explicitly close database connections at the end of each client run | Chris St. Pierre | 2014-02-13 | 1 | -0/+5 |
| | |||||
* | Core: Avoid starting server if database is enabled but cannot be used | Chris St. Pierre | 2013-11-25 | 1 | -4/+4 |
| | | | | | | | Plugins that use the database often act quite differently depending on whether or not the database is enabled. If we start the server without the database (e.g., the connection failed), then Very Strange Things can happen. | ||||
* | Core: Fixed error message on failed altsrc bind | Chris St. Pierre | 2013-09-30 | 1 | -3/+3 |
| | |||||
* | Core: avoid importing Metadata before Django has been configured | Chris St. Pierre | 2013-09-05 | 1 | -2/+1 |
| | |||||
* | Allow Connector to create new groups | Chris St. Pierre | 2013-09-05 | 1 | -2/+34 |
| | | | | | Connector plugins can now create new groups, including the full range of options on those groups (profile, public, category, etc.). | ||||
* | Core: iterate over RMI objects properly | Chris St. Pierre | 2013-08-09 | 1 | -1/+1 |
| | |||||
* | Core: fixed py3k incompatibility | Chris St. Pierre | 2013-08-09 | 1 | -2/+8 |
| | | | | | Also abstracted getting the list of objects that may register RMI calls into a separate function. | ||||
* | MultiprocessingCore: added a way to dispatch RMI calls to child processes | Chris St. Pierre | 2013-08-07 | 1 | -4/+2 |
| | |||||
* | Plugin: added new Caching interface | Chris St. Pierre | 2013-08-07 | 1 | -2/+16 |
| | | | | | | | This gives a single unified interface for expiring caches, no matter the plugin. This will be particularly useful with the MultiprocessingCore, as certain calls must be dispatched to child processes to expire their caches. | ||||
* | Core: log when a cached metadata object is used | Chris St. Pierre | 2013-08-06 | 1 | -0/+3 |
| | |||||
* | Core: track statistics on resolve_client | Chris St. Pierre | 2013-08-05 | 1 | -0/+1 |
| | |||||
* | Core: update VCS revision only when events are handled | Chris St. Pierre | 2013-07-31 | 1 | -1/+2 |
| | |||||
* | MultiprocessingCore: make multiprocessing children threaded for higher ↵ | Chris St. Pierre | 2013-07-30 | 1 | -9/+11 |
| | | | | performance | ||||
* | Core: handle unknown log handlers without names gracefully | Chris St. Pierre | 2013-07-16 | 1 | -3/+8 |
| | |||||
* | Core: Gracefully handle failure to add client without default group | Chris St. Pierre | 2013-07-09 | 1 | -1/+6 |
| | |||||
* | Core: apply FAM blocking option to all commands that start a server | Chris St. Pierre | 2013-07-09 | 1 | -5/+21 |
| | |||||
* | Revert "Core: properly handle Ctrl-C" | Sol Jerome | 2013-06-26 | 1 | -13/+4 |
| | | | | | | | | | | | | | | This reverts commit 4568c44372c99ba809826e016680da9b881bd8e8. Trying to handle ^c in the core is difficult and can break STDOUT for interactive programs that invoke the core. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: src/lib/Bcfg2/Server/Core.py src/sbin/bcfg2-test tools/bcfg2-profile-templates.py | ||||
* | Core: rewrite $HOME after dropping privs | Chris St. Pierre | 2013-06-19 | 1 | -0/+6 |
| | |||||
* | Core: don't unnecessarily set debug to False on server startup | Chris St. Pierre | 2013-06-03 | 1 | -1/+2 |
| | |||||
* | Core: added more debugging on server shutdown | Chris St. Pierre | 2013-05-20 | 1 | -0/+4 |
| | |||||
* | minor fixes for FAM blocking | Jason Kincl | 2013-05-01 | 1 | -1/+1 |
| | |||||
* | Adding option to force server to wait until all FAM events are processed | Jason Kincl | 2013-05-01 | 1 | -0/+5 |
| | |||||
* | Core: added docstring for load_plugins | Chris St. Pierre | 2013-04-17 | 1 | -0/+5 |
| | |||||
* | Core: fixed pylint tests for wildcard imports | Chris St. Pierre | 2013-04-16 | 1 | -2/+2 |
| | |||||
* | Core: load plugins after daemonization so files/dirs created at plugin init ↵ | Chris St. Pierre | 2013-04-16 | 1 | -100/+83 |
| | | | | time have proper permissions | ||||
* | Added option to periodically dump performance stats to logs | Chris St. Pierre | 2013-03-29 | 1 | -1/+23 |
| | |||||
* | testsuite: fixed issues found by latest version of pep8 | Chris St. Pierre | 2013-03-26 | 1 | -2/+2 |
| | |||||
* | Handle FAM monitor failures more gracefully: | Chris St. Pierre | 2013-03-25 | 1 | -0/+4 |
| | | | | | | | | | * Where possible, create the file or directory that is about to be monitored. This ensures that content can be added later without need to restart Bcfg2. (Otherwise, adding the monitor would fail, and so when you did create the file in question, bcfg2-server would never be notified of it.) * When not possible, give better error messages. | ||||
* | Logger: set log handler names in a py <2.6 compatible way | Chris St. Pierre | 2013-03-22 | 1 | -3/+2 |
| | |||||
* | more debugging fixes | Chris St. Pierre | 2013-03-21 | 1 | -1/+1 |
| | |||||
* | fixed various debugging bits | Chris St. Pierre | 2013-03-21 | 1 | -1/+1 |
| | |||||
* | fixed unit tests | Chris St. Pierre | 2013-03-21 | 1 | -1/+0 |
| | |||||
* | Merge branch '1.3.2' into maint | Chris St. Pierre | 2013-03-21 | 1 | -8/+85 |
|\ | | | | | | | | | | | | | | | | | 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 | ||||
| * | Debug improvements: | Chris St. Pierre | 2013-03-19 | 1 | -7/+64 |
| | | | | | | | | | | | | * Added (set|toggle)_core_debug RMI methods to set debugging in the core * Enable plugin debugging when run with -d * Allow enabling debugging on Reporting plugin before threads have started | ||||
| * | Core: added more debug logging for core methods | Chris St. Pierre | 2013-03-19 | 1 | -1/+21 |
| | | |||||
* | | more consistent XML-RPC debug calls for FAM | Chris St. Pierre | 2013-03-21 | 1 | -4/+10 |
| | | |||||
* | | added XML-RPC RMI capabilities to FileMonitor objects | Chris St. Pierre | 2013-03-21 | 1 | -4/+6 |
| | | |||||
* | | Core: properly handle Ctrl-C | Chris St. Pierre | 2013-02-25 | 1 | -4/+13 |
|/ | |||||
* | Core: deduplicated some error handling code | Chris St. Pierre | 2013-02-08 | 1 | -9/+7 |
| | |||||
* | get VCS revision in a more resilient way | Chris St. Pierre | 2013-02-01 | 1 | -5/+19 |
| | |||||
* | replace unintuitive reduce() calls with slightly less unintuitive chain() calls | Chris St. Pierre | 2013-01-08 | 1 | -4/+4 |
| | |||||
* | Threaded plugin fixes: | Chris St. Pierre | 2012-11-27 | 1 | -2/+8 |
| | | | | | | | * Added "Threaded" plugin interface for any plugin that uses threads * Start plugin threads after daemonization * Update existing plugins that use threads (Reporting, Snapshots, ThreadedStatistics interface) * Update unit tests | ||||
* | fixed core syncdb in non-daemon contexts (e.g., bcfg2-info) | Chris St. Pierre | 2012-11-26 | 1 | -6/+7 |
| | |||||
* | when a new sqlite database is created for reporting, set appropriate permissions | Chris St. Pierre | 2012-11-26 | 1 | -7/+28 |
| | |||||
* | create pidfile directory with correct perms | Chris St. Pierre | 2012-11-19 | 1 | -1/+1 |
| | |||||
* | documented new core debug RMIs | Chris St. Pierre | 2012-11-16 | 1 | -1/+35 |
| | |||||
* | added set_debug RMI for plugins and core, set_fam_debug RMI | Chris St. Pierre | 2012-11-16 | 1 | -0/+10 |
| | |||||
* | Core: added toggle_debug RMI to toggle all debug modes on running server | Chris St. Pierre | 2012-11-16 | 1 | -0/+6 |
| | |||||
* | FAM: allow toggling FAM debug by RMI on running server | Chris St. Pierre | 2012-11-16 | 1 | -0/+4 |
| |