| Summary: | Required value vs. "generated if empty" | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Juraci Paixão Kröhling <jcosta> |
| Component: | Templates | Assignee: | Vu Dinh <vdinh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | XiuJuan Wang <xiuwang> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.x | CC: | abhgupta, aos-bugs, bingli, jokerman, mmccomas, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-16 22:11:35 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: | |
|
Description
Juraci Paixão Kröhling
2016-11-03 09:41:12 UTC
I'm not observing this behavior (the field has "generated if empty" as grey text. If if try to put an empty value into the field, the grey text stays there and a value is generated. If i put any other value (eg " "), then that value is used. Regardless the password parameter has been removed in the newest jenkins templates, but this logic applies to any generated parameter that also has "required" set to true. Assigning to the web console team to investigate further but it seems like if this ever was a bug, it's fixed now. I just tried it again, and it still persists on https://console.preview.openshift.com . The jenkins template specifically installed in Online is missing a field on the JENKINS_PASSWORD parameter, it needs the "from" attribute on the parameter, see https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_examples/files/examples/v1.4/quickstart-templates/jenkins-ephemeral-template.json#L239-L245 Hi, The jenkins-persistent template in PROD cluster (console.preview) is not the newest template that we recently updated. If you want to see what the new template looks like, please visit the INT cluster at https://console.dev-preview-int.openshift.com. However, even with the older template, I don't see any "Generated if empty" hint on the web console in PROD cluster. So, there shouldn't be any confusion there as it is required to have a valid password, not an empty one. Can you screenshot the hit that you prefer to? Thanks, Vu Nevermind my previous comment as I do see the hint now. Anyway, will roll-out the newly-updated templates from INT to PROD soon. Thanks, Vu This is fixed in INT and will be pushed to prod as part of the next release. The updated template "jenkins-persistent" works fine in INT. Move to verified. |