Description of problem: When creating an application and providing environment variables, the environment variables are ignored if they are not provided in the correct syntax. Version-Release number of selected component (if applicable): 2.2.5 How reproducible: Always Steps to Reproduce: 1. Create an application with rhc and provide an incorrectly formatted environment variable: # rhc app-create breaktest ruby-1.9 -e varvalue Actual results: Application is created Expected results: Failure to create, explaining that the environment variable is not provided with the correct syntax (var=value). Additional info: https://bugzilla.redhat.com/show_bug.cgi?id=1229815 is related
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