kamaki
10 years agoCreate a config section in devs documentation
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

10 years agoRemove reference to Config.get/set_global
Stavros Sachtouris [Wed, 2 Oct 2013 14:40:15 +0000 (17:40 +0300)]
Remove reference to Config.get/set_global

10 years agoFix error with wrong argument in file upload
Stavros Sachtouris [Wed, 2 Oct 2013 08:41:13 +0000 (11:41 +0300)]
Fix error with wrong argument in file upload

10 years agoMerge branch 'feature-server-personality-enhance' into develop
Stavros Sachtouris [Tue, 1 Oct 2013 15:59:45 +0000 (18:59 +0300)]
Merge branch 'feature-server-personality-enhance' into develop

10 years agoLog a request before commiting it
Stavros Sachtouris [Tue, 1 Oct 2013 15:59:05 +0000 (18:59 +0300)]
Log a request before commiting it

10 years agoUpdate changelog for personality argument update
Stavros Sachtouris [Tue, 1 Oct 2013 15:30:18 +0000 (18:30 +0300)]
Update changelog for personality argument update

Refs: #4297

10 years agoAllow meta-keys to personality argument
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--

10 years agoGracefuly raise 404 error in network delete
Stavros Sachtouris [Tue, 1 Oct 2013 11:58:32 +0000 (14:58 +0300)]
Gracefuly raise 404 error in network delete

Refs: #4325

10 years agoMerge branch 'feature-parametrize-output-format' into develop
Stavros Sachtouris [Tue, 1 Oct 2013 11:09:42 +0000 (14:09 +0300)]
Merge branch 'feature-parametrize-output-format' into develop

10 years agoUpdate Changelog for --output-format
Stavros Sachtouris [Tue, 1 Oct 2013 11:09:15 +0000 (14:09 +0300)]
Update Changelog for --output-format

Refs: #4342

10 years agoAdd --output-format where applicable
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

10 years agoMerge branch 'feature-firewall-wait' into develop
Stavros Sachtouris [Mon, 30 Sep 2013 14:24:55 +0000 (17:24 +0300)]
Merge branch 'feature-firewall-wait' into develop

10 years agoUpdate changelog for --wait to firewall_set
Stavros Sachtouris [Mon, 30 Sep 2013 14:14:26 +0000 (17:14 +0300)]
Update changelog for --wait to firewall_set

Refs: #4298

10 years agoAdd -w/--wait to server firewall set
Stavros Sachtouris [Mon, 30 Sep 2013 14:13:23 +0000 (17:13 +0300)]
Add -w/--wait to server firewall set

Refs: #4298

10 years agoMerge branch 'feature-ip-semantics' into develop
Stavros Sachtouris [Mon, 30 Sep 2013 13:07:20 +0000 (16:07 +0300)]
Merge branch 'feature-ip-semantics' into develop

10 years agoUpdate Changelog to reflect IP command changes
Stavros Sachtouris [Mon, 30 Sep 2013 13:00:41 +0000 (16:00 +0300)]
Update Changelog to reflect IP command changes

Refs: #4422

10 years agoPush ip commands to top namespace, update docs
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

10 years agoMerge branch 'feature-recursive-file-list' into develop
Stavros Sachtouris [Mon, 30 Sep 2013 09:44:43 +0000 (12:44 +0300)]
Merge branch 'feature-recursive-file-list' into develop

10 years agoUpdate Changelog for file list -R/--recursive
Stavros Sachtouris [Mon, 30 Sep 2013 09:20:33 +0000 (12:20 +0300)]
Update Changelog for file list -R/--recursive

Refs: #4301

10 years agoAdd -R/--recursive when listing containers
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

10 years agoSeparate object/container level args, raise errors
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

10 years agoRemove token from http body (can be switched on)
Stavros Sachtouris [Fri, 27 Sep 2013 14:21:35 +0000 (17:21 +0300)]
Remove token from http body (can be switched on)

