Bug 800834

Summary: Missing library 'yaml' in '/usr/bin/rhc-admin-add-template'
Product: OKD Reporter: bzhao
Component: PodAssignee: Krishna Raman <kraman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: mfisher, mpatel, xtian
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-03-19 18:23:14 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:

Description bzhao 2012-03-07 11:17:24 UTC
Description of problem:
It will prompt the error message: "Invalid descriptor YAML: Requires:" after executing 'rhc-admin-add-template' command to create a template

Version-Release number of selected component (if applicable):
rhc-0.88.1-1.git.1.8333764.el6.noarch

How reproducible:
Always



Steps to Reproduce:
precondition
Create a quickstart template  - /tmp/foo.yaml with wrong packages

---
Vendor: unknown
Requires:
- php-xx
Architecture: noarch
Description:
License: unknown
Subscribes:
  doc-root:
    Required: false
    Type: FILESYSTEM:doc-root
Version: 0.0

1.Add a template
# rhc-admin-add-template -n wordpress -d /tmp/foo.yaml -g git://github.com/openshift/wordpress-example.git -t wordpress  -c 1  -m '{"a":"b"}'

  
Actual results:
It will prompt the error message: "Invalid descriptor YAML: Requires

Expected results:
Template could be created successfully without any error

Additional info:
workaround: add code " require 'yaml' " into /usr/bin/rhc-admin-add-template

Comment 1 Xiaoli Tian 2012-03-09 05:39:06 UTC
Move it to ON_QA, since we find the fix should be committed in devenv_1655

Comment 2 bzhao 2012-03-09 08:43:44 UTC
Passed verification against devenv 1655