Bug 1418013

Summary: [dev-preview-stg] Removing non required parameters causes eap app creation fail
Product: OpenShift Online Reporter: Vikas Laad <vlaad>
Component: TemplatesAssignee: Vu Dinh <vdinh>
Status: CLOSED WONTFIX QA Contact: XiuJuan Wang <xiuwang>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.xCC: abhgupta, aos-bugs, jokerman, mifiedle, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: online_3.4.1
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-15 07:09:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot none

Description Vikas Laad 2017-01-31 15:33:22 UTC
Created attachment 1246353 [details]
screenshot

Description of problem:
Getting following errors when try to create new eap app using the template by removing not required parameters.

Cannot create secret "". Secret "" is invalid: metadata.name: Required value: name or generateName is required.

Cannot create deployment config "eap-app". DeploymentConfig "eap-app" is invalid: [spec.template.spec.volumes[0].secret.secretName: Required value, spec.template.spec.volumes[1].secret.secretName: Required value, spec.template.spec.containers[0].volumeMounts[0].name: Not found: "eap-keystore-volume", spec.template.spec.containers[0].volumeMounts[1].name: Not found: "eap-jgroups-keystore-volume"].


Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1. create a new app using template eap64-mysql-persistent-s2i in web console
2. Remove all non required parameters from screen
3. hit create button

Actual results:
App creation fails

Expected results:
Should not allow to create app if those parameters are required to create app.

Additional info:
Please see the attached screenshot.

Comment 1 Xiaoli Tian 2017-06-15 07:09:34 UTC
OpenShift Online Preview has been decommissioned, go to https://manage.openshift.com/ for using OpenShift Online starter cluster