Refs: #4300

10 years agoMerge branch 'feature-improve-wait-behavior' into develop
Stavros Sachtouris [Fri, 27 Sep 2013 12:20:48 +0000 (15:20 +0300)]
Merge branch 'feature-improve-wait-behavior' into develop

10 years agoModify Changelog for updates in cli wait methods
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

10 years agoAdd a timeout argument to cli *_wait methods
Stavros Sachtouris [Fri, 27 Sep 2013 12:01:45 +0000 (15:01 +0300)]
Add a timeout argument to cli *_wait methods

Refs: #4352

10 years agoModify progress bar behavior in cyclades wait
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"

10 years agoMake wait_* methods to behave gracefully in CLI
Stavros Sachtouris [Thu, 26 Sep 2013 15:15:17 +0000 (18:15 +0300)]
Make wait_* methods to behave gracefully in CLI

Refs: #4345, #4341

10 years agoMerge branch 'feature-general-documentation-update' into develop
Stavros Sachtouris [Thu, 26 Sep 2013 14:06:56 +0000 (17:06 +0300)]
Merge branch 'feature-general-documentation-update' into develop

10 years agoAdjust pithos tests to error code corrections
Stavros Sachtouris [Thu, 26 Sep 2013 13:24:39 +0000 (16:24 +0300)]
Adjust pithos tests to error code corrections

10 years agoRemove progress from docs requirement
Stavros Sachtouris [Thu, 26 Sep 2013 11:53:13 +0000 (14:53 +0300)]
Remove progress from docs requirement

10 years agoUpdate and correct kamaki.clients documentation
Stavros Sachtouris [Thu, 26 Sep 2013 11:14:03 +0000 (14:14 +0300)]
Update and correct kamaki.clients documentation

10 years agoFix sphinx warnings
Stavros Sachtouris [Tue, 24 Sep 2013 15:33:27 +0000 (18:33 +0300)]
Fix sphinx warnings

10 years agoTake care of the documentation (except developers)
Stavros Sachtouris [Tue, 24 Sep 2013 15:13:09 +0000 (18:13 +0300)]
Take care of the documentation (except developers)

10 years agoChange VMs to servers in docs, fix docs scripts
Stavros Sachtouris [Mon, 23 Sep 2013 15:47:55 +0000 (18:47 +0300)]
Change VMs to servers in docs, fix docs scripts

10 years agoMerge branch 'develop' of https://code.grnet.gr/git/kamaki into develop
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

10 years agoMake numerous minor fixes in documentation
Vangelis Koukis [Sun, 22 Sep 2013 17:04:09 +0000 (20:04 +0300)]
Make numerous minor fixes in documentation

10 years agoMerge branch 'feature-reboot-options' into develop
Stavros Sachtouris [Fri, 20 Sep 2013 15:03:02 +0000 (18:03 +0300)]
Merge branch 'feature-reboot-options' into develop

10 years agoUpdate Changelog for --type at server reboot
Stavros Sachtouris [Fri, 20 Sep 2013 15:02:10 +0000 (18:02 +0300)]
Update Changelog for --type at server reboot

Refs: #4338

10 years agoImplement --type argument for server reboot
Stavros Sachtouris [Fri, 20 Sep 2013 15:00:20 +0000 (18:00 +0300)]
Implement --type argument for server reboot

Refs: #4338

10 years agoFix wrong parameter passing to create_server
Stavros Sachtouris [Fri, 20 Sep 2013 13:10:07 +0000 (16:10 +0300)]
Fix wrong parameter passing to create_server

Refs: #4339

10 years agoFix --more bug in _optional_json commands
Stavros Sachtouris [Fri, 20 Sep 2013 10:44:12 +0000 (13:44 +0300)]
Fix --more bug in _optional_json commands

10 years agoMerge branch 'feature-unittest-config' into develop
Stavros Sachtouris [Thu, 19 Sep 2013 15:20:34 +0000 (18:20 +0300)]
Merge branch 'feature-unittest-config' into develop

