Bug 1232921
| Summary: | No error reported when app-create environment variables cannot be parsed | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Timothy Williams <tiwillia> |
| Component: | oc | Assignee: | Timothy Williams <tiwillia> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.2.0 | CC: | adellape, jokerman, libra-onpremise-devel, mmccomas, rhowe, yanpzhan |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rhc-1.37.1.2-1.el6op | Doc Type: | Bug Fix |
| Doc Text: |
If environment variables are specified with rhc, but no environment variables were able to be parsed, the environment variables were previously ignored and errors were not reported when syntactically incorrect environment variables were provided. This led users to believe their environment variables were added when the application was created. This bug fixes updates rhc so that when the environment variable flag is specified, but no environment variables can be parsed, an error is reported.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-09-30 16:38:03 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: | |||
|
Description
Timothy Williams
2015-06-17 20:05:41 UTC
Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/f17006e1d95b158cec267736ddddc3822b00f134 Report error when a syntatically incorrect env var is provided on app-create Bug 1232921 https://bugzilla.redhat.com/show_bug.cgi?id=1232921 When creating an application with an environment variable, report an error if the environment variable is not provided with the proper syntax. Previously, incorrect environment variables were ignored and the application creation continued. *** Bug 1229815 has been marked as a duplicate of this bug. *** Timothy, we need a new ose 2.2 puddle containing the fix to verify this bug, pls move it to ON_QA again when the puddle is available, thx! Verified on rhc-1.37.1.2-1.el6op.noarch
Steps to verify:
[root@dhcp-129-219 ~]# rhc app create pltest perl-5.10 -e testll
Environment variable(s) not provided.
Please provide at least one environment variable using the syntax VARIABLE=VALUE. VARIABLE can only contain letters, digits and underscore
('_') and can't begin with a digit.
There is error info reported when -e is with invalid format, so move the bug to Verified.
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://rhn.redhat.com/errata/RHSA-2015-1844.html |