Hide Forgot
Description of problem: Several cloudformation templates for upi on aws is blocking user to use '-' in cluster name. Such as: When user specify 'ClusterName' parameter to 'qe-jialiu' for https://github.com/openshift/installer/blob/master/upi/aws/cloudformation/02_cluster_infra.yaml#L6, the cloudformation creation failed due to it does not match with 'AllowedPattern'. While in IPI install, user is allow to use 'qe-jialiu' as cluster name, they should keep insistent. 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
The cloud formations serve as *examples* to setup user provisioned infrastructure. There is no expectation of it adhering to installer provisioned infrastructure standards.
From customer view, user would start his/her 1st upi setup using these *examples*, why not make these *example* more thoughtful. And I think this fix is not hard, still suggest to fix it.
https://github.com/openshift/installer/pull/1566
Verified this bug with the fixed templates, and PASS. # oc get machineset -n openshift-machine-api NAME DESIRED CURRENT READY AVAILABLE AGE jialiu-upi2-5gwpw-worker-us-east-2a 0 0 179m jialiu-upi2-5gwpw-worker-us-east-2b 0 0 179m jialiu-upi2-5gwpw-worker-us-east-2c 0 0 179m Here my clustername is 'jialiu-upi2'
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, 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/RHBA-2019:0758