Bug 988759 - [fork][origin_runtime_192]Failed to override the existing variables which is neither special variable nor in .env/
Summary: [fork][origin_runtime_192]Failed to override the existing variables which is ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-26 10:11 UTC by chunchen
Modified: 2016-09-30 02:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-07 22:57:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description chunchen 2013-07-26 10:11:06 UTC
Description of problem:
It's failed to override a existing variable which is neither special variable nor in .env/

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

How reproducible:
always

Steps to Reproduce:
1. Create an app with mysql
rhc app create cphp00 php-5.3 mysql-5.1 --no-git
2. SSH into a instance
3. Check a existing variable value like OPENSHIFT_MYSQL_DB_URL
rhc ssh cphp00 'env |grep OPENSHIFT_MYSQL_DB_URL'
4. Override this existing variable
oo-user-var-add --with-app-uuid 668090433885007029207040 --with-container-uuid 668090433885007029207040 OPENSHIFT_MYSQL_DB_URL=mysql://test:test.0.0:1/
5. Check this existing variable value again
rhc ssh cphp00 'env |grep OPENSHIFT_MYSQL_DB_URL'

Actual results:
Step 5 is the same as step 3


Expected results:
Overridding the existing variables which is neither special variable nor in .env/ should be successfully.

Additional info:

Comment 1 Jhon Honce 2013-07-26 18:16:43 UTC
Updated origin_runtime_192 is available

Comment 2 chunchen 2013-07-29 01:52:35 UTC
It's fixed, verified on fork_ami_origin_runtime_192_727.

Comment 3 openshift-github-bot 2013-08-19 22:29:49 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/fce91506209bb1b23963dc223793066189a5dcf1
WIP Node Platform - Add support for settable user variables

* Update Openshift mcollective agent and ddl
* Move gear ssh key creation to happen when gear created
* Added oo-user-var-add/remove/list commands
* Create .env/user_vars when creating gear

Bug 988759 - Failed to override the existing variables
Bug 988691 - Failed to add the 25th user variables


Note You need to log in before you can comment on or make changes to this bug.