summaryrefslogtreecommitdiffstats
path: root/src/lib/Component.py
Commit message (Collapse)AuthorAgeFilesLines
* Call Core.shutdown explicitly when the XMLRPCServer exists. Fixes server ↵Tim Laszlo2010-06-111-0/+1
| | | | | | hang on lucid git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5925 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-071-1/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5899 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-server: Add sanity check for bcfg2.conf (Resolves Ticket #797)Sol Jerome2010-02-241-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5742 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: Use custom bcfg2.conf when specified (Fix for #839)Sol Jerome2010-02-081-4/+4
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5716 ce84e21b-d406-0410-9b95-82705330c041
* Component: pass through xmlrpc Fault instances [bugfix]Narayan Desai2010-01-061-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5661 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-server: Enable logging to file (fixes #817) [bugfix]Sol Jerome2009-12-201-3/+6
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5627 ce84e21b-d406-0410-9b95-82705330c041
* Pylint/PEP 8 Code cleanupsSol Jerome2009-10-071-42/+42
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041
* Component: remove unneeded call to umask (Resolves Ticket #714)Narayan Desai2009-09-231-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5455 ce84e21b-d406-0410-9b95-82705330c041
* Xcmd: Improve error handling for unknown rmi methodsNarayan Desai2009-09-181-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5443 ce84e21b-d406-0410-9b95-82705330c041
* SSL: Implement protocol selection in bcfg2.confNarayan Desai2009-06-241-2/+3
| | | | | | | Add explicit knob to select encryption for client/server connections. The default value is xmlrpc/ssl, but xmlrpc/tlsv1 is also supported (needed to use DOE grid certs) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5297 ce84e21b-d406-0410-9b95-82705330c041
* Improve server error handlingNarayan Desai2009-06-231-3/+8
| | | | | | | | Issues - Log bind failures properly - Log ssl key/cert/ca key existence problems git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5294 ce84e21b-d406-0410-9b95-82705330c041
* Fix one more try/except/finallyNarayan Desai2009-05-141-4/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5231 ce84e21b-d406-0410-9b95-82705330c041
* Fix py2.4 portability (try/except/finally is 2.5+) (Reported by Lisa Giacchetti)Narayan Desai2009-05-141-8/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5229 ce84e21b-d406-0410-9b95-82705330c041
* Implement perf-reporting clientNarayan Desai2009-05-141-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5228 ce84e21b-d406-0410-9b95-82705330c041
* Integrate server-side performance statistics infrastructureNarayan Desai2009-05-141-0/+14
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5225 ce84e21b-d406-0410-9b95-82705330c041
* SSL Server code: Remove some fixmes and remove dead (from bcfg2) codeNarayan Desai2009-05-061-76/+13
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5190 ce84e21b-d406-0410-9b95-82705330c041
* Get basic auth working again with new ssl frameworkNarayan Desai2009-05-061-7/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5189 ce84e21b-d406-0410-9b95-82705330c041
* more to python 2.6 sslNarayan Desai2009-05-061-304/+280
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5187 ce84e21b-d406-0410-9b95-82705330c041
* Component: force client socket shutdownNarayan Desai2009-05-061-1/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5181 ce84e21b-d406-0410-9b95-82705330c041
* Implement ssl certificate split, in preparation for SSL client cert authNarayan Desai2009-04-081-6/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5155 ce84e21b-d406-0410-9b95-82705330c041
* Make file monitor selectableNarayan Desai2008-09-091-1/+3
| | | | | | | Handle child processes more aggressively git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4908 ce84e21b-d406-0410-9b95-82705330c041
* Nicer traceback for debugging. Easier to read since it's line splittedSteve Tousignant2008-09-031-2/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4904 ce84e21b-d406-0410-9b95-82705330c041
* Fix request handler traceback if client disappear suddenly (cosmetic)Narayan Desai2008-04-011-0/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4469 ce84e21b-d406-0410-9b95-82705330c041
* Move req.cleanup initialization earlierNarayan Desai2008-03-161-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4422 ce84e21b-d406-0410-9b95-82705330c041
* Improve scaling behavior for non-forked handlers. Basically,Narayan Desai2008-03-151-0/+6
| | | | | | | | | once a handler (ie GetConfig) is executed synchronously, fork of a child process in order to get more parallelism out of the server. This will help in the case that some clients are slow (no m2crypto, etc) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4420 ce84e21b-d406-0410-9b95-82705330c041
* Remove old debug messageNarayan Desai2008-01-241-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4288 ce84e21b-d406-0410-9b95-82705330c041
* Remove proxy use from ComponentNarayan Desai2008-01-161-25/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4249 ce84e21b-d406-0410-9b95-82705330c041
* Switch all parsing to outer scripts for ComponentNarayan Desai2008-01-081-18/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4206 ce84e21b-d406-0410-9b95-82705330c041
* Fix handling of basic http auth [bugfix]Narayan Desai2008-01-081-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4203 ce84e21b-d406-0410-9b95-82705330c041
* Clean up location handling in ComponentNarayan Desai2007-12-311-6/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4152 ce84e21b-d406-0410-9b95-82705330c041
* cleanup codeRobert Gogolok2007-12-311-5/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4145 ce84e21b-d406-0410-9b95-82705330c041
* Switch over to more Options usage and complete tests (everything appears to ↵Narayan Desai2007-12-311-11/+17
| | | | | | work now) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4142 ce84e21b-d406-0410-9b95-82705330c041
* Settings class to remove redundant code for parsing config file.Robert Gogolok2007-12-301-25/+14
| | | | | | | | | | If a module wants to access bcfg2 settings: from Bcfg2.Settings import settings git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4131 ce84e21b-d406-0410-9b95-82705330c041
* Child proc fixNarayan Desai2007-07-271-2/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3576 ce84e21b-d406-0410-9b95-82705330c041
* Implementing selective forking server, which runs read-only requests in ↵Narayan Desai2007-07-251-7/+42
| | | | | | child processes. Should dramatically improve scalability git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3561 ce84e21b-d406-0410-9b95-82705330c041
* merging back in xmlrpc branch for agent-mode supportJoey Hagedorn2007-07-191-14/+43
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3505 ce84e21b-d406-0410-9b95-82705330c041
* fix typoNarayan Desai2007-07-131-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3444 ce84e21b-d406-0410-9b95-82705330c041
* Add checker support to ComponentNarayan Desai2007-07-131-2/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3441 ce84e21b-d406-0410-9b95-82705330c041
* move Component to new locationNarayan Desai2007-07-131-0/+280
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3440 ce84e21b-d406-0410-9b95-82705330c041