Bug 1062844 - Should give a meaningful message when creating one app with an invalid manifest file
Summary: Should give a meaningful message when creating one app with an invalid manife...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 2.0.0
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On: 1036507
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-08 08:21 UTC by Nan Wei
Modified: 2017-03-08 17:36 UTC (History)
7 users (show)

Fixed In Version: rubygem-openshift-origin-controller-1.17.12.2-1.el6op
Doc Type: Bug Fix
Doc Text:
Attempting to create an application using an invalid manifest produced an unhelpful error message. This bug fix improves the exception handling so that a more helpful error message is displayed when an invalid manifest is used.
Clone Of: 1036507
Environment:
Last Closed: 2014-02-25 15:48:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0209 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.0.3 bugfix and enhancement update 2014-02-25 20:40:32 UTC

Comment 1 Nan Wei 2014-02-08 08:33:55 UTC

*** This bug has been marked as a duplicate of bug 1062655 ***

Comment 3 Brenton Leanhardt 2014-02-10 13:49:51 UTC
The upstream fix for this is trivial so I'm proposing it for 2.0.3.  It does look like the code for this in 2.1 will be completely different since we will no longer need the cartridge cache.

Upstream commit

commit a012f7e3e7231ac56759dfbdd6868f8b8781a7b3
Author: Rajat Chopra <rchopra>
Date:   Tue Dec 3 14:19:48 2013 -0800

    fix bz1036507 - improve error message

Comment 7 Nan Wei 2014-02-11 08:08:48 UTC
openshift enterprise: 2014-02-10.2

[root@br215 ~]# rhc app-create testappa https://s3-eu-west-1.amazonaws.com/cpg.openshift.cartridges/bugrepro/diy-cart/manifffest.yml
The cartridge 'https://s3-eu-west-1.amazonaws.com/cpg.openshift.cartridges/bugrepro/diy-cart/manifffest.yml' will be downloaded and installed

Application Options
-------------------
Domain:     nweidomain
Cartridges: https://s3-eu-west-1.amazonaws.com/cpg.openshift.cartridges/bugrepro/diy-cart/manifffest.yml
Gear Size:  default
Scaling:    no

Creating application 'testappa' ... Invalid cartridge, error downloading from url 'https://s3-eu-west-1.amazonaws.com/cpg.openshift.cartridges/bugrepro/diy-cart/manifffest.yml'

Comment 9 errata-xmlrpc 2014-02-25 15:48:08 UTC
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.

http://rhn.redhat.com/errata/RHBA-2014-0209.html


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