summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/MultiprocessingCore.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'maint' into masterSol Jerome2014-04-161-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: doc/appendix/guides/import-existing-ssh-keys.txt misc/bcfg2.spec src/lib/Bcfg2/Client/Tools/VCS.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Encryption.py src/lib/Bcfg2/Reporting/Collector.py src/lib/Bcfg2/Reporting/Storage/DjangoORM.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/__init__.py src/lib/Bcfg2/Server/Lint/RequiredAttrs.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-reports src/sbin/bcfg2-yum-helper testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/TestAugeas.py
| * Metadata: reread client list from databaseChris St. Pierre2014-02-231-0/+1
| | | | | | | | | | | | | | | | This fixes two related bugs: One causes Metadata to use an out-of-date cached list of clients when a client is deleted or added with bcfg2-admin; the other causes child worker processes to use an out-of-date cached list of clients when a client is added with a Bcfg2 run when the multiprocessing core is in use.
* | Multiprocessing: stringify server core safely before options are parsedChris St. Pierre2013-11-131-2/+6
| |
* | Multiprocessing: Added missing Queue back in, merge failChris St. Pierre2013-11-121-1/+1
| |
* | Merge branch 'maint'Chris St. Pierre2013-11-111-27/+8
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Admin/Compare.py src/lib/Bcfg2/Server/Admin/Snapshots.py src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugins/Probes.py src/sbin/bcfg2-crypt src/sbin/bcfg2-reports tools/upgrade/1.3/migrate_configs.py tools/upgrade/1.3/migrate_perms_to_mode.py
| * Multiprocessing: removed unused importChris St. Pierre2013-11-061-1/+1
| |
| * Multiprocessing: don't reuse child RPC listenersChris St. Pierre2013-11-051-26/+7
| |
* | Core: Better stringification of server core objectsChris St. Pierre2013-10-301-0/+5
| |
* | Rewrote arbitrary data cache systemChris St. Pierre2013-08-161-38/+8
| | | | | | | | | | | | | | | | | | | | | | | | The caching facilities in Bcfg2.Server.Cache provided basically no features. This rewrites that to allow for much more powerful cache expiration, with a particular focus on interoperation between different components and plugins to let caches be expired as necessary. (E.g., the Probes plugin can expire the Metadata cache.) This does not affect any of the file data cached by Bcfg2, only the caches that are populated with arbitrary data (Metadata, Packages, Probes, etc.).
* | Merge branch 'maint'Chris St. Pierre2013-08-121-4/+4
|\| | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Admin/Viz.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py
| * MultiprocessingCore: added missing docstringChris St. Pierre2013-08-091-0/+2
| |
| * Core: iterate over RMI objects properlyChris St. Pierre2013-08-091-2/+2
| |
| * Core: fixed py3k incompatibilityChris St. Pierre2013-08-091-4/+2
| | | | | | | | | | Also abstracted getting the list of objects that may register RMI calls into a separate function.
* | testsuite: fixed most pylint complaintsChris St. Pierre2013-08-091-3/+0
| |
* | MultiprocessingCore: fixed Cache importChris St. Pierre2013-08-091-1/+1
| |
* | Merge branch 'options-rewrite'Chris St. Pierre2013-08-081-16/+35
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Init.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/base.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py src/lib/Bcfg2/Server/SSLServer.py src/lib/Bcfg2/Utils.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-info src/sbin/bcfg2-lint src/sbin/bcfg2-test src/sbin/bcfg2-yum-helper tools/bcfg2-profile-templates.py
| * Options: migrated server core to new option parserChris St. Pierre2013-06-271-15/+21
| |
* | MultiprocessingCore: added a way to dispatch RMI calls to child processesChris St. Pierre2013-08-071-10/+66
| |
* | Plugin: added new Caching interfaceChris St. Pierre2013-08-071-8/+8
| | | | | | | | | | | | | | 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.
* | MultiprocessingCore: log some messages as debug, not errorChris St. Pierre2013-08-061-2/+2
| |
* | Multiprocessing: fixed resolve_client callChris St. Pierre2013-08-051-1/+1
| |
* | Multiprocessing: proxy RecvProbeData callsChris St. Pierre2013-08-051-0/+15
| | | | | | | | | | | | | | | | This proxies RecvProbeData calls to child cores to expire the probe cache. The probe data itself is not relayed, just the fact that there was probe data received from a given client. Fixes #129.
* | MultiprocessingCore: greatly simplified parent-child RPC, removed ↵Chris St. Pierre2013-08-051-262/+145
| | | | | | | | non-thread-safe bits
* | MultiprocessingCore: added missing docstringChris St. Pierre2013-08-011-0/+6
| |
* | MultiprocessingCore: dispatch "bcfg2-admin perf" calls to childrenChris St. Pierre2013-07-311-3/+35
| |
* | MultiprocessingCore: timing out GetConfig() calls can cause memory issuesChris St. Pierre2013-07-311-6/+1
| |
* | MultiprocessingCore: added missing doc stringsChris St. Pierre2013-07-301-4/+14
| |
* | MultiprocessingCore: make multiprocessing children threaded for higher ↵Chris St. Pierre2013-07-301-139/+341
| | | | | | | | performance
* | MultiprocessingCore: rewrote parent-child RPC to be thread-safe (and less ↵Chris St. Pierre2013-07-231-67/+90
| | | | | | | | powerful)
* | MultiprocessingCore: Fixed return value from set_debugChris St. Pierre2013-07-221-1/+1
| |
* | MultiprocessingCore: removed unused importChris St. Pierre2013-07-221-1/+0
| |
* | MultiprocessingCore: Call Debuggable.__init__ on DispatchingCacheChris St. Pierre2013-07-221-2/+1
| |
* | MultiprocessingCore: Dispatch metadata cache expiration to childrenChris St. Pierre2013-07-221-10/+92
|/ | | | | | | | | | When the broker in a multiprocessing configuration expires its metadata cache (e.g., when probe data is received), it must dispatch that expiration call to its children. This also makes the protocol for communication between the broker and its children into a real RPC protocol, so we can do even more stuff in the future.
* Core: added more debugging on server shutdownChris St. Pierre2013-05-201-0/+1
|
* added multiprocessing server coreChris St. Pierre2013-05-201-0/+203