summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Core.py
Commit message (Collapse)AuthorAgeFilesLines
* Use the older Thread.getName() interface for python 2.4 compatMichael Fenn2014-09-101-1/+1
|
* fixed pylint/pep-8 testsChris St. Pierre2014-04-251-1/+1
|
* Core: better error messages when altsrc bind failsChris St. Pierre2014-03-141-3/+4
|
* Core: close all database connections at the end of XML-RPC requestsChris St. Pierre2014-03-031-6/+26
|
* core: only shut down core onceChris St. Pierre2014-02-191-0/+10
|
* Fixed typo. Need coffee.Chris St. Pierre2014-02-181-1/+1
|
* Core: add default name for base Core implementationChris St. Pierre2014-02-181-1/+2
|
* ensure that DB connections are always closed at thread/process exitChris St. Pierre2014-02-181-7/+11
|
* Core: explicitly close database connections at the end of each client runChris St. Pierre2014-02-131-0/+5
|
* Core: Avoid starting server if database is enabled but cannot be usedChris St. Pierre2013-11-251-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 bindChris St. Pierre2013-09-301-3/+3
|
* Core: avoid importing Metadata before Django has been configuredChris St. Pierre2013-09-051-2/+1
|
* Allow Connector to create new groupsChris St. Pierre2013-09-051-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 properlyChris St. Pierre2013-08-091-1/+1
|
* Core: fixed py3k incompatibilityChris St. Pierre2013-08-091-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 processesChris St. Pierre2013-08-071-4/+2
|
* Plugin: added new Caching interfaceChris St. Pierre2013-08-071-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 usedChris St. Pierre2013-08-061-0/+3
|
* Core: track statistics on resolve_clientChris St. Pierre2013-08-051-0/+1
|
* Core: update VCS revision only when events are handledChris St. Pierre2013-07-311-1/+2
|
* MultiprocessingCore: make multiprocessing children threaded for higher ↵Chris St. Pierre2013-07-301-9/+11
| | | | performance
* Core: handle unknown log handlers without names gracefullyChris St. Pierre2013-07-161-3/+8
|
* Core: Gracefully handle failure to add client without default groupChris St. Pierre2013-07-091-1/+6
|
* Core: apply FAM blocking option to all commands that start a serverChris St. Pierre2013-07-091-5/+21
|
* Revert "Core: properly handle Ctrl-C"Sol Jerome2013-06-261-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 privsChris St. Pierre2013-06-191-0/+6
|
* Core: don't unnecessarily set debug to False on server startupChris St. Pierre2013-06-031-1/+2
|
* Core: added more debugging on server shutdownChris St. Pierre2013-05-201-0/+4
|
* minor fixes for FAM blockingJason Kincl2013-05-011-1/+1
|
* Adding option to force server to wait until all FAM events are processedJason Kincl2013-05-011-0/+5
|
* Core: added docstring for load_pluginsChris St. Pierre2013-04-171-0/+5
|
* Core: fixed pylint tests for wildcard importsChris St. Pierre2013-04-161-2/+2
|
* Core: load plugins after daemonization so files/dirs created at plugin init ↵Chris St. Pierre2013-04-161-100/+83
| | | | time have proper permissions
* Added option to periodically dump performance stats to logsChris St. Pierre2013-03-291-1/+23
|
* testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-261-2/+2
|
* Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-251-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 wayChris St. Pierre2013-03-221-3/+2
|
* more debugging fixesChris St. Pierre2013-03-211-1/+1
|
* fixed various debugging bitsChris St. Pierre2013-03-211-1/+1
|
* fixed unit testsChris St. Pierre2013-03-211-1/+0
|
* Merge branch '1.3.2' into maintChris St. Pierre2013-03-211-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. Pierre2013-03-191-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 methodsChris St. Pierre2013-03-191-1/+21
| |
* | more consistent XML-RPC debug calls for FAMChris St. Pierre2013-03-211-4/+10
| |
* | added XML-RPC RMI capabilities to FileMonitor objectsChris St. Pierre2013-03-211-4/+6
| |
* | Core: properly handle Ctrl-CChris St. Pierre2013-02-251-4/+13
|/
* Core: deduplicated some error handling codeChris St. Pierre2013-02-081-9/+7
|
* get VCS revision in a more resilient wayChris St. Pierre2013-02-011-5/+19
|
* replace unintuitive reduce() calls with slightly less unintuitive chain() callsChris St. Pierre2013-01-081-4/+4
|
* Threaded plugin fixes:Chris St. Pierre2012-11-271-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