-
Bug
-
Resolution: Done
-
Critical
-
None
-
4.14
-
Critical
-
No
-
Rejected
-
False
-
Description of problem:
Currently, only 4.8 image is available in offer `rh-ocp-worker` on azure marketplace. # az vm image list --all --offer 'rh-ocp-worker' -otable Architecture Offer Publisher Sku Urn Version -------------- ------------- -------------- ------------------ -------------------------------------------------------------- -------------- x64 rh-ocp-worker redhat-limited rh-ocp-worker redhat-limited:rh-ocp-worker:rh-ocp-worker:4.8.2021122100 4.8.2021122100 x64 rh-ocp-worker RedHat rh-ocp-worker RedHat:rh-ocp-worker:rh-ocp-worker:4.8.2021122100 4.8.2021122100 x64 rh-ocp-worker redhat-limited rh-ocp-worker-gen1 redhat-limited:rh-ocp-worker:rh-ocp-worker-gen1:4.8.2021122100 4.8.2021122100 x64 rh-ocp-worker RedHat rh-ocp-worker-gen1 RedHat:rh-ocp-worker:rh-ocp-worker-gen1:4.8.2021122100 4.8.2021122100 Specify osImage under defaultMachinePlatform to one above image in install-config: -------------- platform: azure: region: eastus baseDomainResourceGroupName: os4-common defaultMachinePlatform: osImage: publisher: redhat offer: rh-ocp-worker sku: rh-ocp-worker version: 4.8.2021122100 Installation failed at bootstrap stage. In bootkube.service log, get below error: -- Logs begin at Tue 2023-08-29 01:19:07 UTC, end at Tue 2023-08-29 03:21:39 UTC. -- Aug 29 01:21:02 jima29image-44lnd-bootstrap systemd[1]: Started Bootstrap a Kubernetes cluster. Aug 29 01:21:14 jima29image-44lnd-bootstrap bootkube.sh[2995]: Moving OpenShift manifests in with the rest of them Aug 29 01:21:14 jima29image-44lnd-bootstrap bootkube.sh[2995]: error: unable to read image registry.ci.openshift.org/ocp/release@sha256:8a5507bf897252cab6d1957d9477bce45e7427f4f798450605d3503aed936594: unauthorized: authentication required Aug 29 01:21:15 jima29image-44lnd-bootstrap systemd[1]: bootkube.service: Main process exited, code=exited, status=1/FAILURE Aug 29 01:21:15 jima29image-44lnd-bootstrap systemd[1]: bootkube.service: Failed with result 'exit-code'. seems error comes from code `VERSION="$(oc adm release info -o 'jsonpath={.metadata.version}' "${MIRROR_FLAG}" "${RELEASE_IMAGE_DIGEST}")"` in /usr/local/bin/bootkube.sh. ssh into bootstrap and ran the oc command,it works. [root@jima29image-44lnd-bootstrap ~]# oc version --client Client Version: 4.8.0-202109201328.p0.git.88e7eba.assembly.stream-88e7eba [root@jima29image-44lnd-bootstrap ~]# oc adm release info -o 'jsonpath={.metadata.version}' registry.ci.openshift.org/ocp/release@sha256:8a5507bf897252cab6d1957d9477bce45e7427f4f798450605d3503aed936594 4.14.0-0.nightly-2023-08-11-055332 suspects that there are some compatible issues when installing 4.14 cluster with 4.8 boot image. Installation is successful when setting osImage to 4.13 aro boot image (e.g azureopenshift:aro4:aro_413:413.92.20230614)
Version-Release number of selected component (if applicable):
4.14 nightly build
How reproducible:
always when setting osImage on master to marketplace 4.8 image
Steps to Reproduce:
1. prepare install-config, set defaultMacinePlatform.azure.osImage to azure marketplace 4.8 image 2. Install cluster 3.
Actual results:
Failed at bootstrap stage
Expected results:
Installation is successful.
Additional info:
It works when install 4.14 cluster with 4.13 aro boot image(e.g azureopenshift:aro4:aro_413:413.92.20230614)