@@ -22,9 +22,10 @@ release. Alpha tag usage is at discretion of the operator. The alpha identifier
22
22
could be a number as recommended or a string of the operator's choosing.
23
23
24
24
To customize the version number uncomment ``openstack_release `` in globals.yml
25
- and specify the version number desired. If ``openstack_release `` is not
26
- specified, Kolla will deploy or upgrade using the version number information
27
- contained in the kolla-ansible package.
25
+ and specify the desired version number or name (e.g. ``victoria ``,
26
+ ``wallaby ``). If ``openstack_release `` is not specified, Kolla will deploy or
27
+ upgrade using the version number information contained in the kolla-ansible
28
+ package.
28
29
29
30
Upgrade procedure
30
31
~~~~~~~~~~~~~~~~~
@@ -82,32 +83,34 @@ should be upgraded first. This will include reviewing some of the configuration
82
83
and inventory files. On the operator/master node, a backup of the
83
84
``/etc/kolla `` directory may be desirable.
84
85
85
- If upgrading from ``5.0.0 `` to ``6.0.0 ``, upgrade the kolla-ansible package:
86
+ If upgrading to ``|KOLLA_OPENSTACK_RELEASE| ``, upgrade the kolla-ansible
87
+ package:
86
88
87
89
.. code-block :: console
88
90
89
- pip install --upgrade kolla-ansible==6.0.0
91
+ pip install --upgrade git+https://opendev.org/openstack/ kolla-ansible@|KOLLA_BRANCH_NAME|
90
92
91
93
If this is a minor upgrade, and you do not wish to upgrade kolla-ansible
92
94
itself, you may skip this step.
93
95
94
96
The inventory file for the deployment should be updated, as the newer sample
95
97
inventory files may have updated layout or other relevant changes.
96
- Use the newer ``6.0.0 `` one as a starting template, and merge your existing
97
- inventory layout into a copy of the one from here::
98
+ Use the newer ``|KOLLA_OPENSTACK_RELEASE| `` one as a starting template, and
99
+ merge your existing inventory layout into a copy of the one from here::
98
100
99
101
/usr/share/kolla-ansible/ansible/inventory/
100
102
101
- In addition the ``6.0.0 `` sample configuration files should be taken from::
103
+ In addition the ``|KOLLA_OPENSTACK_RELEASE| `` sample configuration files should
104
+ be taken from::
102
105
103
106
# CentOS
104
107
/usr/share/kolla-ansible/etc_examples/kolla
105
108
106
109
# Ubuntu
107
110
/usr/local/share/kolla-ansible/etc_examples/kolla
108
111
109
- At this stage, files that are still at the `` 5.0.0 `` version - which need
110
- manual updating are:
112
+ At this stage, files that are still at the previous version and need manual
113
+ updating are:
111
114
112
115
- ``/etc/kolla/globals.yml ``
113
116
- ``/etc/kolla/passwords.yml ``
@@ -117,18 +120,20 @@ template, and then replace the file in ``/etc/kolla`` with the updated version.
117
120
For ``passwords.yml ``, see the ``kolla-mergepwd `` instructions in
118
121
`Tips and Tricks `.
119
122
120
- For the kolla docker images, the ``openstack_release `` is updated to ``6.0.0 ``:
123
+ For the kolla docker images, the ``openstack_release `` is updated to
124
+ ``|KOLLA_OPENSTACK_RELEASE| ``:
121
125
122
126
.. code-block :: yaml
123
127
124
- openstack_release : 6.0.0
128
+ openstack_release : |KOLLA_OPENSTACK_RELEASE|
125
129
126
130
Once the kolla release, the inventory file, and the relevant configuration
127
131
files have been updated in this way, the operator may first want to 'pull'
128
- down the images to stage the ``6.0.0 `` versions. This can be done safely
129
- ahead of time, and does not impact the existing services. (optional)
132
+ down the images to stage the ``|KOLLA_OPENSTACK_RELEASE| `` versions. This can
133
+ be done safely ahead of time, and does not impact the existing services.
134
+ (optional)
130
135
131
- Run the command to pull the ``6.0.0 `` images for staging:
136
+ Run the command to pull the ``|KOLLA_OPENSTACK_RELEASE| `` images for staging:
132
137
133
138
.. code-block :: console
134
139
0 commit comments