10 years agoUpdate Changelog for config unittests
Stavros Sachtouris [Thu, 19 Sep 2013 15:19:28 +0000 (18:19 +0300)]
Update Changelog for config unittests

Refs: #4058

10 years agoComplete unittests for kamaki.cli.config
Stavros Sachtouris [Thu, 19 Sep 2013 15:02:10 +0000 (18:02 +0300)]
Complete unittests for kamaki.cli.config

Refs: #4058

10 years agoImplement all methods up to reload
Stavros Sachtouris [Wed, 18 Sep 2013 14:57:39 +0000 (17:57 +0300)]
Implement all methods up to reload

Refs: #4058

10 years agoTest get/set_cloud/global
Stavros Sachtouris [Wed, 18 Sep 2013 14:14:18 +0000 (17:14 +0300)]
Test get/set_cloud/global

Refs: #4058

10 years agoImplement tests for _cloud_name, _rescue_old_file
Stavros Sachtouris [Wed, 18 Sep 2013 12:22:56 +0000 (15:22 +0300)]
Implement tests for _cloud_name, _rescue_old_file

Refs: #4058

10 years agoUnittest kamaki.cli.Config.__init__
Stavros Sachtouris [Tue, 17 Sep 2013 15:13:42 +0000 (18:13 +0300)]
Unittest kamaki.cli.Config.__init__

Refs: #4058

10 years agoInitialize a config package (new dir) with tests
Stavros Sachtouris [Tue, 17 Sep 2013 13:17:16 +0000 (16:17 +0300)]
Initialize a config package (new dir) with tests

Refs: #4058

10 years agoMerge branch 'feature-make-all-authentications-lazy' into develop
Stavros Sachtouris [Tue, 17 Sep 2013 12:16:29 +0000 (15:16 +0300)]
Merge branch 'feature-make-all-authentications-lazy' into develop

10 years agoUpdate Changelog for lazy authentication
Stavros Sachtouris [Tue, 17 Sep 2013 11:49:15 +0000 (14:49 +0300)]
Update Changelog for lazy authentication

Refs: #4300

10 years agoMake authentication lazy
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.

10 years agoFix typo in private method
Stavros Sachtouris [Fri, 13 Sep 2013 16:21:10 +0000 (19:21 +0300)]
Fix typo in private method

10 years agoFix functional test when there are no sharers
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

10 years agoReplace writelines with write+flush
Stavros Sachtouris [Fri, 13 Sep 2013 09:52:15 +0000 (12:52 +0300)]
Replace writelines with write+flush

10 years agoEnrich pithos permission message (global sharing)
Stavros Sachtouris [Thu, 12 Sep 2013 14:47:18 +0000 (17:47 +0300)]
Enrich pithos permission message (global sharing)

10 years agoFix typo in file_publish
Stavros Sachtouris [Thu, 12 Sep 2013 13:49:22 +0000 (16:49 +0300)]
Fix typo in file_publish

10 years agoMerge branch 'feature-customizable-output' into develop
Stavros Sachtouris [Thu, 12 Sep 2013 13:25:04 +0000 (16:25 +0300)]
Merge branch 'feature-customizable-output' into develop

10 years agoUpdate Changelog with print method changes
Stavros Sachtouris [Thu, 12 Sep 2013 13:19:50 +0000 (16:19 +0300)]
Update Changelog with print method changes

Refs: #4292

10 years agoReplace print methods w. respective member methods
Stavros Sachtouris [Thu, 12 Sep 2013 13:13:42 +0000 (16:13 +0300)]
Replace print methods w. respective member methods

Refs: #4292

10 years agoImplement member versions of utils print methods
Stavros Sachtouris [Thu, 12 Sep 2013 12:00:51 +0000 (15:00 +0300)]
Implement member versions of utils print methods

Refs: #4292

