Bug 804029

Summary: Template shouldn't be created successfully when specified not existing descriptor to creating a template
Product: OKD Reporter: bzhao
Component: PodAssignee: Ravi Sankar <rpenta>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: rmillner, rpenta
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-13 18:33:52 UTC Type: ---
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
developmentLog none

Description bzhao 2012-03-16 11:13:51 UTC
Description of problem:
Template could be created successfully when specified not existing descriptor to creating a template

Version-Release number of selected component (if applicable):
rhc-0.88.9-1.el6_2.noarch
rhc-broker-0.88.8-1.el6_2.noarch

How reproducible:
Always

Steps to Reproduce:
1. Add a template and specify not existing descriptor file
# rhc-admin-add-template -n wordpress -d /tmp/XXX.yaml -g
git://github.com/openshift/wordpress-example.git -t wordpress  -c 1  -m
'{"a":"b"}'
  
Actual results:
Template could be created successfully without any error

Expected results:
Template shouldn't be created successfully and it should return error message said that Not specify descriptor file or the others..

Additional info:
I have uploaded /var/www/libra/broker/log/development.log

Comment 1 bzhao 2012-03-16 11:19:02 UTC
Created attachment 570583 [details]
developmentLog

Comment 2 Ravi Sankar 2012-03-21 19:23:01 UTC
Fixed.

Comment 3 bzhao 2012-03-23 07:54:20 UTC
Passed verification on devenv 1670