Stavros Sachtouris [Thu, 25 Oct 2012 16:37:42 +0000 (19:37 +0300)]
Handle connection.close in repeated requests
Stavros Sachtouris [Thu, 25 Oct 2012 14:10:43 +0000 (17:10 +0300)]
Adjust get_firewall_profile expcted rspns frmt
Stavros Sachtouris [Thu, 25 Oct 2012 12:31:37 +0000 (15:31 +0300)]
Version 0.6.0
Stavros Sachtouris [Thu, 25 Oct 2012 12:20:00 +0000 (15:20 +0300)]
Fix unicode on httplib bug
Unicode headers or url might apear as httplib request
Although httplib can usually handle the problem, it breaks when
the body has been read from a binary file because
unicode_str + binary produces a UnicodeDecodeError
Thus the url, headers, etc are forced to be simple strings
Stavros Sachtouris [Tue, 23 Oct 2012 14:54:10 +0000 (17:54 +0300)]
Push error raising upload for testing
Stavros Sachtouris [Tue, 23 Oct 2012 14:21:54 +0000 (17:21 +0300)]
Raise block upload greenlet failure error
Stavros Sachtouris [Tue, 23 Oct 2012 12:20:46 +0000 (15:20 +0300)]
Try pithos without relative imports
Stavros Sachtouris [Mon, 22 Oct 2012 16:24:31 +0000 (19:24 +0300)]
Finish testing cyclades already!
OK, there are a couple of issues unresolved:
- disconnect_server
- network_profiles
Both of them are probably OK, but should be tested against proper
cyclades versions
Stavros Sachtouris [Mon, 22 Oct 2012 15:55:01 +0000 (18:55 +0300)]
test get_network_details
Stavros Sachtouris [Mon, 22 Oct 2012 15:45:53 +0000 (18:45 +0300)]
Unittest bugfixes
Stavros Sachtouris [Mon, 22 Oct 2012 15:19:59 +0000 (18:19 +0300)]
test connect/list_server_necs now works
Stavros Sachtouris [Mon, 22 Oct 2012 14:18:39 +0000 (17:18 +0300)]
Remove useless import
Stavros Sachtouris [Mon, 22 Oct 2012 13:55:21 +0000 (16:55 +0300)]
Fix import line in clients/connection
Stavros Sachtouris [Mon, 22 Oct 2012 13:23:46 +0000 (16:23 +0300)]
Test get_server_stats, list_networks
Stavros Sachtouris [Mon, 22 Oct 2012 12:53:45 +0000 (15:53 +0300)]
test connect_server (to nic) list_server_nics
Stavros Sachtouris [Fri, 19 Oct 2012 16:04:45 +0000 (19:04 +0300)]
Start testing network methods (nothing ready yet)
Stavros Sachtouris [Fri, 19 Oct 2012 15:27:16 +0000 (18:27 +0300)]
Improve cyclades test msgs
Stavros Sachtouris [Fri, 19 Oct 2012 14:32:15 +0000 (17:32 +0300)]
Test cyclades.py upto get/set_firewall_profile
Stavros Sachtouris [Fri, 19 Oct 2012 12:53:30 +0000 (15:53 +0300)]
Test get_image-metadata, server_console
Stavros Sachtouris [Thu, 18 Oct 2012 15:33:38 +0000 (18:33 +0300)]
Full flavor testing
Stavros Sachtouris [Thu, 18 Oct 2012 15:17:48 +0000 (18:17 +0300)]
Test delete_server_metadata and list_flavors
Stavros Sachtouris [Thu, 18 Oct 2012 12:37:22 +0000 (15:37 +0300)]
Minor fix
Stavros Sachtouris [Thu, 18 Oct 2012 12:36:49 +0000 (15:36 +0300)]
Merge branch 'develop' of https://code.grnet.gr/git/kamaki into develop
Stavros Sachtouris [Thu, 18 Oct 2012 12:35:11 +0000 (15:35 +0300)]
Improve interactive shell help
Stavros Sachtouris [Thu, 18 Oct 2012 12:25:58 +0000 (15:25 +0300)]
Improve interactive shell help msg
Stavros Sachtouris [Wed, 17 Oct 2012 15:27:41 +0000 (18:27 +0300)]
Bugfixes
Stavros Sachtouris [Wed, 17 Oct 2012 15:20:29 +0000 (18:20 +0300)]
Test create/get_server_metadata, reboot_server etc
Stavros Sachtouris [Wed, 17 Oct 2012 13:45:44 +0000 (16:45 +0300)]
Test update_server_name + minor bugfixes
Stavros Sachtouris [Tue, 16 Oct 2012 15:38:32 +0000 (18:38 +0300)]
Fix arguments in context switching
Stavros Sachtouris [Tue, 16 Oct 2012 14:47:44 +0000 (17:47 +0300)]
Minor fixes
Stavros Sachtouris [Tue, 16 Oct 2012 14:07:03 +0000 (17:07 +0300)]
Tide up a little
Stavros Sachtouris [Tue, 16 Oct 2012 13:22:49 +0000 (16:22 +0300)]
Kamaki now has interactive shell + minor fixes
Stavros Sachtouris [Mon, 15 Oct 2012 13:32:22 +0000 (16:32 +0300)]
Seperate shell from one-command cli
Stavros Sachtouris [Mon, 15 Oct 2012 09:44:30 +0000 (12:44 +0300)]
Quota Holder init (no functionality)
Stavros Sachtouris [Mon, 15 Oct 2012 09:00:47 +0000 (12:00 +0300)]
Rearange commands class hierarchy
Stavros Sachtouris [Fri, 12 Oct 2012 15:13:49 +0000 (18:13 +0300)]
Various behavioral fixes
Stavros Sachtouris [Fri, 12 Oct 2012 12:06:20 +0000 (15:06 +0300)]
Error details in default error message
Stavros Sachtouris [Fri, 12 Oct 2012 12:01:05 +0000 (15:01 +0300)]
Remove some debug msgs
Stavros Sachtouris [Fri, 12 Oct 2012 11:57:52 +0000 (14:57 +0300)]
Shell can run cmds with args ony from context
Stavros Sachtouris [Thu, 11 Oct 2012 15:38:46 +0000 (18:38 +0300)]
Multilevel command names and one-level api calls
Stavros Sachtouris [Thu, 11 Oct 2012 15:12:56 +0000 (18:12 +0300)]
Minor fixes
Stavros Sachtouris [Thu, 11 Oct 2012 14:18:03 +0000 (17:18 +0300)]
Initial shell functionality with 1st lvl cmds
Stavros Sachtouris [Thu, 11 Oct 2012 09:47:33 +0000 (12:47 +0300)]
Minor improvements
Stavros Sachtouris [Wed, 10 Oct 2012 13:58:51 +0000 (16:58 +0300)]
Interactive shell (without functionality ftm)
Stavros Sachtouris [Wed, 10 Oct 2012 13:19:24 +0000 (16:19 +0300)]
History clean and params
Stavros Sachtouris [Mon, 8 Oct 2012 16:15:54 +0000 (19:15 +0300)]
History as command
Stavros Sachtouris [Mon, 8 Oct 2012 15:14:05 +0000 (18:14 +0300)]
Remove History Argument
Stavros Sachtouris [Mon, 8 Oct 2012 14:55:58 +0000 (17:55 +0300)]
Adjust cyclades clis, rearange command locations
Stavros Sachtouris [Mon, 8 Oct 2012 10:20:56 +0000 (13:20 +0300)]
Add history handling - no history storage yet
Stavros Sachtouris [Fri, 5 Oct 2012 15:58:07 +0000 (18:58 +0300)]
Adjust config
Stavros Sachtouris [Fri, 5 Oct 2012 15:33:17 +0000 (18:33 +0300)]
Adjust astakos
Stavros Sachtouris [Fri, 5 Oct 2012 15:17:01 +0000 (18:17 +0300)]
Rename command (mixed with method "command")
Stavros Sachtouris [Fri, 5 Oct 2012 15:12:30 +0000 (18:12 +0300)]
Fix command args bug
Stavros Sachtouris [Fri, 5 Oct 2012 15:03:47 +0000 (18:03 +0300)]
Refactor command-tree. Better code, still buggy
Stavros Sachtouris [Wed, 3 Oct 2012 14:20:24 +0000 (17:20 +0300)]
Re-write Command-Tree (cleaner and faster)
Stavros Sachtouris [Tue, 2 Oct 2012 13:31:15 +0000 (16:31 +0300)]
Completed Pithos_cli adjustment
Stavros Sachtouris [Tue, 2 Oct 2012 10:43:49 +0000 (13:43 +0300)]
Fix help message formating, go on with pithos_cli
Stavros Sachtouris [Tue, 2 Oct 2012 09:32:41 +0000 (12:32 +0300)]
Show command-specific help
Stavros Sachtouris [Mon, 1 Oct 2012 12:35:12 +0000 (15:35 +0300)]
Interuption - Haven't finished pithos_cli adjust
Stavros Sachtouris [Mon, 1 Oct 2012 11:14:14 +0000 (14:14 +0300)]
Adjust store list to new arg/config mechanism
Stavros Sachtouris [Fri, 28 Sep 2012 14:58:24 +0000 (17:58 +0300)]
Complete one-command CLI, but still doesn't work
missing:
1. fix the command_specs with new argument system
2. Maybe take advantage of the arbitary length of command terms for more
expressive syntax/semantics
Stavros Sachtouris [Thu, 27 Sep 2012 16:47:26 +0000 (19:47 +0300)]
Refactor CommandTree, parse and get cli class
Stavros Sachtouris [Tue, 25 Sep 2012 16:14:27 +0000 (19:14 +0300)]
Test CommandTree usage and notice it's no good
CommandTree is not as convinient to use as planned, maybe it should
be redesinged
Stavros Sachtouris [Tue, 25 Sep 2012 14:48:57 +0000 (17:48 +0300)]
Fix CLI top level error handling
Stavros Sachtouris [Tue, 25 Sep 2012 13:50:56 +0000 (16:50 +0300)]
Argument object handles part of the functionality
+minor fixes
Stavros Sachtouris [Fri, 21 Sep 2012 16:01:04 +0000 (19:01 +0300)]
Basic CommandTree debugging and other minor fixes
Stavros Sachtouris [Fri, 21 Sep 2012 15:14:15 +0000 (18:14 +0300)]
First version of error managing system for CLI
Stavros Sachtouris [Fri, 21 Sep 2012 15:07:21 +0000 (18:07 +0300)]
Start a great deal of CLI modifictions
Argument class wraps python ArgumentParser to provide a convinient arg system
CommandTree class manages (store, load, seek, etc) a tree of command paths
and loads them from command spec files.
Under heavy development
Target: simplify the development of various CLIs, e.g. one-command, shells, etc
Stavros Sachtouris [Thu, 20 Sep 2012 14:31:58 +0000 (17:31 +0300)]
Minor fixes
Stavros Sachtouris [Thu, 20 Sep 2012 11:20:44 +0000 (14:20 +0300)]
Unitest everything untested in pithos client
Stavros Sachtouris [Thu, 20 Sep 2012 10:11:00 +0000 (13:11 +0300)]
Unitest get_container_object_meta
Stavros Sachtouris [Thu, 20 Sep 2012 09:59:52 +0000 (12:59 +0300)]
Unitest set_account_quota/versioning, ls_container
Stavros Sachtouris [Thu, 20 Sep 2012 09:52:23 +0000 (12:52 +0300)]
Unitest get_account_quota/versioning
Stavros Sachtouris [Thu, 20 Sep 2012 09:34:42 +0000 (12:34 +0300)]
Unitest upload_object_unchunked
Stavros Sachtouris [Thu, 20 Sep 2012 09:26:32 +0000 (12:26 +0300)]
Unitest purge, create_by_manifestation, versionlst
Stavros Sachtouris [Wed, 19 Sep 2012 14:17:21 +0000 (17:17 +0300)]
Support range at file (threaded) download
Stavros Sachtouris [Wed, 19 Sep 2012 13:43:45 +0000 (16:43 +0300)]
Add range in stream download
Stavros Sachtouris [Wed, 19 Sep 2012 11:06:12 +0000 (14:06 +0300)]
Get rid of pithos_sh
The old profecy "there will be only one [Pithos Client]" is finally
fullfilled
Stavros Sachtouris [Wed, 19 Sep 2012 10:42:41 +0000 (13:42 +0300)]
Kamaki CLI/clients sharers implementation
mimics pithos_sh account sharers
Stavros Sachtouris [Tue, 18 Sep 2012 15:31:45 +0000 (18:31 +0300)]
Get rid of pithos_sh hash methods in download
Stavros Sachtouris [Tue, 18 Sep 2012 15:13:42 +0000 (18:13 +0300)]
Merge branch 'develop' of https://code.grnet.gr/git/kamaki into develop
Conflicts:
kamaki/clients/pithos.py
Stavros Sachtouris [Tue, 18 Sep 2012 15:10:09 +0000 (18:10 +0300)]
Much faster download resume
Don't preload local file blocks, but load each one dynamically
only before it is downloaded, and compare
Stavros Sachtouris [Tue, 18 Sep 2012 14:58:49 +0000 (17:58 +0300)]
Much faster resume in download
Stavros Sachtouris [Tue, 18 Sep 2012 14:29:17 +0000 (17:29 +0300)]
Minor CLI download behavior fixes
Stavros Sachtouris [Tue, 18 Sep 2012 13:58:41 +0000 (16:58 +0300)]
Pithos download supports resume (again)
Stavros Sachtouris [Tue, 18 Sep 2012 12:55:05 +0000 (15:55 +0300)]
Voodo-fix mysterious header-destroying request bug
Stavros Sachtouris [Tue, 18 Sep 2012 11:07:03 +0000 (14:07 +0300)]
Fix safe headers/params bug, pithos download bug
Stavros Sachtouris [Tue, 18 Sep 2012 09:11:48 +0000 (12:11 +0300)]
Greenlet/thread safe header/param requests
Requests can now distinguish between "global" headers/params
and thread-specific.
Stavros Sachtouris [Fri, 14 Sep 2012 12:50:47 +0000 (15:50 +0300)]
Refactor pithos+ download
3-modes:
a sequential
b sequential with resume
c asynchronous/parallel
bug: Still can't multi-download correctly
Stavros Sachtouris [Thu, 13 Sep 2012 10:28:44 +0000 (13:28 +0300)]
Workarround an eventlist random bug in downloading
Stavros Sachtouris [Thu, 13 Sep 2012 09:47:31 +0000 (12:47 +0300)]
Make object-download code readable
Stavros Sachtouris [Wed, 12 Sep 2012 15:48:18 +0000 (18:48 +0300)]
Seperate pithos rest api from pithos lib
Stavros Sachtouris [Wed, 12 Sep 2012 15:47:28 +0000 (18:47 +0300)]
Mild refactoring to download and upload @pithos.py
Stavros Sachtouris [Wed, 12 Sep 2012 12:03:55 +0000 (15:03 +0300)]
Fully integrate http connection modifications
Stavros Sachtouris [Wed, 12 Sep 2012 10:21:01 +0000 (13:21 +0300)]
Fix gevent bug, move release action to connection
Stavros Sachtouris [Wed, 12 Sep 2012 09:16:27 +0000 (12:16 +0300)]
Minor bugfixes
Stavros Sachtouris [Tue, 11 Sep 2012 15:10:34 +0000 (18:10 +0300)]
Implement kamakicon, use it
kamakicon: an httplib/ObjectPool based connection class
Stavros Sachtouris [Mon, 10 Sep 2012 13:30:04 +0000 (16:30 +0300)]
Minor bugfixes
Stavros Sachtouris [Mon, 10 Sep 2012 09:18:29 +0000 (12:18 +0300)]
Pool connections
Requests also block if pool is full (used to be just for
responses)
Stavros Sachtouris [Fri, 7 Sep 2012 09:51:18 +0000 (12:51 +0300)]
Use connection pool after redesigning http connect
HTTPRequestsXxx objects now use connection pooling
Atually, connections are not pooled, but responses are.
Implementation of connection pooling with httplib not ready yet
Pooling tested in uploads