Replies: 4 comments 1 reply
-
Please attach log bundle |
Beta Was this translation helpful? Give feedback.
-
log bundle attached: |
Beta Was this translation helpful? Give feedback.
-
It may related with We use internal mirror/registry to install OKD 4.14 (also for OKD 4.10 to 4.13, all successfully) and do not have internet access directly. |
Beta Was this translation helpful? Give feedback.
-
Update: Hello @vrutkovs. For 4.14, after check file /usr/local/bin/bootkube.sh in bootstrap node, I find line:
After check file https://github.com/openshift/installer/blob/master/pkg/types/installconfig.go,
Then I set ImageDigestSource parameter, now the installation goes well and finished successfully.
Thanks all the same. |
Beta Was this translation helpful? Give feedback.
-
Hi All,
We want to install latest OKD 4.14 (4.14.0-0.okd-2023-10-28-073550) on OpenStack, but failed.
FCOS: fedora-coreos-38.20231014.3.0-openstack.x86_64.qcow2
When the bootstrap VM is up, the bootkube.service failed.
Before the reboot, release-image.service finished successfully.
The failure logs show:
Nov 04 09:04:42 okd414csf002-bootstrap podman[3656]: 2023-11-04 09:04:42.921975816 +0000 UTC m=+0.101311595 container start c4a480d00d0064c1db1cbd286fd658a1eddb753bf74e3000c2d97816617e26b7 (image=quay.io/openshift/okd@sha256:7a6200e347a1b857e47f2ab0735eb1303af7d796a847d79ef9706f217cd12f5c, name=affectionate_davinci, io.openshift.release.base-image-digest=sha256:068639a8d5ffd7b2e15ee974851875c87b008366fb62a88a32d250ad981c8b47, io.openshift.release=4.14.0-0.okd-2023-10-28-073550)
Nov 04 09:04:42 okd414csf002-bootstrap podman[3656]: 2023-11-04 09:04:42.92294186 +0000 UTC m=+0.102277639 container attach c4a480d00d0064c1db1cbd286fd658a1eddb753bf74e3000c2d97816617e26b7 (image=quay.io/openshift/okd@sha256:7a6200e347a1b857e47f2ab0735eb1303af7d796a847d79ef9706f217cd12f5c, name=affectionate_davinci, io.openshift.release.base-image-digest=sha256:068639a8d5ffd7b2e15ee974851875c87b008366fb62a88a32d250ad981c8b47, io.openshift.release=4.14.0-0.okd-2023-10-28-073550)
Nov 04 09:04:42 okd414csf002-bootstrap podman[3656]: 2023-11-04 09:04:42.850230059 +0000 UTC m=+0.029565849 image pull 8f9b68887e5d3b7ff2ff12832a85cc994c26418d6819f0414328662aea38c7d4 quay.io/openshift/okd@sha256:7a6200e347a1b857e47f2ab0735eb1303af7d796a847d79ef9706f217cd12f5c
Nov 04 09:04:42 okd414csf002-bootstrap affectionate_davinci[3672]: quay.io/openshift/okd-content@sha256:b4f2eac789aebb02dc12bd676f7edb4e3d583bb672129aa496549db6e8cc8fec
Nov 04 09:04:42 okd414csf002-bootstrap podman[3656]: 2023-11-04 09:04:42.953271928 +0000 UTC m=+0.132607718 container died c4a480d00d0064c1db1cbd286fd658a1eddb753bf74e3000c2d97816617e26b7 (image=quay.io/openshift/okd@sha256:7a6200e347a1b857e47f2ab0735eb1303af7d796a847d79ef9706f217cd12f5c, name=affectionate_davinci, io.openshift.release=4.14.0-0.okd-2023-10-28-073550, io.openshift.release.base-image-digest=sha256:068639a8d5ffd7b2e15ee974851875c87b008366fb62a88a32d250ad981c8b47)
Nov 04 09:04:43 okd414csf002-bootstrap podman[3687]: 2023-11-04 09:04:43.00908414 +0000 UTC m=+0.043762779 container remove c4a480d00d0064c1db1cbd286fd658a1eddb753bf74e3000c2d97816617e26b7 (image=quay.io/openshift/okd@sha256:7a6200e347a1b857e47f2ab0735eb1303af7d796a847d79ef9706f217cd12f5c, name=affectionate_davinci, io.openshift.release=4.14.0-0.okd-2023-10-28-073550, io.openshift.release.base-image-digest=sha256:068639a8d5ffd7b2e15ee974851875c87b008366fb62a88a32d250ad981c8b47)
Nov 04 09:04:58 okd414csf002-bootstrap bootkube.sh[3706]: error: unable to read image quay.io/openshift/okd@sha256:7a6200e347a1b857e47f2ab0735eb1303af7d796a847d79ef9706f217cd12f5c: Get "https://quay.io/v2/": context deadline exceeded
Nov 04 09:04:58 okd414csf002-bootstrap systemd[1]: bootkube.service: Main process exited, code=exited, status=1/FAILURE
Nov 04 09:04:58 okd414csf002-bootstrap systemd[1]: bootkube.service: Failed with result 'exit-code'.
Nov 04 09:04:58 okd414csf002-bootstrap systemd[1]: bootkube.service: Consumed 3.342s CPU time.
[root@okd414csf002-bootstrap ~]# crictl images --digests
IMAGE TAG DIGEST IMAGE ID SIZE
quay.io/openshift/okd-content 8def1d5890588 e7202a5c80235 2.36GB
quay.io/openshift/okd 7a6200e347a1b 8f9b68887e5d3 522MB
"Crictl pull" shows the image is in local, but I am not sure what is the error of why " unable to read image quay.io/openshift/okd@sha256:7a6200e347a1b857e47f2ab0735eb1303af7d796a847d79ef9706f217cd12f5c"
Just want to check if anyone else met same issue ?
As a debug, I use the same Openstack, same configuration and same FCOS, tested using OKD 4.13.0-0.okd-2023-07-09-062029 or 4.13.0-0.okd-2023-10-28-065448, the installation all could finish successfully. Just want to bypass the network/registry access issue.
Appreciate for any comments.
Beta Was this translation helpful? Give feedback.
All reactions