Revision 30ae7724 docs/upgrade/upgrade-0.15.rst
b/docs/upgrade/upgrade-0.15.rst | ||
---|---|---|
4 | 4 |
Prerequisites |
5 | 5 |
============== |
6 | 6 |
|
7 |
Before upgrading to v0.15 there are two steps that must be performed, relative
|
|
8 |
with Cyclades networking service.
|
|
7 |
Before upgrading to v0.15 there are three steps that must be performed, relative
|
|
8 |
to the Cyclades networking service.
|
|
9 | 9 |
|
10 |
Add unique name to the NICs of all Ganeti instances |
|
10 |
Add unique names to the NICs of all Ganeti instances
|
|
11 | 11 |
--------------------------------------------------- |
12 | 12 |
|
13 | 13 |
Since Ganeti 2.8, it is supported to give a name to NICs of Ganeti instances |
14 |
and refer to them with their name, and not only by their index. Synnefo v0.15
|
|
14 |
and refer to them by their name, and not only by their index. Synnefo v0.15
|
|
15 | 15 |
assigns a unique name to each NIC and refers to them by their unique name. |
16 | 16 |
Before upgrading to v0.15, Synnefo must assign names to all existing NICs. |
17 | 17 |
This can easily be performed with a helper script that is shipped with Synnefo |
... | ... | |
36 | 36 |
must ensure that the network configuration to all Ganeti backends is identical |
37 | 37 |
and appropriate to support all public networks of Cyclades. |
38 | 38 |
|
39 |
Update Ganeti allocation policy |
|
40 |
------------------------------- |
|
41 |
|
|
42 |
Minimum number of NICs |
|
43 |
`````````````````````` |
|
44 |
|
|
45 |
Until v0.14 all Cyclades VM were forced to be connected to the public network. |
|
46 |
Synnefo v0.15 supports dynamic addition and removal of public IPv4 addresses, |
|
47 |
which may result in a VM holding no NICs. However, Ganeti's default allocation |
|
48 |
policy will not allow instance's without NICs. You will have to override |
|
49 |
allocation policy to set the minimum number of NICs to zero. Todo this, |
|
50 |
first get the current allocation policy: |
|
51 |
|
|
52 |
.. code-block:: console |
|
53 |
|
|
54 |
$ gnt-cluster show-ispecs-cmd |
|
55 |
gnt-cluster init --ipolicy-std-specs cpu-count=1,disk-count=1,disk-size=1024,memory-size=128,nic-count=1,spindle-use=1 |
|
56 |
--ipolicy-bounds-specs min:cpu-count=1,disk-count=1,disk-size=1024,memory-size=128,nic-count=1,spindle-use=1/max:cpu-count=8,disk-count=16,disk-size=1048576,memory-size=32768,nic-count=8,spindle-use=12 |
|
57 |
ganeti1.example.synnefo.org |
|
58 |
|
|
59 |
And replace `min:nic-count=1` with `min:nic-count=0`. Also, set |
|
60 |
`max:nic-count=32` to avoid reaching default limit of 8. |
|
61 |
|
|
62 |
|
|
63 |
.. code-block:: console |
|
64 |
|
|
65 |
gnt-cluster modify --ipolicy-bounds-specs min:cpu-count=1,disk-count=1,disk-size=1024,memory-size=128,nic-count=0,spindle-use=1/max:cpu-count=8,disk-count=16,disk-size=1048576,memory-size=32768,nic-count=32,spindle-use=12 |
|
66 |
|
|
67 |
Enabled and allowed disk templates |
|
68 |
`````````````````````````````````` |
|
69 |
|
|
70 |
In v0.15, the ``ARCHIPELAGO_BACKENDS`` settings, that was used to seperate |
|
71 |
backends that were using Archipelago from the ones that were using all other |
|
72 |
disk templates, has been removed. Instead, allocation of instances to Ganeti |
|
73 |
backends is based on which disk templates are enabled and allowed in each |
|
74 |
Ganeti backend (see section in :ref:`admin guide <alloc_disk_templates>`). |
|
75 |
You can see the enabled/allowed disk templates by inspecting |
|
76 |
the corresponding fields in `gnt-cluster info` output. For example, to have |
|
77 |
a backend holding only instances with archipelago disk templates, you can set |
|
78 |
the `--ipolicy-disk-templates` to include only `ext` disk template. |
|
79 |
|
|
80 |
.. code-block:: console |
|
81 |
|
|
82 |
gnt-cluster modify --ipolicy-disk-templates=ext |
|
39 | 83 |
|
40 | 84 |
Upgrade Steps |
41 | 85 |
============= |
... | ... | |
146 | 190 |
|
147 | 191 |
.. _pithos_view_registration: |
148 | 192 |
|
149 |
2.3 Register pithos view as an oauth 2.0 client in astakos
|
|
193 |
2.3 Register pithos view as an OAuth 2.0 client in astakos
|
|
150 | 194 |
---------------------------------------------------------- |
151 | 195 |
|
152 | 196 |
Starting from synnefo version 0.15, the pithos view, in order to get access to |
Also available in: Unified diff