Stavros Sachtouris [Tue, 22 Oct 2013 10:45:01 +0000 (13:45 +0300)]
Fix bug with permissions get
Stavros Sachtouris [Wed, 9 Oct 2013 15:43:57 +0000 (18:43 +0300)]
Merge branch 'feature-docs-register-examples' into develop
Stavros Sachtouris [Wed, 9 Oct 2013 15:40:05 +0000 (18:40 +0300)]
Fix image register example sin documentation
Problem: it was not clear if properties are mandatory in image registration
Stavros Sachtouris [Wed, 9 Oct 2013 13:43:38 +0000 (16:43 +0300)]
Update version and Changelog (new version)
Stavros Sachtouris [Wed, 9 Oct 2013 12:54:18 +0000 (15:54 +0300)]
Check if personality mode is always in octal
Stavros Sachtouris [Wed, 9 Oct 2013 10:00:27 +0000 (13:00 +0300)]
Fix typo
Stavros Sachtouris [Tue, 8 Oct 2013 14:17:34 +0000 (17:17 +0300)]
Fix utils unit test
Stavros Sachtouris [Tue, 8 Oct 2013 14:00:30 +0000 (17:00 +0300)]
Merge branch 'feature-cluster' into develop
Stavros Sachtouris [Tue, 8 Oct 2013 13:48:32 +0000 (16:48 +0300)]
Sum up the showcase in one concrete example
Refs: #4441
Stavros Sachtouris [Mon, 7 Oct 2013 15:33:05 +0000 (18:33 +0300)]
Create a step by step showcase kamaki.lib example
Refs: #4441
This example involves astakos, pithos, image and cyclades clients
It also shows how to use kamaki.cli.config to get cloud information
It attempts to create a cluster of VMs from a user-created image,
from scratch.
Stavros Sachtouris [Fri, 4 Oct 2013 14:51:00 +0000 (17:51 +0300)]
Merge branch 'feature-cluster' into develop
Stavros Sachtouris [Fri, 4 Oct 2013 14:50:15 +0000 (17:50 +0300)]
Make delete cluster docs a bit more intuitive
Refs: #4429
Stavros Sachtouris [Fri, 4 Oct 2013 14:29:31 +0000 (17:29 +0300)]
Merge branch 'feature-cluster' into develop
Stavros Sachtouris [Fri, 4 Oct 2013 14:28:31 +0000 (17:28 +0300)]
Add some documentation for cluster management
Refs: #4429
Stavros Sachtouris [Fri, 4 Oct 2013 09:42:44 +0000 (12:42 +0300)]
Catch errors and notify user in a helpful manner
Refs: #4429
Stavros Sachtouris [Thu, 3 Oct 2013 15:46:52 +0000 (18:46 +0300)]
Move cluster handling in server create/delete
Refs: #4429
Stavros Sachtouris [Thu, 3 Oct 2013 13:18:05 +0000 (16:18 +0300)]
Create/expose methods for mass VM create/delete
Refs: #4429
Stavros Sachtouris [Thu, 3 Oct 2013 09:20:03 +0000 (12:20 +0300)]
Merge branch 'feature-document-config-lib' into develop
Stavros Sachtouris [Thu, 3 Oct 2013 08:37:14 +0000 (11:37 +0300)]
Fix pep8 error
Stavros Sachtouris [Thu, 3 Oct 2013 08:24:41 +0000 (11:24 +0300)]
Add info about default CONFIG_PATH
Stavros Sachtouris [Wed, 2 Oct 2013 16:05:43 +0000 (19:05 +0300)]
Create a config section in devs documentation
Explain config accessors, emphasize on cloud handling
Stavros Sachtouris [Wed, 2 Oct 2013 14:40:15 +0000 (17:40 +0300)]
Remove reference to Config.get/set_global
Stavros Sachtouris [Wed, 2 Oct 2013 08:41:13 +0000 (11:41 +0300)]
Fix error with wrong argument in file upload
Stavros Sachtouris [Tue, 1 Oct 2013 15:59:45 +0000 (18:59 +0300)]
Merge branch 'feature-server-personality-enhance' into develop
Stavros Sachtouris [Tue, 1 Oct 2013 15:59:05 +0000 (18:59 +0300)]
Log a request before commiting it
Stavros Sachtouris [Tue, 1 Oct 2013 15:30:18 +0000 (18:30 +0300)]
Update changelog for personality argument update
Refs: #4297
Stavros Sachtouris [Tue, 1 Oct 2013 15:05:08 +0000 (18:05 +0300)]
Allow meta-keys to personality argument
Refs: #4297
Backwards compatibility is preserved (not planed to deprecate it)
The following are semantically equivalent:
-p local-path=/local/path,remote=path=/etc/local/path,mode=-rw-r--r--
-p /local/path,remote=path=/etc/local/path,mode=-rw-r--r--
-p /local/path,/etc/local/path,mode=-rw-r--r--
Stavros Sachtouris [Tue, 1 Oct 2013 11:58:32 +0000 (14:58 +0300)]
Gracefuly raise 404 error in network delete
Refs: #4325
Stavros Sachtouris [Tue, 1 Oct 2013 11:09:42 +0000 (14:09 +0300)]
Merge branch 'feature-parametrize-output-format' into develop
Stavros Sachtouris [Tue, 1 Oct 2013 11:09:15 +0000 (14:09 +0300)]
Update Changelog for --output-format
Refs: #4342
Stavros Sachtouris [Tue, 1 Oct 2013 11:06:24 +0000 (14:06 +0300)]
Add --output-format where applicable
Refs: #4342
It currently exists along with -j/--json for bw compatiblity.
--output-format=json is equivalent to -j or --json
Stavros Sachtouris [Mon, 30 Sep 2013 14:24:55 +0000 (17:24 +0300)]
Merge branch 'feature-firewall-wait' into develop
Stavros Sachtouris [Mon, 30 Sep 2013 14:14:26 +0000 (17:14 +0300)]
Update changelog for --wait to firewall_set
Refs: #4298
Stavros Sachtouris [Mon, 30 Sep 2013 14:13:23 +0000 (17:13 +0300)]
Add -w/--wait to server firewall set
Refs: #4298
Stavros Sachtouris [Mon, 30 Sep 2013 13:07:20 +0000 (16:07 +0300)]
Merge branch 'feature-ip-semantics' into develop
Stavros Sachtouris [Mon, 30 Sep 2013 13:00:41 +0000 (16:00 +0300)]
Update Changelog to reflect IP command changes
Refs: #4422
Stavros Sachtouris [Mon, 30 Sep 2013 12:58:26 +0000 (15:58 +0300)]
Push ip commands to top namespace, update docs
Refs: #4422
Top level IP commands are now prefixed as ip (kamaki ip <command>)
Update documentation accordingly
Stavros Sachtouris [Mon, 30 Sep 2013 09:44:43 +0000 (12:44 +0300)]
Merge branch 'feature-recursive-file-list' into develop
Stavros Sachtouris [Mon, 30 Sep 2013 09:20:33 +0000 (12:20 +0300)]
Update Changelog for file list -R/--recursive
Refs: #4301
Stavros Sachtouris [Mon, 30 Sep 2013 09:16:13 +0000 (12:16 +0300)]
Add -R/--recursive when listing containers
Refs: #4301
This arument will output container contents with each container listed
Stavros Sachtouris [Mon, 30 Sep 2013 08:56:09 +0000 (11:56 +0300)]
Separate object/container level args, raise errors
Refs: #4301
-R/--recursive argument will be a container-level only argument,
so all arguments should be separated and raise erros in case of wrong usage
Stavros Sachtouris [Fri, 27 Sep 2013 14:21:35 +0000 (17:21 +0300)]
Remove token from http body (can be switched on)
Refs: #4300
Stavros Sachtouris [Fri, 27 Sep 2013 12:20:48 +0000 (15:20 +0300)]
Merge branch 'feature-improve-wait-behavior' into develop
Stavros Sachtouris [Fri, 27 Sep 2013 12:07:11 +0000 (15:07 +0300)]
Modify Changelog for updates in cli wait methods
Refs: #4351, #4352, #4345
Stavros Sachtouris [Fri, 27 Sep 2013 12:01:45 +0000 (15:01 +0300)]
Add a timeout argument to cli *_wait methods
Refs: #4352
Stavros Sachtouris [Fri, 27 Sep 2013 10:49:09 +0000 (13:49 +0300)]
Modify progress bar behavior in cyclades wait
Refs: #4352
Progress bar is now able to "count down", be "eating" the bar instead of
filling it, thus has meaning for timeouts
All waits are time-outs, except for "server BUILD"
Stavros Sachtouris [Thu, 26 Sep 2013 15:15:17 +0000 (18:15 +0300)]
Make wait_* methods to behave gracefully in CLI
Refs: #4345, #4341
Stavros Sachtouris [Thu, 26 Sep 2013 14:06:56 +0000 (17:06 +0300)]
Merge branch 'feature-general-documentation-update' into develop
Stavros Sachtouris [Thu, 26 Sep 2013 13:24:39 +0000 (16:24 +0300)]
Adjust pithos tests to error code corrections
Stavros Sachtouris [Thu, 26 Sep 2013 11:53:13 +0000 (14:53 +0300)]
Remove progress from docs requirement
Stavros Sachtouris [Thu, 26 Sep 2013 11:14:03 +0000 (14:14 +0300)]
Update and correct kamaki.clients documentation
Stavros Sachtouris [Tue, 24 Sep 2013 15:33:27 +0000 (18:33 +0300)]
Fix sphinx warnings
Stavros Sachtouris [Tue, 24 Sep 2013 15:13:09 +0000 (18:13 +0300)]
Take care of the documentation (except developers)
Stavros Sachtouris [Mon, 23 Sep 2013 15:47:55 +0000 (18:47 +0300)]
Change VMs to servers in docs, fix docs scripts
Stavros Sachtouris [Mon, 23 Sep 2013 08:19:15 +0000 (11:19 +0300)]
Merge branch 'develop' of https://code.grnet.gr/git/kamaki into develop
Vangelis Koukis [Sun, 22 Sep 2013 17:04:09 +0000 (20:04 +0300)]
Make numerous minor fixes in documentation
Stavros Sachtouris [Fri, 20 Sep 2013 15:03:02 +0000 (18:03 +0300)]
Merge branch 'feature-reboot-options' into develop
Stavros Sachtouris [Fri, 20 Sep 2013 15:02:10 +0000 (18:02 +0300)]
Update Changelog for --type at server reboot
Refs: #4338
Stavros Sachtouris [Fri, 20 Sep 2013 15:00:20 +0000 (18:00 +0300)]
Implement --type argument for server reboot
Refs: #4338
Stavros Sachtouris [Fri, 20 Sep 2013 13:10:07 +0000 (16:10 +0300)]
Fix wrong parameter passing to create_server
Refs: #4339
Stavros Sachtouris [Fri, 20 Sep 2013 10:44:12 +0000 (13:44 +0300)]
Fix --more bug in _optional_json commands
Stavros Sachtouris [Thu, 19 Sep 2013 15:20:34 +0000 (18:20 +0300)]
Merge branch 'feature-unittest-config' into develop
Stavros Sachtouris [Thu, 19 Sep 2013 15:19:28 +0000 (18:19 +0300)]
Update Changelog for config unittests
Refs: #4058
Stavros Sachtouris [Thu, 19 Sep 2013 15:02:10 +0000 (18:02 +0300)]
Complete unittests for kamaki.cli.config
Refs: #4058
Stavros Sachtouris [Wed, 18 Sep 2013 14:57:39 +0000 (17:57 +0300)]
Implement all methods up to reload
Refs: #4058
Stavros Sachtouris [Wed, 18 Sep 2013 14:14:18 +0000 (17:14 +0300)]
Test get/set_cloud/global
Refs: #4058
Stavros Sachtouris [Wed, 18 Sep 2013 12:22:56 +0000 (15:22 +0300)]
Implement tests for _cloud_name, _rescue_old_file
Refs: #4058
Stavros Sachtouris [Tue, 17 Sep 2013 15:13:42 +0000 (18:13 +0300)]
Unittest kamaki.cli.Config.__init__
Refs: #4058
Stavros Sachtouris [Tue, 17 Sep 2013 13:17:16 +0000 (16:17 +0300)]
Initialize a config package (new dir) with tests
Refs: #4058
Stavros Sachtouris [Tue, 17 Sep 2013 12:16:29 +0000 (15:16 +0300)]
Merge branch 'feature-make-all-authentications-lazy' into develop
Stavros Sachtouris [Tue, 17 Sep 2013 11:49:15 +0000 (14:49 +0300)]
Update Changelog for lazy authentication
Refs: #4300
Stavros Sachtouris [Tue, 17 Sep 2013 11:40:58 +0000 (14:40 +0300)]
Make authentication lazy
Refs: #4300
Authentication (a.k.a. POST /tokens) is performed only if needed, therefore a
syntax query will not request for authentication.
A new method is introduced in kamaki.cli: init_chached_authenticator. This
method authenticated the resolved URL and TOKEN(s).
Until now, this functionality was part of the _init_session method located at
kamaki.cli entry point. Now, this method call has been pushed down.
In case of an interactive shell, the method is called during the shell setup
In case of a one_command, the method is called right before a new executable
command is initialized. This also means that a non-executable command name
space will not cause the execution of init_cached_authenticator.
Stavros Sachtouris [Fri, 13 Sep 2013 16:21:10 +0000 (19:21 +0300)]
Fix typo in private method
Stavros Sachtouris [Fri, 13 Sep 2013 10:35:44 +0000 (13:35 +0300)]
Fix functional test when there are no sharers
This error apears in pithos livetest account_get, when there are no sharer accounts
Stavros Sachtouris [Fri, 13 Sep 2013 09:52:15 +0000 (12:52 +0300)]
Replace writelines with write+flush
Stavros Sachtouris [Thu, 12 Sep 2013 14:47:18 +0000 (17:47 +0300)]
Enrich pithos permission message (global sharing)
Stavros Sachtouris [Thu, 12 Sep 2013 13:49:22 +0000 (16:49 +0300)]
Fix typo in file_publish
Stavros Sachtouris [Thu, 12 Sep 2013 13:25:04 +0000 (16:25 +0300)]
Merge branch 'feature-customizable-output' into develop
Stavros Sachtouris [Thu, 12 Sep 2013 13:19:50 +0000 (16:19 +0300)]
Update Changelog with print method changes
Refs: #4292
Stavros Sachtouris [Thu, 12 Sep 2013 13:13:42 +0000 (16:13 +0300)]
Replace print methods w. respective member methods
Refs: #4292
Stavros Sachtouris [Thu, 12 Sep 2013 12:00:51 +0000 (15:00 +0300)]
Implement member versions of utils print methods
Refs: #4292
Stavros Sachtouris [Thu, 12 Sep 2013 10:21:30 +0000 (13:21 +0300)]
Fix history read unicode issue
Stavros Sachtouris [Thu, 12 Sep 2013 09:39:26 +0000 (12:39 +0300)]
Remove __builtin__.print from _commands
Refs: #4292
Stavros Sachtouris [Wed, 11 Sep 2013 14:55:52 +0000 (17:55 +0300)]
Remove __builtin__.print up to history
Refs: #4292
Stavros Sachtouris [Wed, 11 Sep 2013 12:34:37 +0000 (15:34 +0300)]
Add _err to commands, remove pithos print calls
Refs: #4292
Also, add the methods write, writeln and error to print something to
<_commands>._out/_out/_err respectively.
__builtin__.print is replaced by self.writeln or self.error
Stavros Sachtouris [Wed, 11 Sep 2013 08:33:18 +0000 (11:33 +0300)]
Reflect DelimiterArgument removal to changelog
Stavros Sachtouris [Wed, 11 Sep 2013 08:31:23 +0000 (11:31 +0300)]
Remove pithos.DelimterValue + self._out to list
Refs: #4292
Stavros Sachtouris [Tue, 10 Sep 2013 10:27:51 +0000 (13:27 +0300)]
Fix typo in astkoas.py imports
Stavros Sachtouris [Tue, 10 Sep 2013 10:17:19 +0000 (13:17 +0300)]
Create logger before help message
Stavros Sachtouris [Tue, 10 Sep 2013 09:50:12 +0000 (12:50 +0300)]
Fix typos
Stavros Sachtouris [Mon, 9 Sep 2013 15:29:21 +0000 (18:29 +0300)]
Expand stream output to pithos print methods
Stavros Sachtouris [Mon, 9 Sep 2013 15:18:03 +0000 (18:18 +0300)]
Add output stream to astakos print methods
Stavros Sachtouris [Mon, 9 Sep 2013 14:47:16 +0000 (17:47 +0300)]
Fix typo in image list printouts
Stavros Sachtouris [Mon, 9 Sep 2013 13:17:35 +0000 (16:17 +0300)]
Update commands to use pager when --more
Refs: #4279
Stavros Sachtouris [Mon, 9 Sep 2013 12:15:53 +0000 (15:15 +0300)]
Restore backwards compatibility for image register
Refs: Bug #4276
New format:
/image register Name container:path/to/image
Old format:
/image register Name pithos://user-uuid/container/path/to/image
Now, the old format is also recognized. It is planed to be depricated in a
future version, though
Also, uniformize guides and doc responses for image register
Stavros Sachtouris [Fri, 6 Sep 2013 15:23:05 +0000 (18:23 +0300)]
Merge branch 'feature-global-pager' into develop
Stavros Sachtouris [Fri, 6 Sep 2013 15:02:45 +0000 (18:02 +0300)]
Update Changelog to reflect print-method changes
Refs: #4279, 4288
Stavros Sachtouris [Fri, 6 Sep 2013 14:59:20 +0000 (17:59 +0300)]
Modify printing methods to use more stream types
Refs: #4288, #4279
Also, replace page_hold with pydoc.pager
Stavros Sachtouris [Fri, 6 Sep 2013 09:29:50 +0000 (12:29 +0300)]
Prepend log_settings to auth_client init
Stavros Sachtouris [Thu, 5 Sep 2013 10:26:20 +0000 (13:26 +0300)]
Merge branch 'feature-image-register-help' into develop