10 years agoFix history read unicode issue
Stavros Sachtouris [Thu, 12 Sep 2013 10:21:30 +0000 (13:21 +0300)]
Fix history read unicode issue

10 years agoRemove __builtin__.print from _commands
Stavros Sachtouris [Thu, 12 Sep 2013 09:39:26 +0000 (12:39 +0300)]
Remove __builtin__.print from _commands

Refs: #4292

10 years agoRemove __builtin__.print up to history
Stavros Sachtouris [Wed, 11 Sep 2013 14:55:52 +0000 (17:55 +0300)]
Remove __builtin__.print up to history

Refs: #4292

10 years agoAdd _err to commands, remove pithos print calls
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

10 years agoReflect DelimiterArgument removal to changelog
Stavros Sachtouris [Wed, 11 Sep 2013 08:33:18 +0000 (11:33 +0300)]
Reflect DelimiterArgument removal to changelog

10 years agoRemove pithos.DelimterValue + self._out to list
Stavros Sachtouris [Wed, 11 Sep 2013 08:31:23 +0000 (11:31 +0300)]
Remove pithos.DelimterValue + self._out to list

Refs: #4292

10 years agoFix typo in astkoas.py imports
Stavros Sachtouris [Tue, 10 Sep 2013 10:27:51 +0000 (13:27 +0300)]
Fix typo in astkoas.py imports

10 years agoCreate logger before help message
Stavros Sachtouris [Tue, 10 Sep 2013 10:17:19 +0000 (13:17 +0300)]
Create logger before help message

10 years agoFix typos
Stavros Sachtouris [Tue, 10 Sep 2013 09:50:12 +0000 (12:50 +0300)]
Fix typos

10 years agoExpand stream output to pithos print methods
Stavros Sachtouris [Mon, 9 Sep 2013 15:29:21 +0000 (18:29 +0300)]
Expand stream output to pithos print methods

10 years agoAdd output stream to astakos print methods
Stavros Sachtouris [Mon, 9 Sep 2013 15:18:03 +0000 (18:18 +0300)]
Add output stream to astakos print methods

10 years agoFix typo in image list printouts
Stavros Sachtouris [Mon, 9 Sep 2013 14:47:16 +0000 (17:47 +0300)]
Fix typo in image list printouts

10 years agoUpdate commands to use pager when --more
Stavros Sachtouris [Mon, 9 Sep 2013 13:17:35 +0000 (16:17 +0300)]
Update commands to use pager when --more

Refs: #4279

10 years agoRestore backwards compatibility for image register
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

10 years agoMerge branch 'feature-global-pager' into develop
Stavros Sachtouris [Fri, 6 Sep 2013 15:23:05 +0000 (18:23 +0300)]
Merge branch 'feature-global-pager' into develop

10 years agoUpdate Changelog to reflect print-method changes
Stavros Sachtouris [Fri, 6 Sep 2013 15:02:45 +0000 (18:02 +0300)]
Update Changelog to reflect print-method changes

Refs: #4279, 4288

10 years agoModify printing methods to use more stream types
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

10 years agoPrepend log_settings to auth_client init
Stavros Sachtouris [Fri, 6 Sep 2013 09:29:50 +0000 (12:29 +0300)]
Prepend log_settings to auth_client init

10 years agoMerge branch 'feature-image-register-help' into develop
Stavros Sachtouris [Thu, 5 Sep 2013 10:26:20 +0000 (13:26 +0300)]
Merge branch 'feature-image-register-help' into develop

10 years agoUpdate image register examples to new behavior
Stavros Sachtouris [Thu, 5 Sep 2013 10:25:25 +0000 (13:25 +0300)]
Update image register examples to new behavior

Refs: #4276

10 years agoAdd help on kamaki register when old-style args
Stavros Sachtouris [Thu, 5 Sep 2013 10:09:12 +0000 (13:09 +0300)]
Add help on kamaki register when old-style args

