Description of problem: The length APPLICATION_NAME is not validated in the UI. The creation produces some garbage, e.g image streams & deployment configurations. Service name limit is at most 24 chars so we shall check the service name in the template Eg-https://github.com/openshift/training/blob/master/beta4/eap6-basic-sti.json#L117 "name": "${APPLICATION_NAME}-https-service", Here we shall allow ${APPLICATION_NAME} to be of 10 chars only as already -https-service is of 14 chars. From the command line you will get an error. Failed to create eap6-basic-sti in project xyz-demo1-with-eap6 Cannot create Service x2345678901-https-service. Service "x2345678901-https-service" is invalid: metadata.name: invalid value 'x2345678901-https-service': must be a DNS 952 label (at most 24 characters, matching regex [a-z]([-a-z0-9]*[a-z0-9])?): e.g. "my-name" Version-Release number of selected component (if applicable): 3.0 How reproducible: Always Steps to Reproduce: 1.Give application name whose length is more than 10 chars 2. Use template https://github.com/openshift/training/blob/master/beta4/eap6-basic-sti.json 3. Create an app Actual results: Not giving recommendation for app name length or not validating app length Expected results: It shall give the recommendations for app name length or validate it Additional info:
It should be the same issue with this bug https://bugzilla.redhat.com/show_bug.cgi?id=1233503. So will close it as duplicated. *** This bug has been marked as a duplicate of bug 1233503 ***