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
fix-for-29155: The curl commands failed because a directory was specified as the output. Instructions were missing for downloading or otherwise generating the checksums and configuration needed for the install-config.yaml leaving the user uncertain as to how to use the rhcos_image_cache pod or directory to make the cache usable, especially required for air-gapped deployments. 29155 was supposed to fix the issue, but had a few errors itself. This resolves#29155 as well
* See xref:../../updating/updating-cluster-between-minor.adoc#understanding-upgrade-channels_updating-cluster-between-minor[{product-title} upgrade channels and releases] for an explanation of the different release channels.
* See xref:../../updating/updating-cluster-between-minor.adoc#understanding-upgrade-channels_updating-cluster-between-minor[{product-title} upgrade channels and releases] for an explanation of the different release channels.
To employ image caching, you must download two images: the {op-system-first} image used by the bootstrap VM and the {op-system} image used by the installer to provision the different nodes. Image caching is optional, but especially useful when running the installer on a network with limited bandwidth.
10
9
11
10
If you are running the installer on a network with limited bandwidth and the {op-system} images download takes more than 15 to 20 minutes, the installer will timeout. Caching images on a web server will help in such scenarios.
12
11
13
-
Use the following steps to install a container that contains the images.
12
+
Install a container that contains the images.
13
+
14
+
.Procedure
14
15
15
-
. Install `podman`.
16
+
. Install `podman`:
16
17
+
17
18
[source,terminal]
18
19
----
19
20
$ sudo dnf install -y podman
20
21
----
21
22
22
-
. Open firewall port `8080` to be used for {op-system} image caching.
23
+
. Open firewall port `8080` to be used for {op-system} image caching:
The above command creates a caching webserver with the name `rhcos_image_cache`, which serves the images for deployment. The first image `${RHCOS_PATH}${RHCOS_QEMU_URI}?sha256=${RHCOS_QEMU_SHA_UNCOMPRESSED}` is the `bootstrapOSImage` and the second image `${RHCOS_PATH}${RHCOS_OPENSTACK_URI}?sha256=${RHCOS_OPENSTACK_SHA_COMPRESSED}` is the `clusterOSImage` in the `install-config.yaml` file.
131
+
endif::[]
132
+
133
+
. Generate the `bootstrapOSImage` and `clusterOSImage` configuration:
134
+
+
135
+
[source,terminal]
136
+
----
137
+
$ export BAREMETAL_IP=$(ip addr show dev baremetal | awk '/inet /{print $2}' | cut -d"/" -f1)
If the DHCP reservation for a cluster node specifies an infinite lease, after the installer successfully provisions the node, the dispatcher script checks the node's network configuration. If the script determines that the network configuration contains an infinite DHCP lease, it creates a new connection using the IP address of the DHCP lease as a static IP address.
9
+
10
+
[NOTE]
11
+
====
12
+
The dispatcher script might run on successfully provisioned nodes while the provisioning of other nodes in the cluster is ongoing.
13
+
====
14
+
15
+
Verify the network configuration is working properly.
16
+
17
+
.Procedure
18
+
19
+
. Check the network interface configuration on the node.
20
+
21
+
. Turn off the DHCP server and reboot the {product-title} node and ensure that the network configuration works properly.
0 commit comments