Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1062844 - Should give a meaningful message when creating one app with an invalid manifest file
Should give a meaningful message when creating one app with an invalid manife...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Pod (Show other bugs)
2.0.0
All All
medium Severity medium
: ---
: ---
Assigned To: Brenton Leanhardt
libra bugs
: Regression, Reopened
Depends On: 1036507
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-08 03:21 EST by Nan Wei
Modified: 2017-03-08 12 EST (History)
7 users (show)

See Also:
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.
Story Points: ---
Clone Of: 1036507
Environment:
Last Closed: 2014-02-25 10:48:08 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0209 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.0.3 bugfix and enhancement update 2014-02-25 15:40:32 EST

  None (edit)
Comment 1 Nan Wei 2014-02-08 03:33:55 EST

*** This bug has been marked as a duplicate of bug 1062655 ***
Comment 3 Brenton Leanhardt 2014-02-10 08:49:51 EST
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@redhat.com>
Date:   Tue Dec 3 14:19:48 2013 -0800

    fix bz1036507 - improve error message
Comment 7 Nan Wei 2014-02-11 03:08:48 EST
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 10:48:08 EST
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.