Stavros Sachtouris [Fri, 7 Dec 2012 16:28:39 +0000 (18:28 +0200)]
Propagate error handling to cli.utils
Stavros Sachtouris [Fri, 7 Dec 2012 16:17:18 +0000 (18:17 +0200)]
Propagate new error handling to cli.commands
New error handling is done only with cli.errors raiseCLIError methos
Stavros Sachtouris [Fri, 7 Dec 2012 15:43:01 +0000 (17:43 +0200)]
Kamakitest error msgs, error-handling bugfixes
Stavros Sachtouris [Fri, 7 Dec 2012 15:06:59 +0000 (17:06 +0200)]
Propagate error mechanism in pithos_cli
Stavros Sachtouris [Fri, 7 Dec 2012 14:05:38 +0000 (16:05 +0200)]
Trace errors in cli.commands mechanism-not prpgtd
Stavros Sachtouris [Fri, 7 Dec 2012 12:49:45 +0000 (14:49 +0200)]
Track and log errors at connection and clients mod
Stavros Sachtouris [Thu, 6 Dec 2012 15:52:55 +0000 (17:52 +0200)]
Merge branch 'rfctr-argument' into develop
Stavros Sachtouris [Thu, 6 Dec 2012 15:52:21 +0000 (17:52 +0200)]
Fix shell extra args bug
Stavros Sachtouris [Thu, 6 Dec 2012 15:11:36 +0000 (17:11 +0200)]
Forgotten print
Stavros Sachtouris [Thu, 6 Dec 2012 14:50:29 +0000 (16:50 +0200)]
Propagate-debug changes for shell + debug
Stavros Sachtouris [Thu, 6 Dec 2012 13:36:08 +0000 (15:36 +0200)]
Cleanup deprecated method in argument
Stavros Sachtouris [Thu, 6 Dec 2012 12:25:04 +0000 (14:25 +0200)]
Propagate-debug changes for one-cmd
Stavros Sachtouris [Thu, 6 Dec 2012 11:22:30 +0000 (13:22 +0200)]
Design ArgumentParseManager, implement fnctionlity
Stavros Sachtouris [Thu, 6 Dec 2012 10:23:34 +0000 (12:23 +0200)]
Create ArgumentParseManager, with __init__
constructor replaces init_parser,
update_parser member method replaces upadte_argument (not tested)
Stavros Sachtouris [Thu, 6 Dec 2012 10:21:22 +0000 (12:21 +0200)]
rid of init_parser
Stavros Sachtouris [Wed, 5 Dec 2012 17:24:31 +0000 (19:24 +0200)]
Better pithos upload progressbar
Stavros Sachtouris [Wed, 5 Dec 2012 15:30:30 +0000 (17:30 +0200)]
Comments for better docs in Connection
Stavros Sachtouris [Wed, 5 Dec 2012 11:38:39 +0000 (13:38 +0200)]
kamakicon comments doc-friendly
Stavros Sachtouris [Wed, 5 Dec 2012 10:36:31 +0000 (12:36 +0200)]
Docs reflect the new pooling depdncy
Stavros Sachtouris [Wed, 5 Dec 2012 10:08:14 +0000 (12:08 +0200)]
Progress bar apears asap
Stavros Sachtouris [Wed, 5 Dec 2012 09:47:33 +0000 (11:47 +0200)]
Merge branch 'dionyziz' into develop
Conflicts:
setup.py
Docs adjusted
Stavros Sachtouris [Wed, 5 Dec 2012 09:32:40 +0000 (11:32 +0200)]
Remove unittesting depndcy on progress.bar
Stavros Sachtouris [Tue, 4 Dec 2012 17:44:54 +0000 (19:44 +0200)]
Minor doc fix
Stavros Sachtouris [Tue, 4 Dec 2012 17:35:44 +0000 (19:35 +0200)]
add unittests requirment (progress)
Dionysis Zindros [Tue, 4 Dec 2012 16:57:56 +0000 (11:57 -0500)]
Merge remote branch 'origin/master' into dionyziz
Dionysis Zindros [Tue, 4 Dec 2012 16:46:48 +0000 (11:46 -0500)]
Fix pithos testcase that runs out of memory
Stavros Sachtouris [Tue, 4 Dec 2012 15:09:35 +0000 (17:09 +0200)]
Update/improve client unittests
1. increase test_set_firewall_profile tollerance
2. all options from config files
3. let tests read options from custom config files
Stavros Sachtouris [Tue, 4 Dec 2012 11:49:56 +0000 (13:49 +0200)]
Clean-up and update comments in clients.utils
1. Remove deprecated or unused methods dict2file, list2file, prefix_keys
2. Rename and update comments to help sphinx create better documentation
Stavros Sachtouris [Tue, 4 Dec 2012 11:17:29 +0000 (13:17 +0200)]
Update docs and doc-parsed comments in storage
docs: replace Glance with Plankton
storage: standard sphincs-parsable comments
Dionysis Zindros [Tue, 4 Dec 2012 10:36:38 +0000 (05:36 -0500)]
Rename object pool library from pool to objpool
Dionysis Zindros [Mon, 3 Dec 2012 14:04:07 +0000 (09:04 -0500)]
Split pool into separate lib; remove snf-common deps
Dionysis Zindros [Mon, 3 Dec 2012 12:22:42 +0000 (07:22 -0500)]
Add ordereddict and argparse dependencies
Stavros Sachtouris [Fri, 30 Nov 2012 16:29:06 +0000 (18:29 +0200)]
There are always some typos...
Stavros Sachtouris [Fri, 30 Nov 2012 16:24:32 +0000 (18:24 +0200)]
Update comment docs at pithos client
Stavros Sachtouris [Fri, 30 Nov 2012 16:06:47 +0000 (18:06 +0200)]
Change order of params for get_object_meta
Stavros Sachtouris [Fri, 30 Nov 2012 15:28:56 +0000 (17:28 +0200)]
Update comment docs for astakos client
Stavros Sachtouris [Fri, 30 Nov 2012 15:24:49 +0000 (17:24 +0200)]
Update comment docs for image client
Stavros Sachtouris [Fri, 30 Nov 2012 15:07:14 +0000 (17:07 +0200)]
Update comments cods for cyclades clients
Stavros Sachtouris [Fri, 30 Nov 2012 14:17:17 +0000 (16:17 +0200)]
Restructure cyclades client, update comment docs
Stavros Sachtouris [Fri, 30 Nov 2012 14:06:05 +0000 (16:06 +0200)]
Update kamaki.clients.compute commends + restruct
Stavros Sachtouris [Fri, 30 Nov 2012 13:16:02 +0000 (15:16 +0200)]
Restructure kamaki.clients.compute
Stavros Sachtouris [Fri, 30 Nov 2012 11:47:26 +0000 (13:47 +0200)]
Recover accidentaly removed usefull code line
Stavros Sachtouris [Fri, 30 Nov 2012 11:09:20 +0000 (13:09 +0200)]
Complete kamaki.cli.argument documentation
Stavros Sachtouris [Thu, 29 Nov 2012 17:11:06 +0000 (19:11 +0200)]
End of day: argument docs tomorrow
Stavros Sachtouris [Thu, 29 Nov 2012 16:36:28 +0000 (18:36 +0200)]
Update pithos_cli comments for better autodocs
Stavros Sachtouris [Thu, 29 Nov 2012 16:14:18 +0000 (18:14 +0200)]
Merge branch 'develop'
Conflicts:
docs/overview.rst
Stavros Sachtouris [Thu, 29 Nov 2012 16:11:25 +0000 (18:11 +0200)]
Replace pithos_cli.MetaArguement with KeyValueArg
Constantinos Venetsanopoulos [Thu, 29 Nov 2012 15:38:36 +0000 (17:38 +0200)]
Update synnefo mailing lists on docs/man pages
Stavros Sachtouris [Thu, 29 Nov 2012 14:58:52 +0000 (16:58 +0200)]
Minot fixes
Stavros Sachtouris [Thu, 29 Nov 2012 14:51:36 +0000 (16:51 +0200)]
Rearange and complete developers guide
Stavros Sachtouris [Wed, 28 Nov 2012 17:11:48 +0000 (19:11 +0200)]
How to build kamaki cli (not finished)
Stavros Sachtouris [Wed, 28 Nov 2012 15:19:08 +0000 (17:19 +0200)]
Unittest reregister
Stavros Sachtouris [Wed, 28 Nov 2012 14:58:56 +0000 (16:58 +0200)]
Move subsections were they belong
Documention features that are missing:
- More examples in usage
- An analytical guide on how to create a kamaki cli command spec
- More details on developing thread-safe clients
Stavros Sachtouris [Wed, 28 Nov 2012 14:54:26 +0000 (16:54 +0200)]
Rearrange sections in docs, add developer corner
Stavros Sachtouris [Wed, 28 Nov 2012 10:42:59 +0000 (12:42 +0200)]
Installation guide
Stavros Sachtouris [Tue, 27 Nov 2012 17:20:55 +0000 (19:20 +0200)]
Modify documentation structure
Stavros Sachtouris [Tue, 27 Nov 2012 15:57:35 +0000 (17:57 +0200)]
Spell-check current documentation
Stavros Sachtouris [Tue, 27 Nov 2012 15:27:50 +0000 (17:27 +0200)]
Complete the kamaki interactive shell usage guide
Not spell-checked yet
Stavros Sachtouris [Tue, 27 Nov 2012 12:29:11 +0000 (14:29 +0200)]
Restore server-create --personality syntax etc.
the server-create command can, again, use the old syntax for --personality
parameter. What's more, multiple personalities can be appended on the
same call:
kamaki server create 'server name' <flavor id> <image id>
--personality=/local/path[,server/path[,owner[,group[,mode]]]]
--personlity=/other/path[,...]
...
--personality=/last/path[,...]
Stavros Sachtouris [Tue, 27 Nov 2012 12:03:23 +0000 (14:03 +0200)]
Restore old personality syntax
Syntax is now the following:
kamaki create server 'Server name' <flavor id> <image id> [... params ...]
--personality=local_path[,server_path[,owner[,group[,mode]]]]
Stavros Sachtouris [Mon, 26 Nov 2012 18:27:47 +0000 (20:27 +0200)]
Add interactive shell help (2b continued)
Stavros Sachtouris [Mon, 26 Nov 2012 12:12:26 +0000 (14:12 +0200)]
Fix sphinx auto-doc syntax warning
Stavros Sachtouris [Fri, 23 Nov 2012 17:25:45 +0000 (19:25 +0200)]
Document with client cli commands showcases
Stavros Sachtouris [Fri, 23 Nov 2012 16:33:23 +0000 (18:33 +0200)]
Document command specs and one-command interface
Stavros Sachtouris [Fri, 23 Nov 2012 13:46:12 +0000 (15:46 +0200)]
Fix image_cli properties bug
Stavros Sachtouris [Fri, 23 Nov 2012 13:38:35 +0000 (15:38 +0200)]
Quick setup guide, remove empty lins in image list
Stavros Sachtouris [Fri, 23 Nov 2012 10:39:37 +0000 (12:39 +0200)]
Fix quoted-input bug in one-cmd
Stavros Sachtouris [Fri, 23 Nov 2012 10:13:38 +0000 (12:13 +0200)]
Initialize new documents in docs
Stavros Sachtouris [Thu, 22 Nov 2012 16:22:59 +0000 (18:22 +0200)]
Expand documentation
Kostas Papadimitriou [Thu, 22 Nov 2012 13:36:03 +0000 (15:36 +0200)]
Sphinx config file fixes
- proper path append
- check if snf-common is available
Stavros Sachtouris [Thu, 22 Nov 2012 13:33:57 +0000 (15:33 +0200)]
Fix some docs errors
Stavros Sachtouris [Thu, 22 Nov 2012 13:21:45 +0000 (15:21 +0200)]
Fix local-path ref, undo register_cli syntax modif
WAS: register <name> <location>
THEN: register <location> [name]
NOW: register <name> <location>
but can run with --update to update an existing image instead of
replacing it
Stavros Sachtouris [Wed, 21 Nov 2012 12:35:57 +0000 (14:35 +0200)]
Remove forgoten test from image_cli
Stavros Sachtouris [Wed, 21 Nov 2012 10:42:26 +0000 (12:42 +0200)]
Update version and README
Stavros Sachtouris [Wed, 21 Nov 2012 10:39:52 +0000 (12:39 +0200)]
Update docs, fix bug when progress not installed
Stavros Sachtouris [Tue, 20 Nov 2012 17:03:43 +0000 (19:03 +0200)]
Merge branch 'develop'
Stavros Sachtouris [Tue, 20 Nov 2012 17:03:02 +0000 (19:03 +0200)]
Pretify print_items
Stavros Sachtouris [Tue, 20 Nov 2012 16:25:24 +0000 (18:25 +0200)]
Print id before other info in network_list
Stavros Sachtouris [Tue, 20 Nov 2012 16:17:44 +0000 (18:17 +0200)]
Add --update functionality to image register ui
Stavros Sachtouris [Tue, 20 Nov 2012 16:07:16 +0000 (18:07 +0200)]
New image method: reregister(location[, ...])
Stavros Sachtouris [Tue, 20 Nov 2012 13:58:29 +0000 (15:58 +0200)]
Adjust kamaki.clients unittesting
Stavros Sachtouris [Tue, 20 Nov 2012 12:13:42 +0000 (14:13 +0200)]
Move split_line code to cli.utils
Stavros Sachtouris [Tue, 20 Nov 2012 12:01:45 +0000 (14:01 +0200)]
Match more quoted text
Single quotes have now higher priority than double quotes
and they can be used together. E.g.
[server]: create 'Name "middle name" surname' 43 im@g31d5tr1ng
will push
Name "middle name" surname
as the name of the VM to the server
Stavros Sachtouris [Tue, 20 Nov 2012 11:15:09 +0000 (13:15 +0200)]
Parse quoted strings in interactive shell
Stavros Sachtouris [Mon, 19 Nov 2012 16:26:28 +0000 (18:26 +0200)]
Forgot smth
Stavros Sachtouris [Mon, 19 Nov 2012 16:23:25 +0000 (18:23 +0200)]
Unittest parallel server creation
Stavros Sachtouris [Mon, 19 Nov 2012 14:42:58 +0000 (16:42 +0200)]
Fix config-forget bug
Stavros Sachtouris [Mon, 19 Nov 2012 12:01:54 +0000 (14:01 +0200)]
Upgrade progress compatibility to 1.0.2
New progress uses a different interface with start and finish methods
that they are now used
Stavros Sachtouris [Fri, 16 Nov 2012 16:59:19 +0000 (18:59 +0200)]
Reload config after config modifications in shell
Stavros Sachtouris [Fri, 16 Nov 2012 16:17:54 +0000 (18:17 +0200)]
Thread limit can be set by user
Stavros Sachtouris [Fri, 16 Nov 2012 15:31:35 +0000 (17:31 +0200)]
Gradual thread inc/decrease in up/download
Thread inc/decrease is now generic for all clients that might need it
with the method _watch_thread_limit
Algorithm: set a small thread limit and when reached wait for active threads to
finish. Measure avg time. If avg time decreases, increase thread limit
If avg time increases, decrease thread limit.
Stavros Sachtouris [Fri, 16 Nov 2012 14:04:10 +0000 (16:04 +0200)]
Fix multi-cmd _best_match bug
Giorgos Korfiatis [Fri, 16 Nov 2012 13:10:21 +0000 (15:10 +0200)]
Revert "Add cli for quotaholder."
This reverts commit
d8a2b1c568dae513aa880435dfc976beefa7ba89.
Stavros Sachtouris [Fri, 16 Nov 2012 12:14:40 +0000 (14:14 +0200)]
Fix forgotten import
Stavros Sachtouris [Fri, 16 Nov 2012 12:10:35 +0000 (14:10 +0200)]
Avoid to many threads in upload
Giorgos Korfiatis [Fri, 16 Nov 2012 11:43:31 +0000 (13:43 +0200)]
Add cli for quotaholder.
Stavros Sachtouris [Fri, 16 Nov 2012 10:00:58 +0000 (12:00 +0200)]
Context roll-back in case of exit
Stavros Sachtouris [Thu, 15 Nov 2012 16:48:28 +0000 (18:48 +0200)]
Complete top-level commands from everywhere
Usage: in kamaki shell, from any context, user can write:
/<command> <subcmds... and params...>
Stavros Sachtouris [Thu, 15 Nov 2012 16:09:49 +0000 (18:09 +0200)]
Fix top-level from top-level call bug
Idea: in pre: add top level commands as /<command>
slightly different registration
Stavros Sachtouris [Thu, 15 Nov 2012 16:07:30 +0000 (18:07 +0200)]
Access top-level commands from anywhere in shell
Execs top-level commands but doesn't roll back correctly