2
2
StackHPC Release Train
3
3
======================
4
4
5
- StackHPC provides packages and container images for OpenStack via ` Ark
6
- <https://ark.stackhpc.com> `__. These artifacts are built and released using a
7
- process known as the `Release Train
5
+ StackHPC provides packages, container images, and host images for OpenStack via
6
+ ` Ark <https://ark.stackhpc.com >`__. These artifacts are built and released using
7
+ a process known as the `Release Train
8
8
<https://stackhpc.github.io/stackhpc-release-train/> `__.
9
9
10
10
Deployments should use a local `Pulp <https://pulpproject.org/ >`__ repository
@@ -37,10 +37,12 @@ Configuration
37
37
This configuration provides the following:
38
38
39
39
* Configuration to deploy a local Pulp service as a container on the seed
40
- * Pulp repository definitions for CentOS Stream 8 and Rocky Linux 8
40
+ * Pulp repository definitions for CentOS Stream 8, Rocky Linux 8/9 and Ubuntu
41
+ Jammy
41
42
* Playbooks to synchronise a local Pulp service with Ark
42
43
* Configuration to use the local Pulp repository mirrors on control plane hosts
43
44
* Configuration to use the local Pulp container registry on control plane hosts
45
+ * Configuration to deploy pre-built OS images to overcloud hosts using Bifrost
44
46
45
47
Local Pulp server
46
48
-----------------
@@ -60,6 +62,10 @@ Pulp startup.
60
62
If a proxy is required to access the Internet from the seed, ``pulp_proxy_url ``
61
63
may be used.
62
64
65
+ Host images are not synchronised to the local Pulp server, since they should
66
+ only be pulled to the seed node once. More information on host images can be
67
+ found :ref: `here <host-images >`.
68
+
63
69
StackHPC Ark
64
70
------------
65
71
@@ -74,12 +80,12 @@ The Ark pulp credentials issued by StackHPC should be configured in
74
80
Package repositories
75
81
--------------------
76
82
77
- Currently, Ark does not provide package repositories for Ubuntu - only
78
- container images. For this reason, ``stackhpc_pulp_sync_ubuntu_focal `` in
79
- ``etc/kayobe/pulp.yml `` is set to ``false `` by default.
83
+ Currently, Ark does not provide package repositories for Ubuntu Jammy 22.04 -
84
+ only container images.
80
85
81
- CentOS Stream 8 and Rocky Linux 8/9 package repositories are synced based on the
82
- value of ``os_distribution ``. If you need to sync multiple distributions,
86
+ CentOS Stream 8, Rocky Linux 8/9, and Ubuntu Focal package repositories are
87
+ synced based on the value of ``os_distribution `` and ``os_release `` . If you
88
+ need to sync multiple RHEL-like distributions,
83
89
``stackhpc_pulp_sync_centos_stream8 ``, ``stackhpc_pulp_sync_rocky_8 `` and
84
90
``stackhpc_pulp_sync_rocky_9 `` in ``etc/kayobe/pulp.yml `` may be set to
85
91
``true ``.
@@ -93,8 +99,15 @@ repository.
93
99
Package managers
94
100
----------------
95
101
96
- No configuration is provided for APT, since Ark does not currently provide
97
- package repositories for Ubuntu - only container images.
102
+ For Ubuntu Focal systems, the package manager configuration is provided by
103
+ ``stackhpc_apt_repositories `` in ``etc/kayobe/apt.yml ``.
104
+
105
+ The configuration is applied by default to all Ubuntu Focal hosts. The
106
+ configuration can be overridden by changing the repository definitions in
107
+ ``apt_repositories `` or toggling ``apt_disable_sources_list `` to use the default
108
+ apt repositories. This can be done on a host-by host basis by defining the
109
+ variables as host or group vars under ``etc/kayobe/inventory/host_vars `` or
110
+ ``etc/kayobe/inventory/group_vars ``.
98
111
99
112
For CentOS and Rocky Linux based systems, package manager configuration is
100
113
provided by ``stackhpc_dnf_repos `` in ``etc/kayobe/dnf.yml ``, which points to
@@ -105,6 +118,9 @@ package repositories on the local Pulp server. To use this configuration, the
105
118
configuration may be added for other groups, however there may be ordering
106
119
issues during initial deployment when Pulp has not yet been deployed.
107
120
121
+ In both instances, the configuration points to package repositories on the
122
+ local Pulp server.
123
+
108
124
The distribution name for the environment should be configured as either
109
125
``development `` or ``production `` via ``stackhpc_repo_distribution `` in
110
126
``etc/kayobe/stackhpc.yml ``.
@@ -156,7 +172,7 @@ See the Kayobe :kayobe-doc:`custom playbook documentation
156
172
these are new container image repositories, then the new image tags will not
157
173
be available to cloud nodes until they have been published.
158
174
* ``pulp-container-publish.yml ``: Publish synchronised container images in the
159
- local Pulp. This will make synchonised container images available to cloud
175
+ local Pulp. This will make synchronised container images available to cloud
160
176
nodes.
161
177
162
178
Syncing content
@@ -274,4 +290,4 @@ you will see a 404 error during ``pulp-repo-sync.yml``:
274
290
msg: Task failed to complete. (failed; 404, message='Not Found', url=URL('https://ark.stackhpc.com/pulp/content/centos/8-stream/BaseOS/x86_64/os/20211122T102435')) '''
275
291
276
292
The issue can be rectified by updating the ``stackhpc_release_pulp_username ``
277
- and ``stackhpc_release_pulp_password `` variables
293
+ and ``stackhpc_release_pulp_password `` variables.
0 commit comments