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
I am trying to install OKD version 4.17 single node cluster on a GCP compute machine. I have used two different base OS.
Available in GCP as Fedora CoreOS and provided the ignition created using openshift-install. In this scenario, the installation fails at “install-to-disk.sh” stage
Jan 01 12:19:43 testing.example.com install-to-disk.sh[3491]: Executing coreos-installer with the following options: install -i /opt/openshift/master.ign /dev/sda
Jan 01 12:19:43 testing.example.com install-to-disk.sh[3522]: Downloading Fedora CoreOS stable x86_64 metal image (raw.xz) and signature
Jan 01 12:19:44 testing.example.com install-to-disk.sh[3522]: Partitions in use on /dev/sda:
Jan 01 12:19:44 testing.example.com install-to-disk.sh[3522]: /dev/sda3 mounted on /boot
Jan 01 12:19:44 testing.example.com install-to-disk.sh[3522]: /dev/sda4 mounted on /sysroot
Jan 01 12:19:44 testing.example.com install-to-disk.sh[3522]: Error: checking for exclusive access to /dev/sda
Jan 01 12:19:44 testing.example.com install-to-disk.sh[3522]: Caused by:
Jan 01 12:19:44 testing.example.com install-to-disk.sh[3522]: found busy partitions
Jan 01 12:19:44 testing.example.com systemd[1]: install-to-disk.service: Main process exited, code=exited, status=1/FAILURE
Jan 01 12:19:44 testing.example.com systemd[1]: install-to-disk.service: Failed with result 'exit-code'.
In this scenario, I have downloaded and tried versions 4.17 and 4.16 from “mirror.openshift.com” CoreOS image for GCP. Uploaded to GCP bucket and created a custom image. Used this image to provision the node. Installation fails during pivot-bootstrap stage.
Jan 01 13:23:24 testing.example.com systemd[1]: var-lib-containers-storage-overlay\x2dcontainers-7abc586b1ce91e9107e5c943a3256def41a561e5d1321e8fc293e896062b1eb3-userdata-shm.mount: Deactivated successfully.
Jan 01 13:23:24 testing.example.com systemd[1]: var-lib-containers-storage-overlay-f998be8def8bebf654cfd8ddfea1730c727e8da4428077a326afa9df7e8c161f-merged.mount: Deactivated successfully.
Jan 01 13:23:24 testing.example.com podman[28814]: 2025-01-01 13:23:24.679492708 +0000 UTC m=+0.060253857 container remove 7abc586b1ce91e9107e5c943a3256def41a561e5d1321e8fc293e896062b1eb3 (image=quay.io/openshift/okd@sha256:46b462be1e4c15ce5ab5fba97e713e8824bbb9f614ac5abe1be41fda916920cc, name=pedantic_bohr, io.openshift.release=4.15.0-0.okd-2024-03-10-010116, io.openshift.release.base-image-digest=sha256:f534092eac5300849ac69c1ce7d099778ea5200a529d7269a573de19c3562905)
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: ++ MACHINE_OS_IMAGE=quay.io/openshift/okd-content@sha256:eb85d903c52970e2d6823d92c880b20609d8e8e0dbc5ad27e16681ff444c8c83
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: ++ chmod 0644 /etc/containers/registries.conf
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: ++ rpm-ostree rebase --experimental ostree-unverified-registry:quay.io/openshift/okd-content@sha256:eb85d903c52970e2d6823d92c880b20609d8e8e0dbc5ad27e16681ff444c8c83
Jan 01 13:23:24 testing.example.com rpm-ostree[13676]: client(id:cli dbus:1.484 unit:release-image-pivot.service uid:0) added; new total=1
Jan 01 13:23:24 testing.example.com rpm-ostree[13676]: Loaded sysroot
Jan 01 13:23:24 testing.example.com rpm-ostree[13676]: Locked sysroot
Jan 01 13:23:24 testing.example.com rpm-ostree[13676]: Initiated txn Rebase for client(id:cli dbus:1.484 unit:release-image-pivot.service uid:0): /org/projectatomic/rpmostree1/rhcos
Jan 01 13:23:24 testing.example.com rpm-ostree[13676]: Process [pid: 28833 uid: 0 unit: release-image-pivot.service] connected to transaction progress
Jan 01 13:23:24 testing.example.com rpm-ostree[13676]: Txn Rebase on /org/projectatomic/rpmostree1/rhcos failed: Old and new refs are equal: ostree-unverified-registry:quay.io/openshift/okd-content@sha256:eb85d903c52970e2d6823d92c880b20609d8e8e0dbc5ad27e16681ff444c8c83
Jan 01 13:23:24 testing.example.com rpm-ostree[13676]: Unlocked sysroot
Jan 01 13:23:24 testing.example.com rpm-ostree[13676]: Process [pid: 28833 uid: 0 unit: release-image-pivot.service] disconnected from transaction progress
Jan 01 13:23:24 testing.example.com rpm-ostree[13676]: client(id:cli dbus:1.484 unit:release-image-pivot.service uid:0) vanished; remaining=0
Jan 01 13:23:24 testing.example.com rpm-ostree[13676]: In idle state; will auto-exit in 61 seconds
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28833]: error: Old and new refs are equal: ostree-unverified-registry:quay.io/openshift/okd-content@sha256:eb85d903c52970e2d6823d92c880b20609d8e8e0dbc5ad27e16681ff444c8c83
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + record_service_exit 1
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + '[' 1 -eq 0 ']'
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + local RESULT=failure
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + local ERROR_LINE
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + local ERROR_MESSAGE
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + get_error_info ERROR_LINE ERROR_MESSAGE
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + local -n error_line=ERROR_LINE
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + local -n error_message=ERROR_MESSAGE
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28840]: ++ caller 1
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + error_line='1 source ./pre-pivot.sh'
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28841]: ++ journalctl --unit=release-image-pivot.service --lines=3 --output=cat
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + error_message='++ caller 1
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + error_line='''1 source ./pre-pivot.sh'''
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: ++ journalctl --unit=release-image-pivot.service --lines=3 --output=cat'
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + '[' rebase-to-okd-os-image ']'
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + record_service_stage_end failure
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + '[' -z rebase-to-okd-os-image ']'
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + local 'PHASE=stage end'
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + local RESULT=failure
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + add_service_record_entry
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + local FILENAME=/var/log/openshift//release-image-pivot.json
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28843]: ++ dirname /var/log/openshift//release-image-pivot.json
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + mkdir --parents /var/log/openshift
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28846]: + '[' -f /var/log/openshift//release-image-pivot.json ']'
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28846]: + cat /var/log/openshift//release-image-pivot.json
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28848]: ++ date +%Y-%m-%dT%H:%M:%SZ
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28847]: + jq --arg timestamp 2025-01-01T13:23:24Z --arg preCommand '' --arg postCommand '' --arg stage rebase-to-okd-os-image --arg phase 'stage end' --arg result failure --arg errorLine '1 source ./pre-pivot.sh' --arg errorMessage '++ caller 1
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28847]: + error_line='''1 source ./pre-pivot.sh'''
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28847]: ++ journalctl --unit=release-image-pivot.service --lines=3 --output=cat' '. += [
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28847]: {$timestamp,$preCommand,$postCommand,$stage,$phase,$result,$errorLine,$errorMessage} |
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28847]: reduce keys[] as $k (.; if .[$k] == "" then del(.[$k]) else . end)
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28847]: ]'
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + mv /var/log/openshift//release-image-pivot.json.tmp /var/log/openshift//release-image-pivot.json
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + STAGE_NAME=
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + record_service_end failure
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + '[' '' ']'
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + '[' '' ']'
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + local 'PHASE=service end'
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + local RESULT=failure
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + add_service_record_entry
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + local FILENAME=/var/log/openshift//release-image-pivot.json
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28852]: ++ dirname /var/log/openshift//release-image-pivot.json
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + mkdir --parents /var/log/openshift
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28855]: + '[' -f /var/log/openshift//release-image-pivot.json ']'
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28855]: + cat /var/log/openshift//release-image-pivot.json
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28858]: ++ date +%Y-%m-%dT%H:%M:%SZ
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28856]: + jq --arg timestamp 2025-01-01T13:23:24Z --arg preCommand '' --arg postCommand '' --arg stage '' --arg phase 'service end' --arg result failure --arg errorLine '1 source ./pre-pivot.sh' --arg errorMessage '++ caller 1
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28856]: + error_line='''1 source ./pre-pivot.sh'''
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28856]: ++ journalctl --unit=release-image-pivot.service --lines=3 --output=cat' '. += [
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28856]: {$timestamp,$preCommand,$postCommand,$stage,$phase,$result,$errorLine,$errorMessage} |
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28856]: reduce keys[] as $k (.; if .[$k] == "" then del(.[$k]) else . end)
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28856]: ]'
Jan 01 13:23:24 testing.example.com bootstrap-pivot.sh[28532]: + mv /var/log/openshift//release-image-pivot.json.tmp /var/log/openshift//release-image-pivot.json
Jan 01 13:23:24 testing.example.com systemd[1]: release-image-pivot.service: Main process exited, code=exited, status=1/FAILURE
Jan 01 13:23:24 testing.example.com systemd[1]: release-image-pivot.service: Failed with result 'exit-code'.
Jan 01 13:23:24 testing.example.com systemd[1]: Failed to start Pivot bootstrap to the OpenShift Release Image.
Version
OKD version 4.17
RHCOS version 4.16 and 4.17
FCOS Version stable 2022-11-15 (GCP image)
How reproducible
Every time I install using the above approach in GCP
Log bundle
No log bundle available
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to install OKD version 4.17 single node cluster on a GCP compute machine. I have used two different base OS.
Version
OKD version 4.17
RHCOS version 4.16 and 4.17
FCOS Version stable 2022-11-15 (GCP image)
How reproducible
Every time I install using the above approach in GCP
Log bundle
No log bundle available
The text was updated successfully, but these errors were encountered: