kubealex / libvirt-ocp4-provisioner

Automate your OCP4 installation
MIT License
91 stars 40 forks source link

Initramfs and kernel images download is locked to an older version #5

Closed giannisalinetti closed 4 years ago

giannisalinetti commented 4 years ago

Description of the problem

During the installation of the default OCP4 cluster tha playbook execution stops at the task "Download initramfs and kernel". The full error message is:

failed: [bastion] (item=rhcos-4.4.3-x86_64-installer-initramfs.x86_64.img) => {"ansible_loop_var": "item", "changed": false, "dest": "/var/lib/tftpboot/rhcos/rhcos-4.4.3-x86_64-installer-initramfs.x86_64.img", "elapsed": 0, "item": "rhcos-4.4.3-x86_64-installer-initramfs.x86_64.img", "msg": "Request failed", "response": "HTTP Error 404: Not Found", "status_code": 404, "url": "https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.4/latest/rhcos-4.4.3-x86_64-installer-initramfs.x86_64.img"}
failed: [bastion] (item=rhcos-4.4.3-x86_64-installer-kernel-x86_64) => {"ansible_loop_var": "item", "changed": false, "dest": "/var/lib/tftpboot/rhcos/rhcos-4.4.3-x86_64-installer-kernel-x86_64", "elapsed": 0, "item": "rhcos-4.4.3-x86_64-installer-kernel-x86_64", "msg": "Request failed", "response": "HTTP Error 404: Not Found", "status_code": 404, "url": "https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.4/latest/rhcos-4.4.3-x86_64-installer-kernel-x86_64"}

Cause

The latest folder in mirror used for the download has been updated to version 4.4.9.

Resolution

Point to the https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.4/4.4.3/ url for correct resolution of the images.

giannisalinetti commented 4 years ago

Added PR https://github.com/kubealex/libvirt-ocp4-provisioner/pull/6

kubealex commented 4 years ago

Thank you for pointing this out! I'll merge the PR and clean up some garbage in that file. a-