Bug 807529 - rhc-rest should be installed as dependency with rhc client
Summary: rhc-rest should be installed as dependency with rhc client
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 1.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: John (J5) Palmieri
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-28 04:47 UTC by Johnny Liu
Modified: 2013-03-13 04:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-13 18:33:58 UTC
Target Upstream Version:


Attachments (Terms of Use)

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)


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