Bug 800834 - Missing library 'yaml' in '/usr/bin/rhc-admin-add-template'
Summary: Missing library 'yaml' in '/usr/bin/rhc-admin-add-template'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Krishna Raman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-07 11:17 UTC by bzhao
Modified: 2015-05-15 01:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-19 18:23:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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