Bug 1048822

Summary: Unable to set several ENV vars at once
Product: OpenShift Online Reporter: Oleg Fayans <ofayans>
Component: MasterAssignee: Lili Nader <lnader>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: amarecek, mfisher
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-06 14:18:06 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:
Attachments:
Description Flags
error message none

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