Statistics
| Branch: | Tag: | Revision:

root / kamaki @ 92e089e4

# Date Author Comment
92e089e4 06/19/2013 05:59 pm Stavros Sachtouris

Complete the listing section
(cherry picked from commit 9e5341f58e7190fd0397264ff0d3b03c76fa59bf)

f5362960 06/19/2013 05:58 pm Stavros Sachtouris

Rename: scenarios-->examples, add first content

- configuration section, with clouds
- Simple listing
- Pithos advanced listing
(cherry picked from commit b4ed3a7e11e86c793f40ae2872016cb7089884f5)

01d14153 06/18/2013 01:03 pm Stavros Sachtouris

Add a Connection Retry to Client + ResponseManager

Usage:
cl.XxxClient(...)
cl.CONNECTION_RETRY_LIMIT = 5
cl.<methods>

c3c85430 06/18/2013 11:58 am Stavros Sachtouris

Remove forgoten debug message

668068af 06/18/2013 11:56 am Stavros Sachtouris

Fix write recovery bug in kamaki.cli.config

write failed to recover config memory repr. after writing in disk

Refs: #4030

b8fd7d84 06/18/2013 11:24 am Stavros Sachtouris

Create InvalidCloudNameError, raise it when needed

Refs: #4030

d2d0dbdb 06/18/2013 11:23 am Stavros Sachtouris

Make cloud prefix a global settings

Refs: #4030

4bef4309 06/18/2013 11:23 am Stavros Sachtouris

Add seperator in item listing (unnamed)

f00d5427 06/17/2013 10:58 am Stavros Sachtouris

Adjust list_sever_nics to recent server changes

9360f398 06/14/2013 05:54 pm Stavros Sachtouris

Fix deprecated terms in documentation

Conflicts:

kamaki/cli/config.py
e32e2489 06/14/2013 01:38 pm Stavros Sachtouris

Fix typo when getting metadata without key

4f870a21 06/14/2013 12:53 pm Stavros Sachtouris

Recover old token in case of authentication error

16b2546c 06/14/2013 11:36 am Stavros Sachtouris

Prepare special local paths (like .) for pithos

5ce1189c 06/13/2013 06:52 pm Stavros Sachtouris

Fix all minor typos and modifications in tests

e1350019 06/13/2013 06:49 pm Stavros Sachtouris

Updagrade error message for multiple clouds

Refs: #3979

763e7b82 06/13/2013 06:49 pm Stavros Sachtouris

Use the default_cloud global option

Refs: #3934 #3979

Conflicts:

kamaki/cli/__init__.py
f7dab7d3 06/12/2013 05:52 pm Stavros Sachtouris

Fix typo in method docs

ae74021a 06/12/2013 05:52 pm Stavros Sachtouris

Adjust livetests to cloud renamings

37ce8a25 06/12/2013 05:44 pm Stavros Sachtouris

Do not suggest ansicolors if colors == off

Refs: #3978

2063ef10 06/12/2013 05:44 pm Stavros Sachtouris

Fix typos in error messages and helps

Refs: #3979

f623b8d3 06/12/2013 05:43 pm Stavros Sachtouris

Fix log level for expected command failures

72d7e64b 06/12/2013 05:43 pm Stavros Sachtouris

Updagrade error message for multiple clouds

Refs: #3979

ac5a74b3 06/12/2013 05:43 pm Stavros Sachtouris

Use the default_cloud global option

Refs: #3934 #3979

2a4b0a2a 06/12/2013 03:03 pm Stavros Sachtouris

Change term "remote" to "cloud" when proper

Refs: #3934

b3ba19ef 06/12/2013 11:46 am Stavros Sachtouris

Adjust docs to cover multiple clouds functionality

This commit server as a backup mostly, since the adjustments are not yet
applied to docs/commands and all docs/developers kamaki guides.

e96b3d4e 06/12/2013 11:46 am Stavros Sachtouris

Update some of the documentation

this commit serves back-up purposes mostly

e9680623 06/12/2013 11:44 am Stavros Sachtouris

Fix PEP8 warning

1a1b0502 06/10/2013 04:07 pm Stavros Sachtouris

Document the Upgrade notes for v0.9

2ce16bb0 06/10/2013 03:00 pm Stavros Sachtouris

Adjust all livetests to use cached astakos client

Refs: #3964

74279468 06/10/2013 03:00 pm Stavros Sachtouris

Adjust cached astakos client unit tests

Refs: #3964

1ec16d06 06/10/2013 03:00 pm Stavros Sachtouris

