Skip to content

Commit c68bf78

Browse files
committed
Added an explanation to use the images from openshift-install command
1 parent 7a4f0f4 commit c68bf78

File tree

2 files changed

+85
-21
lines changed

2 files changed

+85
-21
lines changed

modules/installation-user-infra-machines-iso.adoc

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,39 @@ $ curl -k http://<HTTP_server>/bootstrap.ign <1>
6767
----
6868
+
6969
Replace `bootstrap.ign` with `master.ign` or `worker.ign` in the command to validate that the Ignition config files for the control plane and compute nodes are also available.
70-
71-
ifndef::openshift-origin[]
72-
. Obtain the {op-system} images that are required for your preferred method of installing operating system instances for your target cluster architecture from the
73-
ifndef::ibm-power[]
74-
link:https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.10/[{op-system} (x86_64) image mirror] or
75-
link:https://mirror.openshift.com/pub/openshift-v4/aarch64/dependencies/rhcos/4.10/[{op-system} (aarch64) image mirror] pages.
76-
endif::ibm-power[]
70+
+
71+
. Although it is possible to obtain the {op-system} images that are required for your preferred method of installing operating system instances from the
72+
ifdef::openshift-enterprise[]
73+
link:https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/[{op-system} image mirror]
74+
endif::openshift-enterprise[]
75+
ifdef::openshift-origin[]
76+
link:https://getfedora.org/en/coreos/download?tab=metal_virtualized&stream=stable[{op-system}]
77+
endif::openshift-origin[]
7778
ifdef::ibm-power[]
78-
link:https://mirror.openshift.com/pub/openshift-v4/ppc64le/dependencies/rhcos/[{op-system} image mirror] page.
79+
link:https://mirror.openshift.com/pub/openshift-v4/ppc64le/dependencies/rhcos/[{op-system} image mirror]
7980
endif::ibm-power[]
80-
81+
page, the recommended way to obtain the correct version of your {op-system} images are from the output of `openshift-install` command:
82+
+
83+
[source,terminal]
84+
----
85+
$ openshift-install coreos print-stream-json | grep '\.iso[^.]'
86+
----
87+
+
88+
.Example output
89+
[source,terminal]
90+
ifndef::openshift-origin[]
91+
----
92+
"location": "https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9-aarch64/49.84.202110080947-0/aarch64/rhcos-49.84.202110080947-0-live.aarch64.iso",
93+
"location": "https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9-ppc64le/49.84.202110081256-0/ppc64le/rhcos-49.84.202110081256-0-live.ppc64le.iso",
94+
"location": "https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9-s390x/49.84.202110081202-0/s390x/rhcos-49.84.202110081202-0-live.s390x.iso",
95+
"location": "https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9/49.84.202110081407-0/x86_64/rhcos-49.84.202110081407-0-live.x86_64.iso",
96+
----
97+
endif::openshift-origin[]
98+
ifdef::openshift-origin[]
99+
----
100+
"location": "https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/34.20210626.3.1/x86_64/fedora-coreos-34.20210626.3.1-live.x86_64.iso",
101+
----
102+
endif::openshift-origin[]
81103
+
82104
[IMPORTANT]
83105
====
@@ -86,11 +108,11 @@ The {op-system} images might not change with every release of {product-title}. Y
86108
+
87109
ISO file names resemble the following example:
88110
+
111+
ifndef::openshift-origin[]
89112
`rhcos-<version>-live.<architecture>.iso`
90113
endif::openshift-origin[]
91114
ifdef::openshift-origin[]
92-
. Obtain the {op-system} images from the
93-
link:https://getfedora.org/en/coreos/download?tab=metal_virtualized&stream=stable[{op-system} Downloads] page
115+
`fedora-coreos-<version>-live.<architecture>.iso`
94116
endif::openshift-origin[]
95117

96118
. Use the ISO to start the {op-system} installation. Use one of the following installation options:

modules/installation-user-infra-machines-pxe.adoc

