You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usage/content-howto.md
+27-4Lines changed: 27 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,24 +7,47 @@ That is the aim of this page.
7
7
8
8
Update one or more package repositories to a new version, then build new Kolla container images from those repositories.
9
9
10
+
If using Yoga release or earlier:
11
+
10
12
* If the repository URL has changed e.g. a new minor version has been released, add new package repositories to [`package-repos`](https://github.com/stackhpc/stackhpc-release-train/blob/main/ansible/inventory/group_vars/all/package-repos)
11
13
*[Sync package repositories](content-workflows.md#syncing-package-repositories) (optional: runs nightly as a scheduled GitHub Action)
* If the repository URL has changed e.g. a new minor version has been released, add new package repositories to [`package-repos`](https://github.com/stackhpc/stackhpc-release-train/blob/main/ansible/inventory/group_vars/all/package-repos)
24
+
*[Sync package repositories](content-workflows.md#syncing-package-repositories) (optional: runs nightly as a scheduled GitHub Action)
## Updating container image tags in Kayobe configuration
208
-
209
-
!!! note
210
-
211
-
This procedure is expected to change.
207
+
## Updating container image tags in Kayobe configuration (Yoga release and earlier)
212
208
213
209
The image tag used deploy containers may be updated for all images in [etc/kayobe/kolla.yml](https://github.com/stackhpc/stackhpc-kayobe-config/blob/stackhpc/wallaby/etc/kayobe/kolla.yml), or for specific images in [etc/kayobe/kolla/globals.yml](https://github.com/stackhpc/stackhpc-kayobe-config/blob/stackhpc/wallaby/etc/kayobe/kolla/globals.yml).
214
210
Currently this is a manual process.
@@ -237,6 +233,55 @@ Alternatively, to update the tag for a specific container, update `etc/kayobe/ko
The image tags used deploy containers are defined in [etc/kayobe/kolla-image-tags.yml](https://github.com/stackhpc/stackhpc-kayobe-config/blob/stackhpc/zed/etc/kayobe/kolla-image-tags.yml).
239
+
Currently updating these is a manual process.
240
+
241
+
Use the new tag from the [container image build](#building-container-images).
242
+
243
+
For example, to update the default tag for all images (used where no service-specific tag has been set), update the `openstack` key, and remove all other keys:
244
+
245
+
```yaml
246
+
# Dict of Kolla image tags to deploy for each service.
247
+
# Each key is the tag variable prefix name, and the value is another dict,
248
+
# where the key is the OS distro and the value is the tag to deploy.
249
+
kolla_image_tags:
250
+
openstack:
251
+
rocky-9: zed-rocky-9-20230101T000000
252
+
ubuntu-jammy: zed-ubuntu-jammy-20230101T000000
253
+
```
254
+
255
+
Alternatively, update the tag for all containers in a service, e.g. for all `nova` containers:
256
+
257
+
```yaml
258
+
# Dict of Kolla image tags to deploy for each service.
259
+
# Each key is the tag variable prefix name, and the value is another dict,
260
+
# where the key is the OS distro and the value is the tag to deploy.
261
+
kolla_image_tags:
262
+
openstack:
263
+
rocky-9: zed-rocky-9-20230101T000000
264
+
ubuntu-jammy: zed-ubuntu-jammy-20230101T000000
265
+
nova:
266
+
rocky-9: zed-rocky-9-20230102T000000
267
+
ubuntu-jammy: zed-ubuntu-jammy-20230102T000000
268
+
```
269
+
270
+
Alternatively, update the tag for a specific container, e.g. for the `nova_compute` container:
271
+
272
+
```yaml
273
+
# Dict of Kolla image tags to deploy for each service.
274
+
# Each key is the tag variable prefix name, and the value is another dict,
275
+
# where the key is the OS distro and the value is the tag to deploy.
0 commit comments