Bug 1048822 - Unable to set several ENV vars at once
Summary: Unable to set several ENV vars at once
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Master
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lili Nader
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-06 11:50 UTC by Oleg Fayans
Modified: 2016-12-01 00:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-06 14:18:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error message (10.35 KB, text/html)
2014-01-06 11:50 UTC, Oleg Fayans
no flags Details

Description Oleg Fayans 2014-01-06 11:50:42 UTC
Created attachment 846048 [details]
error message

Description of problem:

When I try to set several env vars at once in a way similar to creating an app with several cartridges: 

curl -k -s -H "content-type:application/json" -u $user:$pass https://$instance/broker/rest/applications/$uuid/environment-variables -X POST -d  -d environment_variables[][name]=FOO -d environment_variables[][value]=123 -d environment_variables[][name]=BAR -d environment_variables[][value]=abc

I get an error (see attachment)

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

ami_id: ami-71370018
How reproducible:
Always

Steps to Reproduce:
1. create an app
2. try to set several env vars at once with the command listed above
3.

Actual results:
fails

Expected results:
env vars are set

Additional info:

Comment 1 Oleg Fayans 2014-01-06 14:18:06 UTC
I was unable to reproduce this for the second time


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