Revision 3f31a848 docs/upgrade/upgrade-0.14.rst

b/docs/upgrade/upgrade-0.14.rst
65 65
* In Pithos settings, introduce a ``PITHOS_BASE_URL`` setting.
66 66
  It must point to the top-level Pithos URL.
67 67

  
68
3 Register astakos service and migrate quota
69
============================================
68
3 Register services and migrate quota
69
=====================================
70 70

  
71
You need to register Astakos as a service. The following command will ask
72
you to provide the service URL (to appear in the Cloudbar) as well as its
73
API URL. It will also automatically register the resource definitions
74
offered by astakos.
71
You need to register astakos as a component. Moreover you need to register
72
all services provided by cyclades and pithos.
75 73

  
76
Run::
74
Running the following script you will be asked to provide the base
75
installation URL for each component. You will also need to specify the URL
76
where the astakos UI resides::
77 77

  
78
    astakos-host$ snf-register-services astakos
78
    astakos-host$ snf-register-components
79 79

  
80 80
.. note::
81 81

  
82
   This command is equivalent to running:
83

  
84
   .. code-block:: console
85
     astakos-host$ snf-manage service-add astakos service_url api_url
86
     astakos-host$ snf-manage resource-export-astakos > astakos.json
87
     astakos-host$ snf-manage resource-import --json astakos.json
88

  
82
   This command is equivalent to running the following series of commands;
83
   in each host it exports the respective service definitions, copies the
84
   exported json file to the astakos host, where it finally imports it:
85

  
86
    .. code-block:: console
87

  
88
       astakos-host$ snf-manage component-add astakos ui_url
89
       astakos-host$ snf-manage service-export-astakos > astakos.json
90
       astakos-host$ snf-manage service-import --json astakos.json
91
       cyclades-host$ snf-manage service-export-cyclades > cyclades.json
92
       # copy the file to astakos-host
93
       astakos-host$ snf-manage service-import --json cyclades.json
94
       pithos-host$ snf-manage service-export-pithos > pithos.json
95
       # copy the file to astakos-host
96
       astakos-host$ snf-manage service-import --json pithos.json
89 97

  
90 98
The limit on pending project applications is since 0.14 handled as an
91 99
Astakos resource, rather than a custom setting. Command::

Also available in: Unified diff