Skip to content

Commit be9c0b1

Browse files
committed
Update release train documentation
Updated the documentation for release train, in particular adding information on how to use the host images in Ark, and updating the details surrounding Ubuntu packages.
1 parent 2792a85 commit be9c0b1

File tree

2 files changed

+64
-8
lines changed

2 files changed

+64
-8
lines changed

doc/source/configuration/host-images.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,44 @@
44
Host Images
55
===========
66

7+
Pulling host images
8+
===================
9+
10+
StackHPC provides pre-built overcloud host images through Ark, which can be
11+
consumed using the configuration provided by this repository.
12+
13+
When configured, an image will be downloaded to the seed during the
14+
``kayobe seed service deploy`` step, and subsequently deployed using bifrost
15+
with ``kayobe overcloud provision``.
16+
17+
To use these images, set ``stackhpc_download_overcloud_host_images`` to true
18+
in ``etc/kayobe/stackhpc-overcloud-host-images.yml``.
19+
20+
Currently, images exist for the following operating systems:
21+
22+
* CentOS 8 Stream
23+
* Rocky Linux 8
24+
* Rocky Linux 9
25+
* Ubuntu Focal 20.04
26+
* Ubuntu Jammy 22.04
27+
28+
The image to download is selected automatically using the ``os_distribution``
29+
and ``os_release`` variables.
30+
31+
This content requires the same set of credentials as is used for other
32+
release train content.
33+
34+
The Ark pulp credentials issued by StackHPC should be configured in
35+
``etc/kayobe/pulp.yml``, using Ansible Vault to encrypt the password:
36+
37+
.. code-block:: yaml
38+
39+
stackhpc_release_pulp_username: <username>
40+
stackhpc_release_pulp_password: <password>
41+
42+
Building host images
43+
====================
44+
745
StackHPC Kayobe configuration provides configuration for some standard
846
overcloud host images, built using the :kayobe-doc:`overcloud DIB
947
<configuration/reference/overcloud-dib.html>` functionality of Kayobe.

doc/source/configuration/release-train.rst

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
StackHPC Release Train
33
======================
44

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
88
<https://stackhpc.github.io/stackhpc-release-train/>`__.
99

1010
Deployments should use a local `Pulp <https://pulpproject.org/>`__ repository
@@ -41,6 +41,7 @@ This configuration provides the following:
4141
* Playbooks to synchronise a local Pulp service with Ark
4242
* Configuration to use the local Pulp repository mirrors on control plane hosts
4343
* 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
4445

4546
Local Pulp server
4647
-----------------
@@ -60,6 +61,10 @@ Pulp startup.
6061
If a proxy is required to access the Internet from the seed, ``pulp_proxy_url``
6162
may be used.
6263

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+
6368
StackHPC Ark
6469
------------
6570

@@ -83,15 +88,28 @@ repository.
8388
Package managers
8489
----------------
8590

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
91+
For Ubuntu Jammy systems, the package manager configuration is provided by
92+
``stackhpc_apt_repositories`` in ``etc/kayobe/apt.yml``.
93+
94+
The configuration is applied by default to all Ubuntu Jammy hosts. The
95+
configuration can be overridden by changing the repository definitions in
96+
``apt_repositories`` or toggling ``apt_disable_sources_list`` to use the default
97+
apt repositories. This can be done on a host-by host basis by defining the
98+
variables as host or group vars under ``etc/kayobe/inventory/host_vars`` or
99+
``etc/kayobe/inventory/group_vars``.
100+
101+
For Rocky Linux based systems, package manager configuration is provided by
102+
``stackhpc_dnf_repos`` in ``etc/kayobe/dnf.yml``, which points to package
103+
repositories on the local Pulp server. To use this configuration, the
89104
``dnf_custom_repos`` variable must be set, and this is done for hosts in the
90105
``overcloud`` group via the group_vars file
91106
``etc/kayobe/inventory/group_vars/overcloud/stackhpc-dnf-repos``. Similar
92107
configuration may be added for other groups, however there may be ordering
93108
issues during initial deployment when Pulp has not yet been deployed.
94109

110+
In both instances, the configuration points to package repositories on the
111+
local Pulp server.
112+
95113
The distribution name for the environment should be configured as either
96114
``development`` or ``production`` via ``stackhpc_repo_distribution`` in
97115
``etc/kayobe/stackhpc.yml``.
@@ -143,7 +161,7 @@ See the Kayobe :kayobe-doc:`custom playbook documentation
143161
these are new container image repositories, then the new image tags will not
144162
be available to cloud nodes until they have been published.
145163
* ``pulp-container-publish.yml``: Publish synchronised container images in the
146-
local Pulp. This will make synchonised container images available to cloud
164+
local Pulp. This will make synchronised container images available to cloud
147165
nodes.
148166

149167
Syncing content
@@ -261,4 +279,4 @@ you will see a 404 error during ``pulp-repo-sync.yml``:
261279
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')) '''
262280
263281
The issue can be rectified by updating the ``stackhpc_release_pulp_username``
264-
and ``stackhpc_release_pulp_password`` variables
282+
and ``stackhpc_release_pulp_password`` variables.

0 commit comments

Comments
 (0)