Refs: #4276

10 years agoTune functional tests for longer delays
Stavros Sachtouris [Mon, 2 Sep 2013 15:44:48 +0000 (18:44 +0300)]
Tune functional tests for longer delays

10 years agoFix typo in cyclades client unittest
Stavros Sachtouris [Mon, 2 Sep 2013 11:18:22 +0000 (14:18 +0300)]
Fix typo in cyclades client unittest

10 years agoMerge branch 'feature-test-cli-errors' into develop
Stavros Sachtouris [Fri, 30 Aug 2013 13:57:12 +0000 (16:57 +0300)]
Merge branch 'feature-test-cli-errors' into develop

10 years agoUpdate Changelog about cli.errors tests
Stavros Sachtouris [Fri, 30 Aug 2013 13:56:29 +0000 (16:56 +0300)]
Update Changelog about cli.errors tests

Refs: #4058

10 years agoAdd the raiseCLIError method under unit tests
Stavros Sachtouris [Fri, 30 Aug 2013 13:55:19 +0000 (16:55 +0300)]
Add the raiseCLIError method under unit tests

Refs: #4058

10 years agoTest All cli.errors error classes
Stavros Sachtouris [Fri, 30 Aug 2013 13:23:54 +0000 (16:23 +0300)]
Test All cli.errors error classes

Refs: #4058

10 years agoMerge branch 'feature-flag-for-proccess-id-log' into develop
Stavros Sachtouris [Thu, 29 Aug 2013 10:41:45 +0000 (13:41 +0300)]
Merge branch 'feature-flag-for-proccess-id-log' into develop

10 years agoUpdate Changelog for pid-logging changes
Stavros Sachtouris [Thu, 29 Aug 2013 10:26:19 +0000 (13:26 +0300)]
Update Changelog for pid-logging changes

Refs: #4242

10 years agoMake pid logging optional, logs are now readable
Stavros Sachtouris [Thu, 29 Aug 2013 10:24:10 +0000 (13:24 +0300)]
Make pid logging optional, logs are now readable

Refs: #4242

10 years agoEmpty Changelog, make it ready for new changes
Stavros Sachtouris [Thu, 29 Aug 2013 09:57:21 +0000 (12:57 +0300)]
Empty Changelog, make it ready for new changes

10 years agoSetup version 0.10next
Stavros Sachtouris [Thu, 29 Aug 2013 09:54:50 +0000 (12:54 +0300)]
Setup version 0.10next

10 years agoAdjust snf-astakos to init with correct URL
Stavros Sachtouris [Wed, 28 Aug 2013 14:50:54 +0000 (17:50 +0300)]
Adjust snf-astakos to init with correct URL

10 years agoDont raise doc errors if there is hope
Stavros Sachtouris [Wed, 28 Aug 2013 13:57:36 +0000 (16:57 +0300)]
Dont raise doc errors if there is hope

10 years agoAdjust docs to require progress to build
Stavros Sachtouris [Wed, 28 Aug 2013 13:43:28 +0000 (16:43 +0300)]
Adjust docs to require progress to build

10 years agoFix split input bug
Stavros Sachtouris [Wed, 28 Aug 2013 13:18:19 +0000 (16:18 +0300)]
Fix split input bug

Refs: #4232

10 years agoRename /image meta list to /image info
Stavros Sachtouris [Wed, 28 Aug 2013 12:18:50 +0000 (15:18 +0300)]
Rename /image meta list to /image info

10 years agoFix IntArgument + tests and apply to snf-astakos
Stavros Sachtouris [Wed, 28 Aug 2013 12:07:14 +0000 (15:07 +0300)]
Fix IntArgument + tests and apply to snf-astakos

10 years agoMerge branch 'feature-astakos-bugs' into develop
Stavros Sachtouris [Wed, 28 Aug 2013 11:40:08 +0000 (14:40 +0300)]
Merge branch 'feature-astakos-bugs' into develop