Create mising func. tests 4 cached astakos client

Refs: #3964

edca58f8 06/10/2013 03:00 pm Stavros Sachtouris

Adjust astakos functional tests to novel features

Refs: #3964

b8e0b52b 06/07/2013 04:44 pm Stavros Sachtouris

Make sure all url-params are url-encoded

Refs: #3956

ca5b9261 06/07/2013 03:43 pm Stavros Sachtouris

Adjust help messages to configuration changes

Refs:#3934

902835ba 06/07/2013 03:15 pm Stavros Sachtouris

Merge branch 'feature-endpoints' into release-0.9

Conflicts:
Changelog
kamaki/cli/__init__.py
kamaki/cli/commands/astakos.py
kamaki/cli/commands/cyclades.py
kamaki/cli/commands/image.py
kamaki/cli/commands/pithos.py
kamaki/cli/commands/snf-astakos.py...

e0d03685 06/07/2013 02:24 pm Stavros Sachtouris

Fix a PEP8 issue

8dbf5a1a 06/07/2013 02:19 pm Stavros Sachtouris

Use os-specific path seperators in up/down-load -R

Refs: #3954

b4f69041 06/06/2013 05:29 pm Stavros Sachtouris

Adjust all command specs to multicloud/singleauth

Refs: #3934

99085b30 06/06/2013 02:20 pm Stavros Sachtouris

Make sure user and history commands work fine

Refs: #3934

844a6bdb 06/06/2013 01:32 pm Stavros Sachtouris

Adjust config cli commands to serve remotes

Refs: #3934

config set remote.smth.option value
inserts option=value in remote smth
config get remote.smth
lists the contents (key=val) of remote smth
config delete remote.smth.option
deletes this specific option from the remote smth...

362adf50 06/05/2013 07:00 pm Stavros Sachtouris

Decide a cloud term, use it if no cloud.url

Refs: #3934

ce9ccb40 06/05/2013 03:43 pm Stavros Sachtouris

Implement remotes support in Config and cli init

Refs: #3934

In Config:

Simplify guess_version heuristics (check if the following exist:
global.url/token, remote-defaults)
Trasnlate files 'remote "name"' to 3-level dict and back
Implement rescue_old_file to convert config files to v3.0...

14b9a185 06/04/2013 06:44 pm Stavros Sachtouris

Plan Config changes (rescue_old_file, translates)

Refs: #3934

