Statistics
| Branch: | Tag: | Revision:

root / README.Upgrade @ 4c3bae3b

History | View | Annotate | Download (1.7 kB)

1 4c3bae3b Stavros Sachtouris
This document describes changes and steps to upgrade from kamaki 0.7.X to kamaki 0.8
2 4c3bae3b Stavros Sachtouris
3 4c3bae3b Stavros Sachtouris
This document refers to users who:
4 4c3bae3b Stavros Sachtouris
- use the kamaki command line
5 4c3bae3b Stavros Sachtouris
- load configuration options with the kamaki.cli.config
6 4c3bae3b Stavros Sachtouris
7 4c3bae3b Stavros Sachtouris
Notable changes:
8 4c3bae3b Stavros Sachtouris
- Make progress (>= 1.1) module a requirement (was a suggestion)
9 4c3bae3b Stavros Sachtouris
- Rename some command groups:
10 4c3bae3b Stavros Sachtouris
    store --> file
11 4c3bae3b Stavros Sachtouris
    astakos --> user
12 4c3bae3b Stavros Sachtouris
- Rename some mandatory configuration options:
13 4c3bae3b Stavros Sachtouris
    astakos.url --> user.url,
14 4c3bae3b Stavros Sachtouris
    store.url --> file.url
15 4c3bae3b Stavros Sachtouris
- Do not require <cmd group>.cli (cli specification) field in configuration file, use it only to override default values.
16 4c3bae3b Stavros Sachtouris
- Change the naming convention for cli specifications by loosing the _cli suffix:
17 4c3bae3b Stavros Sachtouris
    <cmd group>_cli --> <cmd group>
18 4c3bae3b Stavros Sachtouris
- Seperate kamaki image commands based on whether they make requests to Plankton or Cyclades.
19 4c3bae3b Stavros Sachtouris
    Plankton image commands: kamaki image <action>
20 4c3bae3b Stavros Sachtouris
    Cyclades image commands: kamaki image compute <action>
21 4c3bae3b Stavros Sachtouris
- Rename: kamaki image public --> kamaki image list
22 4c3bae3b Stavros Sachtouris
- Change letter case for recursive download runtime argument:
23 4c3bae3b Stavros Sachtouris
    kamaki store download -r <container>:<path> [local destination]
24 4c3bae3b Stavros Sachtouris
    -->
25 4c3bae3b Stavros Sachtouris
    kamaki file download -R <container>:<path> [local destination]
26 4c3bae3b Stavros Sachtouris
27 4c3bae3b Stavros Sachtouris
28 4c3bae3b Stavros Sachtouris
Suggested upgrade method:
29 4c3bae3b Stavros Sachtouris
1. Backup the .kamakirc file (usually stored as ~/.kamakirc). E.g.:
30 4c3bae3b Stavros Sachtouris
    cp ~/.kamakirc ~/tmp/.kamakirc.bu
31 4c3bae3b Stavros Sachtouris
2. Upgrade kamaki (refer to your installation method). E.g. if installed from pypi:
32 4c3bae3b Stavros Sachtouris
    pip install --upgrade kamaki
33 4c3bae3b Stavros Sachtouris
3. Download the script bellow:
34 4c3bae3b Stavros Sachtouris
    For Linux, OS X, *nix, systems that run bash:
35 4c3bae3b Stavros Sachtouris
        https://code.grnet.gr/attachments/download/2493/kamaki0.7to0.8.sh
36 4c3bae3b Stavros Sachtouris
    For windows:
37 4c3bae3b Stavros Sachtouris
        https://code.grnet.gr/attachments/download/2497/kamaki0.7to0.8.bat
38 4c3bae3b Stavros Sachtouris
and run it from command line. This script will modify the default .kamakirc file in order to comply with version 0.8