- 17 Oct, 2014 1 commit
-
-
Stavros Sachtouris authored
Fixes grnet/kamaki#58 This bug fix refers to the LoggedAstakosClient wrapper. The class AstakosClient is not forced to use a default logger.
-
- 16 Oct, 2014 1 commit
-
-
Stavros Sachtouris authored
Fixes grnet/kamaki#56 The bug is limited in "kamaki create network"
-
- 15 Oct, 2014 2 commits
-
-
Ilias Tsitsimpis authored
Kamaki would try to verify the SSL connection even when '-k' flag was given and then would fall back. This doesn't work because we cannot use the same socket twice.
-
Ilias Tsitsimpis authored
-
- 13 Oct, 2014 1 commit
-
-
Stavros Sachtouris authored
-
- 02 Oct, 2014 1 commit
-
-
Stavros Sachtouris authored
Closes grnet/kamaki#32 Kamaki CLI commands use some generic output methods to handle outputs. Generic output methods that escape control characters: - in kamaki.cli.utils: print_items, print_dict, print_list - in kamaki.cli.cmds: error Generic output methods that don't escape control characters: - in kamaki.cli.cmds: writeln, write The methods that don't escape control characters are used when the standard methods are not sufficient. For example, in "kamaki.cli.pithos" the "PithosAccount.print_objects" method adds decorative escape characters (i.e., bold, alignment), but has to escape the parts object and container names. To achieve this, escaping is handled in the method, and the output is printed with the "write" and "writeln" methods mentioned earlier. An encoding issue with kamaki.cli.errors.CLIError and the Exceptions extending it, is fixed. It is now ensured that the error message will always be in unicode. Also, fix flake8 errors on files affected by the above changes
-
- 01 Oct, 2014 2 commits
-
-
Stavros Sachtouris authored
Refs grnet/kamaki#32 String decoding was used to deal with unicode strings, which were encoded as "unicode_escape" in earlier steps. The later was wrong and it was fixed with 18d5b053 The present commit completes the fix by undoing the decoding.
-
Stavros Sachtouris authored
Refs grnet/kamaki#32 Implement method escape_ctrl_chars Escape control characters in HTTP data logs Remove misleading separators from HTTP logs
-
- 26 Sep, 2014 2 commits
-
-
Stavros Sachtouris authored
Refs grnet/kamaki#54
-
Stavros Sachtouris authored
Refs grnet/kamaki#59 Add an SSL Authentication section under "Developers Guide". Update existing examples and descriptions with SSL related information.
-
- 25 Sep, 2014 4 commits
-
-
Stavros Sachtouris authored
Refs #55 If no CA certificates are set, kamaki clients will use CACERTS_DEFAULT_PATH from "kamaki.defaults". This commit concerns applications using "kamaki.clients", but does not affect the kamaki CLI.
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Refs #54 Both options are set either in the config file or as runtime arguments. ignore-ssl option allows connections without checking SSL certificates. The ca-certs option provides a CA file for SSL authentication. Normally, if no cert files are provided or they are invalid, kamaki attempts to connect anyway, and an SSL Error ensues. If ignore-ssl is set to "on", kamaki connects to servers regardless of the existence or validity of a cert file and all SSL errors are ignored. To help package maintainers to provide the correct CA file for their platform, the default path is set in "kamaki/defaults.py" as CACERTS_DEFAULT_PATH
-
Stavros Sachtouris authored
Refs #54 The module objpool.http provides pooled connections without SSL Authentication. A new connection class is implemented in kamaki.clients.utils.https The name of the class is HTTPSClientAuthConnection The PooledHTTPConnection is patched to provide HTTPSClientAuthConnection instances as https connections. Also, astakosclient module is patched to use the same https connection class.
-
- 23 Sep, 2014 1 commit
-
-
Ilias Tsitsimpis authored
-
- 15 Sep, 2014 2 commits
-
-
Ilias Tsitsimpis authored
-
Vangelis Koukis authored
This reverts commit 556d5f15. For more information, please see the discussion on Issue #32.
-
- 25 Aug, 2014 2 commits
-
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Download progress bar was using the number of missing blocks as its length. It now uses the total number of blocks in the file, instead.
-
- 01 Aug, 2014 1 commit
-
-
Stavros Sachtouris authored
-
- 30 Jul, 2014 1 commit
-
-
Stavros Sachtouris authored
Fixes #41 This bug was located at the code that parses the command terms. If a term is invalid with respect to the current locale settings, an "Unknown error" was being raised. Kamaki is now reporting a descriptive error with a reference to the faulty term.
-
- 29 Jul, 2014 6 commits
-
-
Stavros Sachtouris authored
Fixes #36 The terms "no-vnc" and "no-vnc-encrypted" are expected to be easily understood by users, while the equivalent terms vnc-ws and vnc-wss (respectively) are used in Compute API. Kamaki CLI will now accept both terms by internally translating the former to the later.
-
Stavros Sachtouris authored
Refs #36 New types: vnc-ws, vnc-wss
-
Stavros Sachtouris authored
Refs #36 New types: vnc-ws, vnc-wss
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Fixes #32 This commit ensures that control characters are escaped in all HTTP response bodies, as long as they are parsed as json strings Raw content is kept intact Response header contents were already handled correctly
-
Stavros Sachtouris authored
Fixes #37 When creating a server, custom metadata "os" and "users" are automatically derived from the image properties. This commit allows users to overwrite them or add extra custom metadata at server creation time.
-
- 24 Jul, 2014 2 commits
-
-
indorilftw authored
Replace 'VMC' with 'VNC' for 'server console' command. Close grnet/kamaki#40
-
indorilftw authored
Delete trailing whitespace and fix ':' alignment. Ref grnet/kamaki#40
-
- 17 Jul, 2014 1 commit
-
-
Giorgos Korfiatis authored
Named arg project_id was mistyped.
-
- 08 Jul, 2014 1 commit
-
-
Ilias Tsitsimpis authored
-
- 07 Jul, 2014 9 commits
-
-
Stavros Sachtouris authored
Description of the problem: The "print_" method is used internally to print API results. The old name of the method was "_print" and blockstorage commands had leftovers of that.
-
Stavros Sachtouris authored
Uploads and downloads have the form kamaki file ACTION SOURCE [TARGET] Problem: If the SOURCE is a path and TARGET is missing, kamaki used to preserve the path structure on the destination e.g., $ kamaki file upload /tmp/some/file.txt create remote dir tmp create remote dir tmp/some upload /tmp/some/file.txt --> tmp/some/file.txt Solution: Use the basename of the SOURCE in this case e.g., $ kamaki file upload /tmp/some/file.txt upload /tmp/some/file.txt --> file.txt
-
Stavros Sachtouris authored
Fixes #31
-
Stavros Sachtouris authored
Fixes #30
-
Stavros Sachtouris authored
Also, adjust to new "kamaki.cli" naming conventions
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
The Cyclades client overrides some methods of the OS-specific client, due to API differences: create_volume, create_snapshot Unit tests for these methods are also implemented
-
Stavros Sachtouris authored
Includes unit tests
-