summaryrefslogtreecommitdiffstats
path: root/func/overlord
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2008-01-291-11/+21
|\
| * clean up expand servers a little bitAdrian Likins2008-01-291-11/+21
| |
* | All exceptions, async or otherwise, now come back as easily detectable ↵Michael DeHaan2008-01-292-14/+14
|/ | | | | | | signatures. Use utils.is_error(result) to determine if something is an error or isn't. Example scripts as well as func-inventory have been updated. See async_test.py for examples.
* Fixup to client noglobs invocation.Michael DeHaan2008-01-241-3/+2
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcAdrian Likins2008-01-233-273/+12
|\ | | | | | | | | | | Conflicts: func/overlord/client.py
| * Double-barrel asynchronous calls. Async can now occur on both sides ↵Michael DeHaan2008-01-231-1/+10
| | | | | | | | | | | | | | | | simultaneously and still appears as if there is only one "global" job id to the API caller, the minion job id's are managed in the background, complete with partial result response as things come in which should be very nice for ajaxy implication. job_status API does still need to be modified to list active jobs as well as to store the job name.
| * Moving the async and multiprocess stuff to top level so we can use themMichael DeHaan2008-01-233-272/+2
| | | | | | | | on the minion for minion side async funness.
* | first pass at allowing "groups" to be specified.Adrian Likins2008-01-232-2/+119
|/ | | | | Currently a ini style file in /etc/func/groups and they can be specified on the commandline as "@group"
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2008-01-173-5/+14
|\
| * oops, need that import afterallAdrian Likins2008-01-161-0/+1
| |
| * pychecker/pyflakesAdrian Likins2008-01-161-2/+0
| | | | | | | | remove unused imports
| * remove unused importAdrian Likins2008-01-161-1/+14
| | | | | | | | add license blob and #! line
| * pychecker/pyflakesAdrian Likins2008-01-161-3/+0
| | | | | | | | remove unused imports
* | Fix docstring.Michael DeHaan2008-01-171-1/+1
|/
* Make the --forks option also use storage that is not homedir based.Michael DeHaan2008-01-151-3/+3
|
* Make job engine delete jobs older than 1 hour, and store jobs not in ↵Michael DeHaan2008-01-151-6/+22
| | | | | | homedirs, so it doesn't have to be called by a user that has a homedir.
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2008-01-158-11/+7
|\
| * removed more shebangs from files that are not executable as part of the ↵Steve 'Ashcrow' Milner2008-01-142-4/+0
| | | | | | | | application. rpmlint should output less warnings/errors.
| * Our client.command.Command class looks for 'usage', not 'useage'Luke Macken2008-01-146-7/+7
| |
* | Jobthing is now functional (see async_test.py for example usage), we still needMichael DeHaan2008-01-151-6/+7
|/ | | | to delete jobs that have expired after a certain amount of time to avoid keeping too many results around in storage.
* No, you can't have just one bucket.Michael DeHaan2008-01-131-0/+5
|
* Update comments header in jobthingMichael DeHaan2008-01-131-3/+5
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2008-01-1310-33/+12
|\ | | | | | | | | | | Conflicts: func/overlord/client.py
| * Merge branch 'master' of ssh://git.fedorahosted.org/git/funcScott Henson2008-01-134-14/+3
| |\
| | * more deletions of shebangs.Steve 'Ashcrow' Milner2008-01-134-14/+3
| | |
| * | Merge branch 'master' of ssh://git.fedorahosted.org/git/funcScott Henson2008-01-136-17/+4
| |\|
| | * removed a lot of misplaced shebangs.Steve 'Ashcrow' Milner2008-01-136-17/+4
| | |
| * | Give people the ability to get exceptions back from the other side of the clientScott Henson2008-01-131-1/+4
| |/
* / Add jobthing, which is our async job engine. It's still in progressMichael DeHaan2008-01-133-8/+117
|/ | | | | and very much a prototype that isn't expected to work yet, but you get the idea.
* Tweak connection refused logic in func-inventoryMichael DeHaan2007-12-171-3/+7
|
* Make func-inventory work again, although more needs to be done to tolerate ↵Michael DeHaan2007-12-172-27/+25
| | | | systems that can't be connected to.
* Added inventory module for mount, though something has broken ↵Michael DeHaan2007-12-171-0/+5
| | | | func-inventory's ability to query remote modules and I am still chasing what that is.
* Fix the noglob handling, fixing things like func-inventory after the MultiplexerMichael DeHaan2007-12-111-4/+5
| | | | patches were applied.
* Applied James Anthill's patch to generalize "show" features, plus a releaseMichael DeHaan2007-12-111-29/+5
| | | | bump preparing for a new release to Fedora and EPEL mirrors.
* Integrating the multiplexer feature (forkbomb.py) with func's Client module. ↵Michael DeHaan2007-11-302-7/+26
| | | | This can be wired up to other modules as well, but I've only added it to "call" for now. To use it, pass in the option --forks=N, ex --forks=3 on the command line as an option to "call". The default is forks==1 which completely bypasses the fork code, just to ensure we don't break anything using the Func API that might not like it. (However I'm pretty sure it would be fine).
* Working on integrating the multiplexer code with funcMichael DeHaan2007-11-302-12/+26
|
* Add forkbomb.py, which is a module we'll use to implement the multiplexer.Michael DeHaan2007-11-301-0/+146
|
* make func-inventory smart enough to know that if a module just returns a ↵Michael DeHaan2007-10-261-0/+4
| | | | string, it doesn't have to pretty print it
* When func is invoked with no-args, show instructions rather than traceback.Michael DeHaan2007-10-261-0/+3
|
* This adds alternative output formats for func-inventory, so that other ↵Michael DeHaan2007-10-261-1/+30
| | | | | | programs could more easily read the tree. The default is still pretty print as that makes the git diffs nicest.
* Slight changes to make it easier to establish seperate client handles to all ↵Michael DeHaan2007-10-252-14/+25
| | | | | | | | | | servers and walk them, rather than using the Client as a multiplexer object. In most cases things won't care, but since ping is an interactive command that is not intended to ever be parsed, this gives the impression that things are more speedy for that one command. Syntax is still "func '*' ping"
* Added a ping function to the test module and a new command "func '*' ping" ↵Michael DeHaan2007-10-252-1/+72
| | | | | | | | | which can be used to see what servers are contactable from the command line for any given operation, without needing to run an otherwise meaningful command on them. Note that it does try to contact each server before showing results, so ideally we should provide a method in the client class to get the system list and create the client objects seperately for each contact, so output can stream back one line at a time. TBA.
* Make pretty printer be the default print option, and make a new option for ↵Michael DeHaan2007-10-251-6/+13
| | | | | | raw output that just uses Python print.
* Inventory module now defaults to calling 'inventory' methods, not 'info', to ↵Michael DeHaan2007-10-241-3/+3
| | | | | | | | represent that info() data may change frequently and not be something we want to track. Also fix the --no-git option.
* change copyfile cmd line to transmit file contents as binary blobsAdrian Likins2007-10-241-2/+2
| | | | | change copyfile minion module to accept blobs, add checksum_blob for doing plain blobs
* move "func list_minions" to be a cmd moduleAdrian Likins2007-10-242-16/+63
| | | | | | | | | So now it also respects the hostnamegoo glob, so you can use it to test glob patterns func "*.redhat.com" list_minions will show all the minions that match that pattern
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-10-231-1/+0
|\ | | | | | | | | | | Conflicts: func/overlord/client.py
| * remove unused func_command importAdrian Likins2007-10-231-1/+1
| | | | | | | | (was causing circular imports)
* | Initial go at the func inventory app (includes git integration). Docs TBA ↵Michael DeHaan2007-10-232-1/+154
|/ | | | shortly.
* Slight docs cleanup, make usage print the proper name of the app.Michael DeHaan2007-10-232-2/+1
|