Bug 807529

Summary: rhc-rest should be installed as dependency with rhc client
Product: OKD Reporter: Johnny Liu <jialiu>
Component: ocAssignee: John (J5) Palmieri <johnp>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.xCC: jkeck, johnp, rmillner
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:58 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 Johnny Liu 2012-03-28 04:47:46 UTC
Description of problem:
Because scaling function will be released to public, rhc-rest should be installed as dependency with rhc client so that scaling works fine.

Now when user install rhc client, rhc-rest is not be installed as dependency.

$ rhc-create-app -a phptest -t php-5.3 -s -p xx
Creating application: phptest in jialiu
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- rhc-rest (LoadError)
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
	from /usr/lib/ruby/gems/1.8/gems/rhc-0.89.7/lib/rhc-common.rb:401:in `create_app'
	from /usr/lib/ruby/gems/1.8/gems/rhc-0.89.7/bin/rhc-create-app:248
	from /usr/bin/rhc-create-app:19:in `load'
	from /usr/bin/rhc-create-app:19


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

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 John (J5) Palmieri 2012-03-29 20:54:52 UTC
Fix comming soon

Comment 2 John (J5) Palmieri 2012-03-29 21:03:50 UTC
Fixed in 0.89.9

Comment 3 Johnny Liu 2012-03-30 07:34:37 UTC
Verified this bug with rhc-0.89.10-1.el6_2.noarch, and PASS.

# yum update rhc
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package rhc.noarch 0:0.89.10-1.el6_2 set to be updated
--> Processing Dependency: rhc-rest for package: rhc-0.89.10-1.el6_2.noarch
--> Running transaction check
---> Package rhc-rest.noarch 0:0.0.7-1.git.0.6ec063c.el6_2 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
 Package                           Arch                            Version                                                 Repository                   Size
=============================================================================================================================================================
Updating:
 rhc                               noarch                          0.89.10-1.el6_2                                         li                          149 k
Installing for dependencies:
 rhc-rest                          noarch                          0.0.7-1.git.0.6ec063c.el6_2                             li                          206 k

Transaction Summary
=============================================================================================================================================================
Install       1 Package(s)
Upgrade       1 Package(s)