Lines changed: 52 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,34 +73,76 @@ $ curl -k http://<HTTP_server>/bootstrap.ign <1>
7373
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0{"ignition":{"version":"3.2.0"},"passwd":{"users":[{"name":"core","sshAuthorizedKeys":["ssh-rsa...
7474
----
7575
+
76-
Replace `bootstrap.ign` with `master.ign` or `worker.ign` in the command to validate that the Ignition config files for the control plane and compute nodes are also available.
76+
Replace `bootstrap.ign` with `master.ign` or `worker.ign` in the command to validate
77+
that the Ignition config files for the control plane and compute nodes are also available.
7778

79+
. Although it is possible to obtain the {op-system} `kernel`, `initramfs` and `rootfs`
80+
files that are required for your preferred method of installing operating system instances from the
81+
ifdef::openshift-enterprise[]
82+
link:https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/[{op-system} image mirror]
83+
endif::openshift-enterprise[]
84+
ifdef::openshift-origin[]
85+
link:https://getfedora.org/en/coreos/download?tab=metal_virtualized&stream=stable[{op-system}]
86+
endif::openshift-origin[]
87+
ifdef::ibm-power[]
88+
link:https://mirror.openshift.com/pub/openshift-v4/ppc64le/dependencies/rhcos/[{op-system} image mirror]
89+
endif::ibm-power[]
90+
page, the recommended way to obtain the correct version of your {op-system} files are
91+
from the output of `openshift-install` command:
92+
+
93+
[source,terminal]
94+
----
95+
$ openshift-install coreos print-stream-json | grep -Eo '"https.*(kernel-|initramfs.|rootfs.)\w+(\.img)?"'
96+
----
97+
+
98+
.Example output
99+
[source,terminal]
78100
ifndef::openshift-origin[]
79-
. Obtain the {op-system} `kernel`,
80-
`initramfs` and `rootfs` files from the
81-
link:https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.10/[{op-system} image mirror]
82-
page.
101+
----
102+
"https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9-aarch64/49.84.202110080947-0/aarch64/rhcos-49.84.202110080947-0-live-kernel-aarch64"
103+
"https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9-aarch64/49.84.202110080947-0/aarch64/rhcos-49.84.202110080947-0-live-initramfs.aarch64.img"
104+
"https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9-aarch64/49.84.202110080947-0/aarch64/rhcos-49.84.202110080947-0-live-rootfs.aarch64.img"
105+
"https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9-ppc64le/49.84.202110081256-0/ppc64le/rhcos-49.84.202110081256-0-live-kernel-ppc64le"
106+
"https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9-ppc64le/49.84.202110081256-0/ppc64le/rhcos-49.84.202110081256-0-live-initramfs.ppc64le.img"
107+
"https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9-ppc64le/49.84.202110081256-0/ppc64le/rhcos-49.84.202110081256-0-live-rootfs.ppc64le.img"
108+
"https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9-s390x/49.84.202110081202-0/s390x/rhcos-49.84.202110081202-0-live-kernel-s390x"
109+
"https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9-s390x/49.84.202110081202-0/s390x/rhcos-49.84.202110081202-0-live-initramfs.s390x.img"
110+
"https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9-s390x/49.84.202110081202-0/s390x/rhcos-49.84.202110081202-0-live-rootfs.s390x.img"
111+
"https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9/49.84.202110081407-0/x86_64/rhcos-49.84.202110081407-0-live-kernel-x86_64"
112+
"https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9/49.84.202110081407-0/x86_64/rhcos-49.84.202110081407-0-live-initramfs.x86_64.img"
113+
"https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.9/49.84.202110081407-0/x86_64/rhcos-49.84.202110081407-0-live-rootfs.x86_64.img"
114+
----
115+
endif::openshift-origin[]
116+
ifdef::openshift-origin[]
117+
----
118+
"https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/34.20210626.3.1/x86_64/fedora-coreos-34.20210626.3.1-live-kernel-x86_64"
119+
"https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/34.20210626.3.1/x86_64/fedora-coreos-34.20210626.3.1-live-initramfs.x86_64.img"
120+
"https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/34.20210626.3.1/x86_64/fedora-coreos-34.20210626.3.1-live-rootfs.x86_64.img"
121+
----
122+
endif::openshift-origin[]
83123
+
84124
[IMPORTANT]
85125
====
86126
The {op-system} artifacts might not change with every release of {product-title}.
87-
You must download artifacts with the highest version that is less than or equal
127+
You must download images with the highest version that is less than or equal
88128
to the {product-title} version that you install. Only use
89129
the appropriate `kernel`, `initramfs`, and `rootfs` artifacts described below
90130
for this procedure.
91-
{op-system} QCOW2 images are not supported for this installation type.
131+
{op-system} QCOW2 images are not supported for this installation type.
92132
====
93133
+
94134
The file names contain the {product-title} version number.
95135
They resemble the following examples:
96-
136+
+
137+
ifndef::openshift-origin[]
97138
** `kernel`: `rhcos-<version>-live-kernel-<architecture>`
98139
** `initramfs`: `rhcos-<version>-live-initramfs.<architecture>.img`
99140
** `rootfs`: `rhcos-<version>-live-rootfs.<architecture>.img`
100141
endif::openshift-origin[]
101142
ifdef::openshift-origin[]
102-
. Obtain the {op-system} `kernel`, `initramfs` and `rootfs` files from the
103-
link:https://getfedora.org/en/coreos/download?tab=metal_virtualized&stream=stable[{op-system} Downloads] page
143+
** `kernel`: `fedora-coreos-<version>-live-kernel-<architecture>`
144+
** `initramfs`: `fedora-coreos-<version>-live-initramfs.<architecture>.img`
145+
** `rootfs`: `fedora-coreos-<version>-live-rootfs.<architecture>.img`
104146
endif::openshift-origin[]
105147

106148
. Upload the `rootfs`, `kernel`, and `initramfs` files

0 commit comments

Comments
 (0)