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
@@ -41,6 +41,7 @@ This configuration provides the following:
41
41
* Playbooks to synchronise a local Pulp service with Ark
42
42
* Configuration to use the local Pulp repository mirrors on control plane hosts
43
43
* Configuration to use the local Pulp container registry on control plane hosts
44
+ * Configuration to deploy pre-built OS images to overcloud hosts using Bifrost
44
45
45
46
Local Pulp server
46
47
-----------------
@@ -60,6 +61,10 @@ Pulp startup.
60
61
If a proxy is required to access the Internet from the seed, ``pulp_proxy_url ``
61
62
may be used.
62
63
64
+ Host images are not synchronised to the local Pulp server, since they should
65
+ only be pulled to the seed node once. More information on host images can be
66
+ found :ref: `here <host-images >`.
67
+
63
68
StackHPC Ark
64
69
------------
65
70
@@ -74,6 +79,9 @@ The Ark pulp credentials issued by StackHPC should be configured in
74
79
Package repositories
75
80
--------------------
76
81
82
+ Rocky Linux 9 and Ubuntu Jammy package repositories are synced based on the
83
+ value of ``os_distribution `` and ``os_release ``.
84
+
77
85
On Ark, each package repository provides versioned snapshots using a datetime
78
86
stamp (e.g. ``20220817T082321 ``). The current set of tested versions is defined
79
87
in ``etc/kayobe/pulp-repo-versions.yml ``. This file is managed by the StackHPC
@@ -83,15 +91,28 @@ repository.
83
91
Package managers
84
92
----------------
85
93
86
- For Rocky Linux based systems, package manager configuration is
87
- provided by ``stackhpc_dnf_repos `` in ``etc/kayobe/dnf.yml ``, which points to
88
- package repositories on the local Pulp server. To use this configuration, the
94
+ For Ubuntu Jammy systems, the package manager configuration is provided by
95
+ ``stackhpc_apt_repositories `` in ``etc/kayobe/apt.yml ``.
96
+
97
+ The configuration is applied by default to all Ubuntu hosts. The configuration
98
+ can be overridden by changing the repository definitions in
99
+ ``apt_repositories `` or toggling ``apt_disable_sources_list `` to use the
100
+ default apt repositories. This can be done on a host-by host basis by defining
101
+ the variables as host or group vars under ``etc/kayobe/inventory/host_vars `` or
102
+ ``etc/kayobe/inventory/group_vars ``.
103
+
104
+ For Rocky Linux based systems, package manager configuration is provided by
105
+ ``stackhpc_dnf_repos `` in ``etc/kayobe/dnf.yml ``, which points to package
106
+ repositories on the local Pulp server. To use this configuration, the
89
107
``dnf_custom_repos `` variable must be set, and this is done for hosts in the
90
108
``overcloud `` group via the group_vars file
91
109
``etc/kayobe/inventory/group_vars/overcloud/stackhpc-dnf-repos ``. Similar
92
110
configuration may be added for other groups, however there may be ordering
93
111
issues during initial deployment when Pulp has not yet been deployed.
94
112
113
+ In both instances, the configuration points to package repositories on the
114
+ local Pulp server.
115
+
95
116
The distribution name for the environment should be configured as either
96
117
``development `` or ``production `` via ``stackhpc_repo_distribution `` in
97
118
``etc/kayobe/stackhpc.yml ``.
@@ -102,6 +123,13 @@ Ceph container images
102
123
By default, Ceph images are not synced from quay.io to the local Pulp. To sync
103
124
these images, set ``stackhpc_sync_ceph_images `` to ``true ``.
104
125
126
+ HashiCorp container images
127
+ --------------------------
128
+
129
+ By default, HashiCorp images (Consul and Vault) are not synced from Docker Hub
130
+ to the local Pulp. To sync these images, set ``stackhpc_sync_hashicorp_images ``
131
+ to ``true ``.
132
+
105
133
Usage
106
134
=====
107
135
@@ -136,7 +164,7 @@ See the Kayobe :kayobe-doc:`custom playbook documentation
136
164
these are new container image repositories, then the new image tags will not
137
165
be available to cloud nodes until they have been published.
138
166
* ``pulp-container-publish.yml ``: Publish synchronised container images in the
139
- local Pulp. This will make synchonised container images available to cloud
167
+ local Pulp. This will make synchronised container images available to cloud
140
168
nodes.
141
169
142
170
Syncing content
@@ -254,4 +282,4 @@ you will see a 404 error during ``pulp-repo-sync.yml``:
254
282
msg: Task failed to complete. (failed; 404, message='Not Found', url=URL('https://ark.stackhpc.com/pulp/content/rocky/9/BaseOS/x86_64/os/20211122T102435')) '''
255
283
256
284
The issue can be rectified by updating the ``stackhpc_release_pulp_username ``
257
- and ``stackhpc_release_pulp_password `` variables
285
+ and ``stackhpc_release_pulp_password `` variables.
0 commit comments