kxr / ocp4_setup_upi_kvm

Script to Setup an OpenShift 4 UPI Cluster on KVM. Based on this guide: https://kxr.me/2019/08/17/openshift-4-upi-install-libvirt-kvm/
50 stars 55 forks source link

Install is successful but error messages might lead the impatient to cancel the script prematurely #10

Closed marcredhat closed 4 years ago

marcredhat commented 4 years ago

Deploying 4.5.0-rc6 alongside an existing 4.4.10 on the same KVM host worked great. ./NEW_ocp4_setup_upi_kvm.sh --setup-dir /root/ocp4_setup_ocp45 --ocp-version 4.5.0-rc.6 --cluster-name ocp45.

However, during the install, "an unknown error has occurred: MultipleErr" messages occured (please see below). which might lead the impatient to cancel the script prematurely....

We might want to add messages advising patience / ignoring these errors.

====> Waiting for clusterversion: ....... --> Approving CSR: certificatesigningrequest.certificates.k8s.io/csr-zffgk approved --> Working towards 4.5.0-rc.6: 75% complete --> Unable to apply 4.5.0-rc.6: an unknown error has occurred: MultipleErr ... --> Unable to apply 4.5.0-rc.6: an unknown error has occurred: MultipleErr ... --> Working towards 4.5.0-rc.6: 62% complete --> Working towards 4.5.0-rc.6: 62% complete --> Unable to apply 4.5.0-rc.6: an unknown error has occurred: MultipleErr ... --> Patching image registry to use EmptyDir: config.imageregistry.operator.openshift.io/cluster patched --> Patching ingress controller to run router pods on master nodes: ingresscontroller.operator.openshift.io/default patched --> Working towards 4.5.0-rc.6: 99% complete

kxr commented 4 years ago

@marcredhat I actually had the same idea. However I was reluctant to add a warning since there is already so much text floating around. How about we add this to the README?

marcredhat commented 4 years ago

Yes, I think adding this to the README would work well.

kxr commented 4 years ago

Added note in README: 661a9c4