rescue_old_file: mines info from old config file to use them in new file
translates:
remote "smth" --> 'remote': {'smth': ...
global.{url, token} --> remote.default.{url, token}
<command>.cli --> global.command_cli...

5482bc0a 06/04/2013 06:11 pm Stavros Sachtouris

Implement Config.guess_version for config files

3f0eae61 06/04/2013 06:11 pm Stavros Sachtouris

Implement the Config.guess_version method

201baa17 06/04/2013 02:03 pm Stavros Sachtouris

A. Hardcode the new kamaki config file

Refs: #3934

Breaks compatibility, implements a remotes-based config file

92101413 06/04/2013 12:33 pm Stavros Sachtouris

Backwards compatibility for configuraiton file

Compatible with kamaki config files v2

user.url, file.url, compute.url and image.url
are now valid and of higher priority to
astakos.url, pithos.url, cyclades.url, plankton.url
which are also valid

All these are ignored iff [global].auth_url is given

f5c28bfa 06/04/2013 12:30 pm Stavros Sachtouris

Backwards compatibility for configuraiton file

Compatible with kamaki config files v2

user.url, file.url, compute.url and image.url
are now valid and of higher priority to
astakos.url, pithos.url, cyclades.url, plankton.url
which are also valid

All these are ignored iff [global].auth_url is given

7aa1e734 06/03/2013 05:30 pm Stavros Sachtouris

Fix typos in default and expected values

9d8737a2 06/03/2013 05:29 pm Stavros Sachtouris

Fix typos in default and expected values

819311d3 06/03/2013 05:19 pm Stavros Sachtouris

Handle url proccessing even if url is unicode

Also, fix typos and default values for service configurations

8c54338a 06/03/2013 05:18 pm Stavros Sachtouris

Handle url proccessing even if url is unicode

Also, fix typos and default values for service configurations

51081e51 06/03/2013 04:49 pm Stavros Sachtouris

Fix typo in astakos client: version_id-->versionId

e7884f25 06/03/2013 04:49 pm Stavros Sachtouris

Fix typo in astakos client: version_id-->versionId

dc6f8e81 06/03/2013 04:08 pm Stavros Sachtouris

Adjust cached auth info reading to recent changes

58979175 06/03/2013 04:08 pm Stavros Sachtouris

Fix typos in user command flow

3950a864 06/03/2013 04:06 pm Stavros Sachtouris

Adjust cached auth info reading to recent changes

82e32e50 06/03/2013 03:14 pm Stavros Sachtouris

Fix typos in user command flow

3c346c91 06/03/2013 02:40 pm Stavros Sachtouris

Apply servce.url options to cross-sercice calls

Refs: #3874

Let cross-service initializations to use explicit service endpoint urls if
there is no single authentication url.
- In Image commands, there are calls that use astakos and pithos clients
- In pithos there are calls that use astakos client

ef00bc31 06/03/2013 02:37 pm Stavros Sachtouris

Apply servce.url options to cross-sercice calls

Refs: #3874

Let cross-service initializations to use explicit service endpoint urls if
there is no single authentication url.
- In Image commands, there are calls that use astakos and pithos clients
- In pithos there are calls that use astakos client

54b6be76 06/03/2013 02:26 pm Stavros Sachtouris

Use explicitely set services urls if no auth_url

Refs: #3874

In current configuration, kamaki checks for auth_url. If that fails,
it raises an error. If it is not set, it prints a warning and attempts
to read the <service>.url option from the configuration file....

8cec3671 06/03/2013 02:22 pm Stavros Sachtouris

Use explicitely set services urls if no auth_url

Refs: #3874

In current configuration, kamaki checks for auth_url. If that fails,
it raises an error. If it is not set, it prints a warning and attempts
to read the <service>.url option from the configuration file....

a4170d41 06/03/2013 01:02 pm Stavros Sachtouris

Implement --cloud arg to switch between clouds

Refs: #3913

Config file can (optionaly) contain:

[remotes]
example = https://www.example.org/astakos/identity/v2.0/
old_version = https://www.example.org/astakos/identity/v1.0/
...

Now, user can explicitely request for a remote cloud authentication URI:...

cb4a5d9c 06/03/2013 12:58 pm Stavros Sachtouris

Implement --cloud arg to switch between clouds

Refs: #3913

Config file can (optionaly) contain:

[remotes]
example = https://www.example.org/astakos/identity/v2.0/
old_version = https://www.example.org/astakos/identity/v1.0/
...

Now, user can explicitely request for a remote cloud authentication URI:...

f724cd35 05/31/2013 05:37 pm Stavros Sachtouris

Get endpoint urls for all CLI operations

Refs: #3874

Use kamaki.clients.astakos.AstakosClient as a cached astakos client to get
user information and, most importantly, endpoints. Allow users to authenticate
multiple tokens on the same session. In every session there must be at most...

05e144e2 05/31/2013 01:29 pm Stavros Sachtouris

Create config file version 3

Refs: #3874

Minimum config file:
[global]
token = <user token>

Changes:

- Only one field "cli" for user command specs, to map command groups to CLIs:

[cli]
user = astakos
file = pithos
server = cyclades
...

- Specify client services/apis and versions....

528550d9 05/30/2013 04:35 pm Stavros Sachtouris

Enrich/rename astakos client calls with endpoints

Refs: #3874

Kamaki.clients.astakos.AstakosClient is now a high-level client lib that
offers access to token-authenticated astakos-aquired cached information.
Users who need an astakos client should use the snf-astakosclient instead....

7983398f 05/28/2013 11:45 am Stavros Sachtouris

Merge branch 'feature-expose-astakosclient' into develop

6f04d079 05/28/2013 11:45 am Stavros Sachtouris

Merge branch 'feature-osv2-compatibility' into develop

683335b1 05/27/2013 05:07 pm Stavros Sachtouris

Expose some basix astakosclient methods to cli

Methods exposed:

get_user_info as authenticate
get_uuid[s] as uuid
get_username[s] as username
get_quotas as quotas
services_get_uuid[s]/username[s]/quotas as service uuid/username/quotas

b79ae40b 05/27/2013 03:35 pm Stavros Sachtouris

Adjust astakos authenticate to snf-0.14 url sheme

97fc1e06 05/27/2013 03:23 pm Stavros Sachtouris

Setup a snf-astakos command set

f0415090 05/24/2013 05:40 pm Stavros Sachtouris

Update config file version tag

137c51f5 05/24/2013 05:24 pm Stavros Sachtouris

Fix typo in kamak.cli.logger import

bcef3ac9 05/24/2013 04:47 pm Stavros Sachtouris

Rename meta-->metadata and remove values @CLI

Refs: #3633

fab9b17f 05/23/2013 06:42 pm Stavros Sachtouris

Rename meta-->metadata and remove values @lib

- Meta-->metadata in some cases, according to the expected cyclades API
- remove values level from requests and responses @ cyclades lib

Refs: #3633

13c02904 05/23/2013 05:46 pm Stavros Sachtouris

Fix expected "public" header params in tests

aa82dd5a 05/23/2013 05:25 pm Stavros Sachtouris

Add metadata management to image register

- validate image metadata format
- read metadata from file
- merge file-loaded metadata with runtimes
- store metadata file on pithos, check existance, overwrite with f
raise helpful error messages when there fail...

17b255c7 05/23/2013 02:01 pm Stavros Sachtouris

Use _format_image_headers: image_register,get_meta

- Ensure uniform image meta output
- Easy to apply the correct meta format

Refs: #3797

4e424eaa 05/22/2013 06:25 pm Stavros Sachtouris

Restore thread-wait for append

e4ff4453 05/22/2013 06:15 pm Stavros Sachtouris

Fix typo (permition --> permission)

117ca598 05/22/2013 06:05 pm Stavros Sachtouris

Merge branch 'feature-json-output' into develop

Conflicts:
Changelog
kamaki/cli/commands/image.py

Also, take care of pep8 issues

d9301a7a 05/22/2013 06:01 pm Stavros Sachtouris

Fix typo in pithos upload output

3ec5c230 05/22/2013 05:48 pm Stavros Sachtouris

Wait threads to finish in pithos append_object

545c6c29 05/22/2013 05:26 pm Stavros Sachtouris

Implement an optional json output 4 outputing cmds

Refs: #3732

6dfd55cb 05/22/2013 01:42 pm Stavros Sachtouris

Add json/optional output to astakos cmds

Refs: #3732

1b73b4c1 05/22/2013 01:38 pm Stavros Sachtouris

Add json/optional responses to flavor/network cmds

Refs: #3732

cd295a1d 05/22/2013 01:07 pm Stavros Sachtouris

Add json/optional outputs to server commands

Refs: #3732

6aadd6e1 05/21/2013 07:47 pm Stavros Sachtouris

Do not unpublish by default @ pithos rest calls

Refs: #3780

c4aefeaf 05/21/2013 07:32 pm Stavros Sachtouris

Update and enrich error messages in image register

Parse ivalid property file and guide users to correct it
Guide users to pass valid container:path parameters

Refs:#3769

9553da85 05/21/2013 06:26 pm Stavros Sachtouris

Print full and nice response in image register

f17121cd 05/21/2013 06:10 pm Stavros Sachtouris

Do not recalculate #blocks in upload_from_string

Refs: #3608

f7a37648 05/21/2013 06:04 pm Stavros Sachtouris

Make sure registered properties are unique

Refs: #3769

00336c85 05/21/2013 05:08 pm Stavros Sachtouris

Store image properties after image registration

Log of changes:
- Properties are stored in a remote file on Pithos+
- File name is <image-file>.meta
- Feature can be switched off with --no-property-file-upload
- If remote property file exists, registration is aborted...

623a4ceb 05/21/2013 03:23 pm Stavros Sachtouris

Optionaly load images properties from file

Refs: #3769

395fbf9e 05/20/2013 06:40 pm Stavros Sachtouris

Update documentation to reflect changes in output

Refs: #3756

f5f35422 05/20/2013 05:54 pm Stavros Sachtouris

Apply option outputs to image commands + renames

- Add image.add_member missing content-length header
- Rename image-[add|del]member commands to members-[add|delete]
- Remove update option from image-register
- In image-compute split properties to properties-list and properties-get...

915b99b5 05/20/2013 01:21 pm Stavros Sachtouris

Apply optional output to kamaki file commands

Apply the feature wherever is applicable
Generalize the feature by moving the corresponding code to _command_init

5655d560 05/17/2013 07:11 pm Stavros Sachtouris

Update file operations and their output

Refs: #3756 #3732

- Add optional output for file methods: mkdir, touch, create, move, create,
copy, move, append, delete, purge, info, meta, upload
- Transliterate permissions and metadata methods to apear as get/set/delete...
55c75058 05/17/2013 03:49 pm Stavros Sachtouris

Add output to file copy/move

Also, kamaki.clients.pithos.copy/move_object returns response headers

Refs: #3756 #3732