Description of problem: As a part of the following bugzilla 'https://bugzilla.redhat.com/show_bug.cgi?id=1821945' and fix, I do see the fix in ocp4.5 but the user still would be able to include the vcenter hostname in the install-config as capital letters. We can avoid this by prompting an error and requesting the user to include the vcenter hostname in lower case. Version-Release number of the following components: rpm -q openshift-ansible rpm -q ansible ansible --version How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Please include the entire output from the last TASK line through the end of output if an error is generated Expected results: Additional info: Please attach logs from ansible-playbook with the -vvv flag
This is not a regression from 4.5 so therefore not a release blocker. Moving to 4.7 and we'll consider backports as appropriate.
@adahiya, QE don't have a vsphere with uppercase hostname, and could not verify update during installation. Do you have any suggestion to verify this bug?
@jima the installer will reject input using install-config.yaml that has Uppercase letters in vCenter address. I don't think you need an actual vCenter that has capital letters in it name. ``` ... platform: vsphere: vCenter: MyVCenter.example.com ... ``` will not be accepted as valid input because of upper case letters. Hopefully that helps?
@adahiya, thanks for your suggestion. Set vCenter's name containing upper case letters in install-config.yaml, and create cluster using this configure file, the error is shown that vCenter name must be all lower case, move bug to VERIFIED. # ./openshift-install create cluster --dir ipi --log-level debug DEBUG OpenShift Installer 4.7.0-0.nightly-2020-10-26-152308 DEBUG Built from commit de62b01d451857d942ac41dcfdad9385856fde9e DEBUG Fetching Metadata... DEBUG Loading Metadata... DEBUG Loading Cluster ID... DEBUG Loading Install Config... DEBUG Loading SSH Key... DEBUG Loading Base Domain... DEBUG Loading Platform... DEBUG Loading Cluster Name... DEBUG Loading Base Domain... DEBUG Loading Platform... DEBUG Loading Pull Secret... DEBUG Loading Platform... FATAL failed to fetch Metadata: failed to load asset "Install Config": invalid "install-config.yaml" file: platform.vsphere.vCenter: Invalid value: "vcenter.SDDC-TEST.vmwarevmc.com": must be all lower case
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633