Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1063315 - unable to create an app from custom cartridge manifest via REST
Summary: unable to create an app from custom cartridge manifest via REST
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Master
Version: 1.x
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2014-02-10 13:46 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:
Last Closed: 2014-02-10 14:53:45 UTC
Target Upstream Version:

Attachments (Terms of Use)
my manifest (deleted)
2014-02-10 13:46 UTC, Oleg Fayans
no flags Details

Description Oleg Fayans 2014-02-10 13:46:43 UTC
Created attachment 861396 [details]
my manifest

Description of problem:
When I try to create an app from custom cartridge manifest, I get the following error:
The cartridge manifest at '' could not be downloaded: The cartridge manifest at '' must be smaller than 20480 bytes

The manifest's size is, however, only some 3 kilobytes

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

How reproducible:

Steps to Reproduce:
1. execute the following rest request:
curl -k -s -H "Content-Type: application/json" -u $ https://$OPENSHIFT_BROKER/broker/rest/domains/somedomain/applications -X POST -d '{"name":"app1","cartridges":{"url":""}}' | json_reformat

Actual results:
Error is returned

Expected results:
Should pass

Additional info:

Comment 1 Dan McPherson 2014-02-10 14:53:45 UTC
You need to use the raw form of the url.  Example:

On the page:

there is a button above and to the right of the content that saws RAW to link you to the contents of just the file.

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